Index: chrome/browser/gtk/html_dialog_gtk.h |
diff --git a/chrome/browser/gtk/html_dialog_gtk.h b/chrome/browser/gtk/html_dialog_gtk.h |
index 250f1a03806577c8b68bdfab9912a30855123878..a7b9e139d59d3b55fc73af892c59488821616745 100644 |
--- a/chrome/browser/gtk/html_dialog_gtk.h |
+++ b/chrome/browser/gtk/html_dialog_gtk.h |
@@ -1,4 +1,4 @@ |
-// Copyright (c) 2009 The Chromium Authors. All rights reserved. |
+// Copyright (c) 2010 The Chromium Authors. All rights reserved. |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
@@ -8,6 +8,7 @@ |
#include <string> |
#include <vector> |
+#include "app/gtk_signal.h" |
#include "base/scoped_ptr.h" |
#include "chrome/browser/dom_ui/html_dialog_ui.h" |
#include "chrome/browser/dom_ui/html_dialog_tab_contents_delegate.h" |
@@ -51,8 +52,7 @@ class HtmlDialogGtk : public HtmlDialogTabContentsDelegate, |
virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event); |
private: |
- static void OnResponse(GtkWidget* widget, int response, |
- HtmlDialogGtk* dialog); |
+ CHROMEGTK_CALLBACK_1(HtmlDialogGtk, void, OnResponse, int); |
// This view is a delegate to the HTML content since it needs to get notified |
// about when the dialog is closing. For all other actions (besides dialog |