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

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

Issue 613223003: Fix ChromeVox Next compile. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkcr
Patch Set: Reland cl. 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 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
+ * @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