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

Unified Diff: chrome/browser/ui/webui/edit_search_engine_dialog_webui.h

Issue 8986007: Move WebUIMessageHandler to its own file in the public directory and put it in the content namesp... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years 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/webui/edit_search_engine_dialog_webui.h
===================================================================
--- chrome/browser/ui/webui/edit_search_engine_dialog_webui.h (revision 116051)
+++ chrome/browser/ui/webui/edit_search_engine_dialog_webui.h (working copy)
@@ -11,6 +11,7 @@
#include "base/memory/scoped_ptr.h"
#include "chrome/browser/ui/webui/html_dialog_ui.h"
+#include "content/public/browser/web_ui_message_handler.h"
class EditSearchEngineController;
class Profile;
@@ -36,7 +37,7 @@
virtual string16 GetDialogTitle() const OVERRIDE;
virtual GURL GetDialogContentURL() const OVERRIDE;
virtual void GetWebUIMessageHandlers(
- std::vector<WebUIMessageHandler*>* handlers) const OVERRIDE;
+ std::vector<content::WebUIMessageHandler*>* handlers) const OVERRIDE;
virtual void GetDialogSize(gfx::Size* size) const OVERRIDE;
virtual std::string GetDialogArgs() const OVERRIDE;
virtual void OnDialogClosed(const std::string& json_retval) OVERRIDE;
@@ -53,7 +54,7 @@
// EditSearchEngineDialogHandlerWebUI is the message handling component of the
// EditSearchEngineDialogWebUI. It handles messages from JavaScript, and it
// handles the closing of the dialog.
-class EditSearchEngineDialogHandlerWebUI : public WebUIMessageHandler {
+class EditSearchEngineDialogHandlerWebUI : public content::WebUIMessageHandler {
public:
EditSearchEngineDialogHandlerWebUI(const TemplateURL* template_url,
Profile* profile);
« no previous file with comments | « chrome/browser/ui/webui/downloads_dom_handler.cc ('k') | chrome/browser/ui/webui/edit_search_engine_dialog_webui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698