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

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

Issue 1118005: GTK: More transitions to thunk definition macros. (Closed)
Patch Set: Created 10 years, 9 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
Index: chrome/browser/gtk/external_protocol_dialog_gtk.h
diff --git a/chrome/browser/gtk/external_protocol_dialog_gtk.h b/chrome/browser/gtk/external_protocol_dialog_gtk.h
index 748739a7abe44e006595933eb5c6f8c9cd05b3eb..c77b2843ff000c50ff3b194f4746774b92d746ac 100644
--- a/chrome/browser/gtk/external_protocol_dialog_gtk.h
+++ b/chrome/browser/gtk/external_protocol_dialog_gtk.h
@@ -5,6 +5,7 @@
#ifndef CHROME_BROWSER_GTK_EXTERNAL_PROTOCOL_DIALOG_GTK_H_
#define CHROME_BROWSER_GTK_EXTERNAL_PROTOCOL_DIALOG_GTK_H_
+#include "app/gtk_signal.h"
#include "base/time.h"
#include "googleurl/src/gurl.h"
@@ -17,12 +18,7 @@ class ExternalProtocolDialogGtk {
explicit ExternalProtocolDialogGtk(const GURL& url);
private:
- static void OnDialogResponseThunk(GtkWidget* widget,
- int response,
- ExternalProtocolDialogGtk* dialog) {
- dialog->OnDialogResponse(response);
- }
- void OnDialogResponse(int response);
+ CHROMEGTK_CALLBACK_1(ExternalProtocolDialogGtk, void, OnDialogResponse, int);
GtkWidget* dialog_;
GtkWidget* checkbox_;
« no previous file with comments | « chrome/browser/gtk/bookmark_menu_controller_gtk.cc ('k') | chrome/browser/gtk/external_protocol_dialog_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698