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

Unified Diff: components/contextual_search/contextual_search_api_service.mojom

Issue 1385663002: [Contextual Search] Add Mojo-enabled API component. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Reworked to use a new Contextual Search component and Mojo communication, removed CS Manager stuff. Created 5 years, 1 month 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: components/contextual_search/contextual_search_api_service.mojom
diff --git a/components/contextual_search/contextual_search_api_service.mojom b/components/contextual_search/contextual_search_api_service.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..a3dcb1ef5e01439855892a47299016ce63012a91
--- /dev/null
+++ b/components/contextual_search/contextual_search_api_service.mojom
@@ -0,0 +1,13 @@
+// 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 contextual_search;
+
+// This service is implemented by the browser process and is used by the
+// renderer when a Contextual Search JavaScript API function is called.
+interface ContextualSearchApiService {
+
+ // Handle the "setCaption" function.
+ HandleSetCaption(string message);
+};

Powered by Google App Engine
This is Rietveld 408576698