OLD | NEW |
(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 }; |
OLD | NEW |