Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(72)

Side by Side Diff: third_party/closure_compiler/externs/search_engines_private.js

Issue 1096143003: Add chrome.searchEnginesPrivate API and Search Settings page. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address nits Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
Tyler Breisacher (Chromium) 2015/04/22 19:08:20 lgtm given that this is autogenerated (at some poi
not at google - send to devlin 2015/04/22 19:32:59 That's the plan!
Oren Blasberg 2015/04/22 22:36:11 Nice :) I've updated this file after using the com
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;
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698