Chromium Code Reviews| Index: chrome/browser/resources/chromeos/chromevox/common/chrome_extension_externs.js |
| diff --git a/chrome/browser/resources/chromeos/chromevox/common/chrome_extension_externs.js b/chrome/browser/resources/chromeos/chromevox/common/chrome_extension_externs.js |
| index 763267ab98a071bab86e3bc5b6a8b58654dd8dd2..701dd7cd0a49c0f4c314818ac6a67c5de5d2627e 100644 |
| --- a/chrome/browser/resources/chromeos/chromevox/common/chrome_extension_externs.js |
| +++ b/chrome/browser/resources/chromeos/chromevox/common/chrome_extension_externs.js |
| @@ -957,7 +957,7 @@ ChromeEvent.prototype.hasListener = function(callback) {}; |
| /** @return {boolean} */ |
| -ChromeEvent.prototype.hasListeners = function(callback) {}; |
| +ChromeEvent.prototype.hasListeners = function() {}; |
| /** |
| @@ -1209,3 +1209,91 @@ chrome.storage.local.remove = function(keys, opt_callback) {}; |
| * @type {ChromeEvent} |
| */ |
| chrome.storage.onChanged; |
| + |
| + |
| +/** |
| + * @const |
| + */ |
| +chrome.automation = {}; |
| + |
| +/** |
| + * @constructor |
| + */ |
| +chrome.automation.AutomationNode = function() {}; |
| + |
| + |
| +/** |
| + * @type {!Object} |
| + */ |
| +chrome.automation.AutomationNode.prototype.attributes; |
| + |
| + |
| +/** |
| + * @return {chrome.automation.AutomationNode} |
| + */ |
| +chrome.automation.AutomationNode.prototype.firstChild = function() {}; |
| + |
| + |
| +/** |
| + * @return {chrome.automation.AutomationNode} |
| + */ |
| +chrome.automation.AutomationNode.prototype.lastChild = function() {}; |
| + |
| + |
| +/** |
| + * @return {chrome.automation.AutomationNode} |
| + */ |
| +chrome.automation.AutomationNode.prototype.nextSibling = function() {}; |
| + |
| + |
| +/** |
| + * @return {chrome.automation.AutomationNode} |
| + */ |
| +chrome.automation.AutomationNode.prototype.previousSibling = function() {}; |
| + |
| + |
| +/** |
| + * @return {chrome.automation.AutomationNode} |
| + */ |
| +chrome.automation.AutomationNode.prototype.parent = function() {}; |
| + |
| + |
| +/** |
| + * @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
|
| + * @param {function(chrome.automation.AutomationNode) : void} callback |
| + * @param {boolean} capture |
| + */ |
| +chrome.automation.AutomationNode.prototype.addEventListener = |
| + function(eventType, callback, capture) {}; |
| + |
| + |
| +/** |
| + * @param {string} eventType |
| + * @param {function(chrome.automation.AutomationNode) : void} callback |
| + * @param {boolean} capture |
| + */ |
| +chrome.automation.AutomationNode.prototype.removeEventListener = |
| + function(eventType, callback, capture) {}; |
| + |
| + |
| +/** |
| + * @param {function(chrome.automation.AutomationNode)} callback |
| + */ |
| +chrome.automation.getDesktop = function(callback) {}; |
| + |
| + |
| +/** |
| + * @param {function(chrome.automation.AutomationNode)} callback |
| + */ |
| +chrome.automation.getTree = function(callback) {}; |
| + |
| +/** |
| + * @const |
| + */ |
| +chrome.commands = {}; |
| + |
| + |
| +/** |
| + * @type {ChromeEvent} |
| + */ |
| +chrome.commands.onCommand; |