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

Unified Diff: chrome/browser/ui/libgtkui/gtk_ui.h

Issue 2579683002: LibGtkUi: Partition NativeThemeGtk into NativeThemeGtk2 and NativeThemeGtk3 (Closed)
Patch Set: Fix lsan error Created 4 years 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 | « chrome/browser/ui/libgtkui/BUILD.gn ('k') | chrome/browser/ui/libgtkui/gtk_ui.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/libgtkui/gtk_ui.h
diff --git a/chrome/browser/ui/libgtkui/gtk_ui.h b/chrome/browser/ui/libgtkui/gtk_ui.h
index 08797212a0e22ee9dd98944528332e9696428216..24e744ecde4b5432bd7d7b770d411c1f5c37b7bb 100644
--- a/chrome/browser/ui/libgtkui/gtk_ui.h
+++ b/chrome/browser/ui/libgtkui/gtk_ui.h
@@ -146,6 +146,15 @@ class Gtk2UI : public views::LinuxUI {
// Updates |default_font_*|.
void UpdateDefaultFont();
+ // Gets a ChromeGtkFrame theme color; returns true on success. No-op on gtk3.
+ bool GetChromeStyleColor(const char* sytle_property,
+ SkColor* ret_color) const;
+
+ ui::NativeTheme* native_theme_;
+
+ // A GtkWindow object with the class "ChromeGtkFrame".
+ GtkWidget* fake_window_;
+
// Colors calculated by LoadGtkValues() that are given to the
// caller while |use_gtk_| is true.
ColorMap colors_;
« no previous file with comments | « chrome/browser/ui/libgtkui/BUILD.gn ('k') | chrome/browser/ui/libgtkui/gtk_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698