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

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

Issue 6627038: gtk: Rename OnDialogResponse() to OnResponse() to standardize on a consistent naming scheme. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 10 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/ui/gtk/process_singleton_dialog.h
diff --git a/chrome/browser/ui/gtk/process_singleton_dialog.h b/chrome/browser/ui/gtk/process_singleton_dialog.h
index e46803e8e3eeaa83329d40d3434582383a5e5515..76194c11519f24db741c8277add12ad65b258483 100644
--- a/chrome/browser/ui/gtk/process_singleton_dialog.h
+++ b/chrome/browser/ui/gtk/process_singleton_dialog.h
@@ -8,9 +8,10 @@
#include <string>
-#include <gtk/gtk.h>
-
#include "base/basictypes.h"
+#include "ui/base/gtk/gtk_signal.h"
+
+typedef struct _GtkWidget GtkWidget;
// Displays an error to the user when the ProcessSingleton cannot acquire the
// lock. This runs the message loop itself as the browser message loop has not
@@ -23,9 +24,7 @@ class ProcessSingletonDialog {
private:
explicit ProcessSingletonDialog(const std::string& message);
- static void OnResponse(GtkWidget* widget,
- int response,
- ProcessSingletonDialog* dialog);
+ CHROMEGTK_CALLBACK_1(ProcessSingletonDialog, void, OnResponse, int);
GtkWidget* dialog_;

Powered by Google App Engine
This is Rietveld 408576698