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

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

Issue 2104663003: Prepare ChromeVox for webstore release. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 be3ffc717e0bbc8b173c64a5b6041c92cadcdb57..ed3bef24a1eb27b069362d7a7afd6c26f9520274 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
@@ -101,8 +101,7 @@ DesktopAutomationHandler.prototype = {
// Don't process nodes inside of web content if ChromeVox Next is inactive.
if (node.root.role != RoleType.desktop &&
ChromeVoxState.instance.mode === ChromeVoxMode.CLASSIC) {
- if (cvox.ChromeVox.isChromeOS)
- chrome.accessibilityPrivate.setFocusRing([]);
+ chrome.accessibilityPrivate.setFocusRing([]);
return;
}
@@ -400,8 +399,6 @@ DesktopAutomationHandler.prototype = {
* @private
*/
DesktopAutomationHandler.init_ = function() {
- if (cvox.ChromeVox.isMac)
- return;
chrome.automation.getDesktop(function(desktop) {
ChromeVoxState.desktopAutomationHandler =
new DesktopAutomationHandler(desktop);

Powered by Google App Engine
This is Rietveld 408576698