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

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

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.cc
diff --git a/chrome/browser/gtk/external_protocol_dialog_gtk.cc b/chrome/browser/gtk/external_protocol_dialog_gtk.cc
index 6be7e1a20c331c6feada4e91a80bb8d57628bc10..cee608ff9fe183ba18fb20e6e7de667be5bd8144 100644
--- a/chrome/browser/gtk/external_protocol_dialog_gtk.cc
+++ b/chrome/browser/gtk/external_protocol_dialog_gtk.cc
@@ -98,7 +98,8 @@ ExternalProtocolDialogGtk::ExternalProtocolDialogGtk(const GURL& url)
gtk_widget_show_all(dialog_);
}
-void ExternalProtocolDialogGtk::OnDialogResponse(int response) {
+void ExternalProtocolDialogGtk::OnDialogResponse(GtkWidget* widget,
+ int response) {
if (gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(checkbox_))) {
if (response == GTK_RESPONSE_ACCEPT) {
ExternalProtocolHandler::SetBlockState(
« no previous file with comments | « chrome/browser/gtk/external_protocol_dialog_gtk.h ('k') | chrome/browser/tab_contents/tab_contents_view_gtk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698