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) { |
+}; |