Index: chrome/browser/gtk/custom_button.h |
diff --git a/chrome/browser/gtk/custom_button.h b/chrome/browser/gtk/custom_button.h |
index 4cdb9a5c2c5f45e9fa6238fd0cb405190bd6bda9..d92455ab07ed597081d977483c4139108ba1aaf0 100644 |
--- a/chrome/browser/gtk/custom_button.h |
+++ b/chrome/browser/gtk/custom_button.h |
@@ -40,6 +40,7 @@ class CustomDrawButtonBase : public NotificationObserver { |
gboolean OnExpose(GtkWidget* widget, GdkEventExpose* e); |
void set_paint_override(int state) { paint_override_ = state; } |
+ int paint_override() const { return paint_override_; } |
// Provide NotificationObserver implementation. |
virtual void Observe(NotificationType type, |
@@ -135,12 +136,11 @@ class CustomDrawButton : public NotificationObserver { |
CustomDrawButtonBase button_base_; |
+ GtkThemeProvider* theme_provider_; |
+ |
// The stock icon name. |
const char* gtk_stock_name_; |
- // Whether we have an expose signal handler we may need to remove. |
- bool has_expose_signal_handler_; |
- |
// Used to listen for theme change notifications. |
NotificationRegistrar registrar_; |