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

Unified Diff: chrome/browser/ui/webui/input_window_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/input_window_dialog_webui.h
===================================================================
--- chrome/browser/ui/webui/input_window_dialog_webui.h (revision 116051)
+++ chrome/browser/ui/webui/input_window_dialog_webui.h (working copy)
@@ -12,6 +12,7 @@
#include "base/string16.h"
#include "chrome/browser/ui/input_window_dialog.h"
#include "chrome/browser/ui/webui/html_dialog_ui.h"
+#include "content/public/browser/web_ui_message_handler.h"
namespace base {
class ListValue;
@@ -39,7 +40,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;
@@ -62,7 +63,7 @@
// Dialog handler that handles calls from the JS WebUI code to validate the
// string value in the text field.
-class InputWindowDialogHandler : public WebUIMessageHandler {
+class InputWindowDialogHandler : public content::WebUIMessageHandler {
public:
explicit InputWindowDialogHandler(InputWindowDialog::Delegate* delegate);
« no previous file with comments | « chrome/browser/ui/webui/hung_renderer_dialog.cc ('k') | chrome/browser/ui/webui/input_window_dialog_webui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698