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

Unified Diff: chrome/browser/ui/gtk/find_bar_gtk.h

Issue 8607003: gtk: Convert OnFocusIn and OnFocusOut to CHROMEGTK macro in FindBarGtk. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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/ui/gtk/find_bar_gtk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/gtk/find_bar_gtk.h
diff --git a/chrome/browser/ui/gtk/find_bar_gtk.h b/chrome/browser/ui/gtk/find_bar_gtk.h
index 709d9c0be4781ba0529eae370ec1c5797aff987f..2b2cc0a7e03f45b4aa43fca0bcd65531da41b79c 100644
--- a/chrome/browser/ui/gtk/find_bar_gtk.h
+++ b/chrome/browser/ui/gtk/find_bar_gtk.h
@@ -163,11 +163,8 @@ class FindBarGtk : public FindBar,
find_bar->AdjustTextAlignment();
}
- static gboolean OnFocusIn(GtkWidget* entry, GdkEventFocus* event,
- FindBarGtk* find_bar);
-
- static gboolean OnFocusOut(GtkWidget* entry, GdkEventFocus* event,
- FindBarGtk* find_bar);
+ CHROMEGTK_CALLBACK_1(FindBarGtk, gboolean, OnFocusIn, GdkEventFocus*);
+ CHROMEGTK_CALLBACK_1(FindBarGtk, gboolean, OnFocusOut, GdkEventFocus*);
Browser* browser_;
BrowserWindowGtk* window_;
« no previous file with comments | « no previous file | chrome/browser/ui/gtk/find_bar_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698