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

Unified Diff: chrome/browser/resources/chromeos/chromevox/common/chrome_extension_externs.js

Issue 617323002: Revert of Fix ChromeVox Next compile. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkcr
Patch Set: Created 6 years, 3 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 side-by-side diff with in-line comments
Download patch
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;

Powered by Google App Engine
This is Rietveld 408576698