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

Unified Diff: chrome/browser/ui/libgtk2ui/gtk2_ui.cc

Issue 12395034: Write a NativeThemeGtk2 class for linux_aura. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove a bunch of colors Created 7 years, 10 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
Index: chrome/browser/ui/libgtk2ui/gtk2_ui.cc
diff --git a/chrome/browser/ui/libgtk2ui/gtk2_ui.cc b/chrome/browser/ui/libgtk2ui/gtk2_ui.cc
index dff58873b4ae3ce371a24a0dd41d879916390c9f..7f8e18fad311f6f9571668f3f6d72ea6d4d6f1f0 100644
--- a/chrome/browser/ui/libgtk2ui/gtk2_ui.cc
+++ b/chrome/browser/ui/libgtk2ui/gtk2_ui.cc
@@ -14,6 +14,7 @@
#include "chrome/browser/themes/theme_properties.h"
#include "chrome/browser/ui/libgtk2ui/chrome_gtk_frame.h"
#include "chrome/browser/ui/libgtk2ui/gtk2_util.h"
+#include "chrome/browser/ui/libgtk2ui/native_theme_gtk2.h"
#include "chrome/browser/ui/libgtk2ui/select_file_dialog_impl.h"
#include "chrome/browser/ui/libgtk2ui/skia_utils_gtk2.h"
#include "grit/theme_resources.h"
@@ -335,7 +336,7 @@ bool Gtk2UI::GetColor(int id, SkColor* color) const {
}
ui::NativeTheme* Gtk2UI::GetNativeTheme() const {
- return NULL;
+ return NativeThemeGtk2::instance();
}
ui::SelectFileDialog* Gtk2UI::CreateSelectFileDialog(
« no previous file with comments | « no previous file | chrome/browser/ui/libgtk2ui/libgtk2ui.gyp » ('j') | chrome/browser/ui/libgtk2ui/native_theme_gtk2.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698