| Index: components/contextual_search/common/contextual_search_js_api_service.mojom
|
| diff --git a/components/contextual_search/common/contextual_search_js_api_service.mojom b/components/contextual_search/common/contextual_search_js_api_service.mojom
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..93cd09d4ca286147e52b90e58f97ef08eade6fb9
|
| --- /dev/null
|
| +++ b/components/contextual_search/common/contextual_search_js_api_service.mojom
|
| @@ -0,0 +1,15 @@
|
| +// 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 ContextualSearchJsApiService {
|
| +
|
| + // Handle a call from the JS API to set the caption, and indicate whether
|
| + // the caption provides an answer (such as an actual definition), rather than
|
| + // just general notification of what kind of answer may be available.
|
| + HandleSetCaption(string message, bool does_answer);
|
| +};
|
|
|