Index: third_party/closure_compiler/externs/search_engines_private.js |
diff --git a/third_party/closure_compiler/externs/search_engines_private.js b/third_party/closure_compiler/externs/search_engines_private.js |
new file mode 100644 |
index 0000000000000000000000000000000000000000..13771da1c4437d1e3c504bf72eb30bab6a1eed12 |
--- /dev/null |
+++ b/third_party/closure_compiler/externs/search_engines_private.js |
@@ -0,0 +1,42 @@ |
+// 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
|
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+/** |
+ * @fileoverview Externs generated from namespace: searchEnginesPrivate |
+ * @externs |
+ */ |
+ |
+/** |
+ * @const |
+ */ |
+chrome.searchEnginesPrivate = {}; |
+ |
+/** |
+ * @typedef {{ |
+ * guid: string, |
+ * name: string, |
+ * isDefault: boolean |
+ * }} |
+ */ |
+chrome.searchEnginesPrivate.SearchEngine; |
+ |
+/** |
+ * @typedef {function(!Array<!chrome.searchEnginesPrivate.SearchEngine>)} |
+ */ |
+chrome.searchEnginesPrivate.SearchEnginesCallback; |
+ |
+/** |
+ * Gets all the non-custom search engines. |
+ * @param {chrome.searchEnginesPrivate.SearchEnginesCallback} callback |
+ */ |
+chrome.searchEnginesPrivate.getDefaultSearchEngines = function(callback) {}; |
+ |
+/** |
+ * Sets the default search engine. |
+ * @param {string} guid |
+ */ |
+chrome.searchEnginesPrivate.setDefaultSearchEngine = function(guid) {}; |
+ |
+/** @type {!ChromeEvent} */ |
+chrome.searchEnginesPrivate.onSearchEnginesChanged; |