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

Unified Diff: chrome/browser/ui/gtk/keyword_editor_view.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/keyword_editor_view.h
diff --git a/chrome/browser/ui/gtk/keyword_editor_view.h b/chrome/browser/ui/gtk/keyword_editor_view.h
index 7a6a7bd8195924c5d9ed466127088db4115c2eff..0bc68b51384cde55a8e51c44c997457123097f86 100644
--- a/chrome/browser/ui/gtk/keyword_editor_view.h
+++ b/chrome/browser/ui/gtk/keyword_editor_view.h
@@ -14,6 +14,7 @@
#include "base/string16.h"
#include "chrome/browser/search_engines/template_url_model_observer.h"
#include "chrome/browser/ui/search_engines/edit_search_engine_controller.h"
+#include "ui/base/gtk/gtk_signal.h"
#include "ui/base/models/table_model_observer.h"
class KeywordEditorController;
@@ -89,8 +90,7 @@ class KeywordEditorView : public ui::TableModelObserver,
static void OnWindowDestroy(GtkWidget* widget, KeywordEditorView* window);
// Callback for dialog buttons.
- static void OnResponse(GtkDialog* dialog, int response_id,
- KeywordEditorView* window);
+ CHROMEGTK_CALLBACK_1(KeywordEditorView, void, OnResponse, int);
// Callback checking whether a row should be drawn as a separator.
static gboolean OnCheckRowIsSeparator(GtkTreeModel* model,

Powered by Google App Engine
This is Rietveld 408576698