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

Side by Side Diff: components/contextual_search/common/contextual_search_js_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: Added a few more missing dependencies to the new component's BUILD.gn rules for our renderer sectio… Created 5 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 module contextual_search;
6
7 // This service is implemented by the browser process and is used by the
8 // renderer when a Contextual Search JavaScript API function is called.
9 interface ContextualSearchJsApiService {
10
11 // Handle a call from the JS API to set the caption, and indicate whether
12 // the caption provides an answer (such as an actual definition), rather than
13 // just general notification of what kind of answer may be available.
14 HandleSetCaption(string message, bool does_answer);
15 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698