OLD | NEW |
---|---|
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 /** | 6 /** |
7 * @fileoverview Definitions for the Chromium extensions API used by ChromeVox. | 7 * @fileoverview Definitions for the Chromium extensions API used by ChromeVox. |
8 * | 8 * |
9 * @externs | 9 * @externs |
10 */ | 10 */ |
(...skipping 939 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
950 | 950 |
951 | 951 |
952 /** | 952 /** |
953 * @param {Function} callback | 953 * @param {Function} callback |
954 * @return {boolean} | 954 * @return {boolean} |
955 */ | 955 */ |
956 ChromeEvent.prototype.hasListener = function(callback) {}; | 956 ChromeEvent.prototype.hasListener = function(callback) {}; |
957 | 957 |
958 | 958 |
959 /** @return {boolean} */ | 959 /** @return {boolean} */ |
960 ChromeEvent.prototype.hasListeners = function(callback) {}; | 960 ChromeEvent.prototype.hasListeners = function() {}; |
961 | 961 |
962 | 962 |
963 /** | 963 /** |
964 * @constructor | 964 * @constructor |
965 */ | 965 */ |
966 function Port() {} | 966 function Port() {} |
967 | 967 |
968 | 968 |
969 /** @type {string} */ | 969 /** @type {string} */ |
970 Port.prototype.name; | 970 Port.prototype.name; |
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1202 * @param {string|!Object|null} keys | 1202 * @param {string|!Object|null} keys |
1203 * @param {function()=} opt_callback | 1203 * @param {function()=} opt_callback |
1204 */ | 1204 */ |
1205 chrome.storage.local.remove = function(keys, opt_callback) {}; | 1205 chrome.storage.local.remove = function(keys, opt_callback) {}; |
1206 | 1206 |
1207 | 1207 |
1208 /** | 1208 /** |
1209 * @type {ChromeEvent} | 1209 * @type {ChromeEvent} |
1210 */ | 1210 */ |
1211 chrome.storage.onChanged; | 1211 chrome.storage.onChanged; |
1212 | |
1213 | |
1214 /** | |
1215 * @const | |
1216 */ | |
1217 chrome.automation = {}; | |
1218 | |
1219 /** | |
1220 * @constructor | |
1221 */ | |
1222 chrome.automation.AutomationNode = function() {}; | |
1223 | |
1224 | |
1225 /** | |
1226 * @type {!Object} | |
1227 */ | |
1228 chrome.automation.AutomationNode.prototype.attributes; | |
1229 | |
1230 | |
1231 /** | |
1232 * @return {chrome.automation.AutomationNode} | |
1233 */ | |
1234 chrome.automation.AutomationNode.prototype.firstChild = function() {}; | |
1235 | |
1236 | |
1237 /** | |
1238 * @return {chrome.automation.AutomationNode} | |
1239 */ | |
1240 chrome.automation.AutomationNode.prototype.lastChild = function() {}; | |
1241 | |
1242 | |
1243 /** | |
1244 * @return {chrome.automation.AutomationNode} | |
1245 */ | |
1246 chrome.automation.AutomationNode.prototype.nextSibling = function() {}; | |
1247 | |
1248 | |
1249 /** | |
1250 * @return {chrome.automation.AutomationNode} | |
1251 */ | |
1252 chrome.automation.AutomationNode.prototype.previousSibling = function() {}; | |
1253 | |
1254 | |
1255 /** | |
1256 * @return {chrome.automation.AutomationNode} | |
1257 */ | |
1258 chrome.automation.AutomationNode.prototype.parent = function() {}; | |
1259 | |
1260 | |
1261 /** | |
1262 * @param {string} eventType | |
Peter Lundblad
2014/10/01 08:55:07
Could this be refering to an EventType enum isntea
David Tseng
2014/10/01 16:18:13
We don't want to include all of the EventTypes ins
| |
1263 * @param {function(chrome.automation.AutomationNode) : void} callback | |
1264 * @param {boolean} capture | |
1265 */ | |
1266 chrome.automation.AutomationNode.prototype.addEventListener = | |
1267 function(eventType, callback, capture) {}; | |
1268 | |
1269 | |
1270 /** | |
1271 * @param {string} eventType | |
1272 * @param {function(chrome.automation.AutomationNode) : void} callback | |
1273 * @param {boolean} capture | |
1274 */ | |
1275 chrome.automation.AutomationNode.prototype.removeEventListener = | |
1276 function(eventType, callback, capture) {}; | |
1277 | |
1278 | |
1279 /** | |
1280 * @param {function(chrome.automation.AutomationNode)} callback | |
1281 */ | |
1282 chrome.automation.getDesktop = function(callback) {}; | |
1283 | |
1284 | |
1285 /** | |
1286 * @param {function(chrome.automation.AutomationNode)} callback | |
1287 */ | |
1288 chrome.automation.getTree = function(callback) {}; | |
1289 | |
1290 /** | |
1291 * @const | |
1292 */ | |
1293 chrome.commands = {}; | |
1294 | |
1295 | |
1296 /** | |
1297 * @type {ChromeEvent} | |
1298 */ | |
1299 chrome.commands.onCommand; | |
OLD | NEW |