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

Unified Diff: chrome/browser/gtk/options/content_page_gtk.h

Issue 289007: GTK: disable theme buttons in options dialog when we are already using that t... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 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/options/content_page_gtk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/gtk/options/content_page_gtk.h
===================================================================
--- chrome/browser/gtk/options/content_page_gtk.h (revision 29332)
+++ chrome/browser/gtk/options/content_page_gtk.h (working copy)
@@ -24,6 +24,14 @@
// Overridden from OptionsPageBase.
virtual void NotifyPrefChanged(const std::wstring* pref_name);
+ // Overridden from OptionsPageBase.
+ virtual void Observe(NotificationType type,
+ const NotificationSource& source,
+ const NotificationDetails& details);
+
+ // Update content area after a theme changed.
+ void ObserveThemeChanged();
+
// Initialize the option group widgets, return their container.
GtkWidget* InitPasswordSavingGroup();
GtkWidget* InitFormAutofillGroup();
@@ -76,6 +84,10 @@
// Widgets for the Appearance group.
GtkWidget* system_title_bar_show_radio_;
GtkWidget* system_title_bar_hide_radio_;
+ GtkWidget* themes_reset_button_;
+#if defined(TOOLKIT_GTK)
+ GtkWidget* gtk_theme_button_;
+#endif
// The parent GtkTable widget
GtkWidget* page_;
@@ -89,6 +101,8 @@
// then turning around and saving them again.
bool initializing_;
+ NotificationRegistrar registrar_;
+
DISALLOW_COPY_AND_ASSIGN(ContentPageGtk);
};
« no previous file with comments | « no previous file | chrome/browser/gtk/options/content_page_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698