OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 /** | 5 /** |
6 * Namespace for chrome.launcherSearchProvider API. Since this API is under | 6 * Namespace for chrome.launcherSearchProvider API. Since this API is under |
7 * development and idl change may happen, we put extern file under | 7 * development and idl change may happen, we put extern file under |
8 * ui/file_manager as temporary. | 8 * ui/file_manager as temporary. |
9 */ | 9 */ |
10 chrome.launcherSearchProvider = {}; | 10 chrome.launcherSearchProvider = {}; |
11 | 11 |
12 /** | 12 /** |
13 * @param {string} queryId | 13 * @param {string} queryId |
14 * @param {Array<{itemId:string, title:string, iconUrl:?string, | 14 * @param {Array<{itemId:string, title:string, iconUrl:?string, |
15 * relevance:number}>} results | 15 * relevance:number}>} results |
16 */ | 16 */ |
17 chrome.launcherSearchProvider.setSearchResults = function(queryId, results) {}; | 17 chrome.launcherSearchProvider.setSearchResults = function(queryId, results) {}; |
18 | 18 |
19 /** | 19 /** |
20 * @type {!ChromeEvent} | 20 * @type {!ChromeEvent} |
21 */ | 21 */ |
22 chrome.launcherSearchProvider.onQueryStarted; | 22 chrome.launcherSearchProvider.onQueryStarted; |
23 | 23 |
24 /** | 24 /** |
25 * @type {!ChromeEvent} | 25 * @type {!ChromeEvent} |
26 */ | 26 */ |
27 chrome.launcherSearchProvider.onQueryEnded; | 27 chrome.launcherSearchProvider.onQueryEnded; |
| 28 |
| 29 /** |
| 30 * @type {!ChromeEvent} |
| 31 */ |
| 32 chrome.launcherSearchProvider.onOpenResult; |
OLD | NEW |