Chromium Code Reviews| Index: components/contextual_search/common/contextual_search_api_service.mojom |
| diff --git a/components/contextual_search/common/contextual_search_api_service.mojom b/components/contextual_search/common/contextual_search_api_service.mojom |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..d300526f225df64373b60e34fe55e29d405fc2e7 |
| --- /dev/null |
| +++ b/components/contextual_search/common/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 { |
|
mdjones
2015/11/19 20:31:24
I would consider adding "js" or "javascript" somew
Donn Denman
2015/11/20 00:01:41
I wasn't sure, with everything we went through, th
|
| + |
| + // Handle a call from the JS API to set the caption. |
| + HandleSetCaption(string message); |
| +}; |