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

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

Issue 159154: GTK Themes: Fixes button state on pressed back/forward buttons and toolbar items. (Closed)
Patch Set: Created 11 years, 5 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
« no previous file with comments | « no previous file | chrome/browser/gtk/custom_button.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_;
« no previous file with comments | « no previous file | chrome/browser/gtk/custom_button.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698