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

Unified Diff: chrome/browser/ui/gtk/custom_button.h

Issue 7809007: GTK: Clean up the gtk extension infobar implementation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Get rid of stray mark. Created 9 years, 4 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/gtk/custom_button.h
diff --git a/chrome/browser/ui/gtk/custom_button.h b/chrome/browser/ui/gtk/custom_button.h
index 22b19369d6bb11a974d44dd7c88e53310fd63a48..43dcfe2881f97245abba63496d921e466578b3e7 100644
--- a/chrome/browser/ui/gtk/custom_button.h
+++ b/chrome/browser/ui/gtk/custom_button.h
@@ -158,6 +158,8 @@ class CustomDrawButton : public NotificationObserver {
void Init();
+ void ForceBrowserTheme();
Finnur 2011/08/31 08:06:59 nit: comment.
+
// Flip the image horizontally. Not to be used for RTL/LTR reasons. (In RTL
// mode, this will unflip the image.)
void set_flipped(bool flipped) { button_base_.set_flipped(flipped); }
@@ -222,6 +224,10 @@ class CustomDrawButton : public NotificationObserver {
// Our theme provider.
GtkThemeService* theme_service_;
+ // Some buttons are always drawn in chrome style because they are part of
+ // HTML extensions.
+ bool forcing_browser_theme_;
+
// Used to listen for theme change notifications.
NotificationRegistrar registrar_;
« no previous file with comments | « no previous file | chrome/browser/ui/gtk/custom_button.cc » ('j') | chrome/browser/ui/gtk/infobars/extension_infobar_gtk.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698