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 701dd7cd0a49c0f4c314818ac6a67c5de5d2627e..763267ab98a071bab86e3bc5b6a8b58654dd8dd2 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 @@ |
/** @return {boolean} */ |
-ChromeEvent.prototype.hasListeners = function() {}; |
+ChromeEvent.prototype.hasListeners = function(callback) {}; |
/** |
@@ -1209,91 +1209,3 @@ |
* @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 |
- * @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; |