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

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

Issue 2649373002: Re-land: Update json_schema_compiler to handle the Automation extension API (Closed)
Patch Set: Fix presubmit Created 3 years, 11 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/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..de18ba92835a97a99119e1abe76ccbfe833f4c0f 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
@@ -22,13 +22,13 @@ AutomationObjectConstructorInstaller.init = function(node, callback) {
chrome.automation.AutomationNode =
/** @type {function (new:chrome.automation.AutomationNode)} */(
node.constructor);
- node.addEventListener(chrome.automation.EventType.childrenChanged,
+ node.addEventListener(chrome.automation.EventType.CHILDREN_CHANGED,
function installAutomationEvent(e) {
chrome.automation.AutomationEvent =
/** @type {function (new:chrome.automation.AutomationEvent)} */(
e.constructor);
node.removeEventListener(
- chrome.automation.EventType.childrenChanged,
+ chrome.automation.EventType.CHILDREN_CHANGED,
installAutomationEvent,
true);
callback();

Powered by Google App Engine
This is Rietveld 408576698