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

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

Issue 302573002: Add a Javascript wrapper around ServiceRegistry and expose it to WebUI. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@render-view-shell
Patch Set: address comments Created 6 years, 5 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/mojo_web_ui_controller.cc ('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 e52b59be0d85ce747b5b8a36f4f8b38642626546..a01ecd328d1aed04a93a2910b8453b6b26d2d15f 100644
--- a/chrome/browser/ui/webui/omnibox/omnibox_ui.h
+++ b/chrome/browser/ui/webui/omnibox/omnibox_ui.h
@@ -7,9 +7,10 @@
#include "base/basictypes.h"
#include "chrome/browser/ui/webui/mojo_web_ui_controller.h"
+#include "chrome/browser/ui/webui/omnibox/omnibox.mojom.h"
// The UI for chrome://omnibox/
-class OmniboxUI : public MojoWebUIController {
+class OmniboxUI : public MojoWebUIController<OmniboxUIHandlerMojo> {
public:
explicit OmniboxUI(content::WebUI* contents);
virtual ~OmniboxUI();
@@ -17,7 +18,7 @@ class OmniboxUI : public MojoWebUIController {
private:
// MojoWebUIController overrides:
virtual scoped_ptr<MojoWebUIHandler> CreateUIHandler(
- mojo::ScopedMessagePipeHandle handle_to_page) OVERRIDE;
+ mojo::InterfaceRequest<OmniboxUIHandlerMojo> request) OVERRIDE;
DISALLOW_COPY_AND_ASSIGN(OmniboxUI);
};
« no previous file with comments | « chrome/browser/ui/webui/mojo_web_ui_controller.cc ('k') | chrome/browser/ui/webui/omnibox/omnibox_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698