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

Unified Diff: chrome/browser/ui/webui/omnibox/omnibox_ui.h

Issue 222543004: Makes chrome://omnibox use mojo (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: get working with mojo changes Created 6 years, 8 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
« no previous file with comments | « chrome/browser/ui/webui/omnibox/omnibox.mojom ('k') | chrome/browser/ui/webui/omnibox/omnibox_ui.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/omnibox/omnibox_ui.h
diff --git a/chrome/browser/ui/webui/omnibox/omnibox_ui.h b/chrome/browser/ui/webui/omnibox/omnibox_ui.h
index d8a17ba31952a68323b0bd5eed85a4b20376aa67..e52b59be0d85ce747b5b8a36f4f8b38642626546 100644
--- a/chrome/browser/ui/webui/omnibox/omnibox_ui.h
+++ b/chrome/browser/ui/webui/omnibox/omnibox_ui.h
@@ -6,15 +6,19 @@
#define CHROME_BROWSER_UI_WEBUI_OMNIBOX_OMNIBOX_UI_H_
#include "base/basictypes.h"
-#include "content/public/browser/web_ui_controller.h"
+#include "chrome/browser/ui/webui/mojo_web_ui_controller.h"
// The UI for chrome://omnibox/
-class OmniboxUI : public content::WebUIController {
+class OmniboxUI : public MojoWebUIController {
public:
explicit OmniboxUI(content::WebUI* contents);
virtual ~OmniboxUI();
private:
+ // MojoWebUIController overrides:
+ virtual scoped_ptr<MojoWebUIHandler> CreateUIHandler(
+ mojo::ScopedMessagePipeHandle handle_to_page) OVERRIDE;
+
DISALLOW_COPY_AND_ASSIGN(OmniboxUI);
};
« no previous file with comments | « chrome/browser/ui/webui/omnibox/omnibox.mojom ('k') | chrome/browser/ui/webui/omnibox/omnibox_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698