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

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

Issue 2345002: GTK: More signal macro usage. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Created 10 years, 7 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/gtk_theme_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/gtk/gtk_theme_provider.h
diff --git a/chrome/browser/gtk/gtk_theme_provider.h b/chrome/browser/gtk/gtk_theme_provider.h
index 17059bbb9fdfdcdd5db99f0d71d3570b973fa40b..aca0cd9c3adcb82458bb1654875f42dcd0830600 100644
--- a/chrome/browser/gtk/gtk_theme_provider.h
+++ b/chrome/browser/gtk/gtk_theme_provider.h
@@ -130,11 +130,6 @@ class GtkThemeProvider : public BrowserThemeProvider,
// Additionally frees the CairoCachedSurfaces.
virtual void FreePlatformCaches();
- // Handles signal from GTK that our theme has been changed.
- static void OnStyleSet(GtkWidget* widget,
- GtkStyle* previous_style,
- GtkThemeProvider* provider);
-
// Extracts colors and tints from the GTK theme, both for the
// BrowserThemeProvider interface and the colors we send to webkit.
void LoadGtkValues();
@@ -178,6 +173,9 @@ class GtkThemeProvider : public BrowserThemeProvider,
// entry.
void GetSelectedEntryForegroundHSL(color_utils::HSL* tint) const;
+ // Handles signal from GTK that our theme has been changed.
+ CHROMEGTK_CALLBACK_1(GtkThemeProvider, void, OnStyleSet, GtkStyle*);
+
// A notification from the GtkChromeButton GObject destructor that we should
// remove it from our internal list.
CHROMEGTK_CALLBACK_0(GtkThemeProvider, void, OnDestroyChromeButton);
« no previous file with comments | « no previous file | chrome/browser/gtk/gtk_theme_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698