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

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

Issue 1589623002: Keep track of accessibility focus across windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update Mac expectations Created 4 years, 10 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/desktop_automation_handler.js
diff --git a/chrome/browser/resources/chromeos/chromevox/cvox2/background/desktop_automation_handler.js b/chrome/browser/resources/chromeos/chromevox/cvox2/background/desktop_automation_handler.js
index 8b44920b0c0b13415b24091d161bc239e83f18af..f9fa548c37e7f3a1245fc1de5713d0e1348605fe 100644
--- a/chrome/browser/resources/chromeos/chromevox/cvox2/background/desktop_automation_handler.js
+++ b/chrome/browser/resources/chromeos/chromevox/cvox2/background/desktop_automation_handler.js
@@ -49,6 +49,10 @@ DesktopAutomationHandler = function(node) {
type: chrome.automation.EventType.loadComplete});
}
}
+
David Tseng 2016/02/17 23:55:56 No need for the load complete logic above now?
dmazzoni 2016/02/18 23:56:36 Agreed, let's try removing it in a follow-up.
+ var focus = chrome.automation.getFocus();
+ if (focus)
+ this.onFocus({target: focus, type: 'focus'});
};
DesktopAutomationHandler.prototype = {

Powered by Google App Engine
This is Rietveld 408576698