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 /** |
| 6 * @fileoverview Externs generated from namespace: searchEnginesPrivate |
| 7 * @externs |
| 8 */ |
| 9 |
| 10 /** |
| 11 * @const |
| 12 */ |
| 13 chrome.searchEnginesPrivate = {}; |
| 14 |
| 15 /** |
| 16 * @typedef {{ |
| 17 * guid: string, |
| 18 * name: string, |
| 19 * isDefault: boolean |
| 20 * }} |
| 21 */ |
| 22 chrome.searchEnginesPrivate.SearchEngine; |
| 23 |
| 24 /** |
| 25 * @typedef {function(!Array<!chrome.searchEnginesPrivate.SearchEngine>)} |
| 26 */ |
| 27 chrome.searchEnginesPrivate.SearchEnginesCallback; |
| 28 |
| 29 /** |
| 30 * Gets all the non-custom search engines. |
| 31 * @param {chrome.searchEnginesPrivate.SearchEnginesCallback} callback |
| 32 */ |
| 33 chrome.searchEnginesPrivate.getDefaultSearchEngines = function(callback) {}; |
| 34 |
| 35 /** |
| 36 * Sets the default search engine. |
| 37 * @param {string} guid |
| 38 */ |
| 39 chrome.searchEnginesPrivate.setDefaultSearchEngine = function(guid) {}; |
| 40 |
| 41 /** @type {!ChromeEvent} */ |
| 42 chrome.searchEnginesPrivate.onSearchEnginesChanged; |
OLD | NEW |