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

Unified Diff: chrome/browser/resources/chromeos/chromevox/cvox2/background/automation_object_constructor_installer.js

Issue 2584513006: Split out non-auto-generatable externs from auto generated ones. (Closed)
Patch Set: Use bound enum values. Created 4 years 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
« no previous file with comments | « no previous file | chrome/browser/resources/chromeos/chromevox/cvox2/background/base_automation_handler.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/chromeos/chromevox/cvox2/background/automation_object_constructor_installer.js
diff --git a/chrome/browser/resources/chromeos/chromevox/cvox2/background/automation_object_constructor_installer.js b/chrome/browser/resources/chromeos/chromevox/cvox2/background/automation_object_constructor_installer.js
index cdb5e93ec187fee0a9f273fb3740da6a3672e90a..91bffac04d46af4f84d7375a25d492909849949f 100644
--- a/chrome/browser/resources/chromeos/chromevox/cvox2/background/automation_object_constructor_installer.js
+++ b/chrome/browser/resources/chromeos/chromevox/cvox2/background/automation_object_constructor_installer.js
@@ -11,6 +11,7 @@
*/
goog.provide('AutomationObjectConstructorInstaller');
+goog.provide('ChromeVoxAutomationEvent');
/**
* Installs the AutomationNode and AutomationEvent classes based on an
@@ -24,8 +25,8 @@ AutomationObjectConstructorInstaller.init = function(node, callback) {
node.constructor);
node.addEventListener(chrome.automation.EventType.childrenChanged,
function installAutomationEvent(e) {
- chrome.automation.AutomationEvent =
- /** @type {function (new:chrome.automation.AutomationEvent)} */(
+ window.ChromeVoxAutomationEvent =
+ /** @type {function (new:ChromeVoxAutomationEvent)} */(
e.constructor);
node.removeEventListener(
chrome.automation.EventType.childrenChanged,
@@ -35,3 +36,12 @@ AutomationObjectConstructorInstaller.init = function(node, callback) {
},
true);
};
+
+/**
+ * @param {chrome.automation.EventType} eventType
+ * @param {chrome.automation.AutomationNode} node
+ * @param {string} eventFrom
+ * @constructor
+ */
+ChromeVoxAutomationEvent = function(eventType, node, eventFrom) {
+};
« no previous file with comments | « no previous file | chrome/browser/resources/chromeos/chromevox/cvox2/background/base_automation_handler.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698