Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(231)

Unified Diff: ui/base/default_theme_provider.cc

Issue 15240002: Cross-platform DefaultThemeProvider. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address review comment. Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/base/default_theme_provider.h ('k') | ui/base/default_theme_provider_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/default_theme_provider.cc
diff --git a/ui/views/widget/default_theme_provider.cc b/ui/base/default_theme_provider.cc
similarity index 80%
rename from ui/views/widget/default_theme_provider.cc
rename to ui/base/default_theme_provider.cc
index a04b5bf135fc81fdd3804d049e7beafd0d189ebb..e60c90029ce9c683589ffdc77b238cd8e43d627a 100644
--- a/ui/views/widget/default_theme_provider.cc
+++ b/ui/base/default_theme_provider.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "ui/views/widget/default_theme_provider.h"
+#include "ui/base/default_theme_provider.h"
#include "ui/base/resource/resource_bundle.h"
#include "ui/gfx/image/image_skia.h"
@@ -11,7 +11,7 @@
#include "ui/base/win/shell.h"
#endif
-namespace views {
+namespace ui {
DefaultThemeProvider::DefaultThemeProvider() {}
@@ -48,4 +48,10 @@ base::RefCountedMemory* DefaultThemeProvider::GetRawData(
return NULL;
}
-} // namespace views
+#if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(TOOLKIT_VIEWS) && !defined(OS_ANDROID)
+GdkPixbuf* DefaultThemeProvider::GetRTLEnabledPixbufNamed(int id) const {
+ return NULL;
+}
+#endif
+
+} // namespace ui
« no previous file with comments | « ui/base/default_theme_provider.h ('k') | ui/base/default_theme_provider_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698