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_; |