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

Unified Diff: mandoline/ui/browser/omnibox.mojom

Issue 1133893003: Omnibox app (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 7 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 | « mandoline/ui/browser/desktop/desktop_ui.cc ('k') | mandoline/ui/omnibox/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mandoline/ui/browser/omnibox.mojom
diff --git a/mandoline/ui/browser/omnibox.mojom b/mandoline/ui/browser/omnibox.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..b69b543ae6f7a0fad2b0530ba599ccf93696fde3
--- /dev/null
+++ b/mandoline/ui/browser/omnibox.mojom
@@ -0,0 +1,20 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+module mandoline;
+
+// TODO(beng): Could this be generalized as a "Chooser" with a specific type??
+
+// Interface implemented by the browser to respond to input from the omnibox
+// app.
+interface OmniboxClient {
+ OpenURL(string url);
+};
+
+// Interface implemented by an application providing a method for URL input.
+interface Omnibox {
+ SetClient(OmniboxClient client);
+
+ ShowForURL(string url);
+};
« no previous file with comments | « mandoline/ui/browser/desktop/desktop_ui.cc ('k') | mandoline/ui/omnibox/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698