| 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..fa7cc95a110eaf94f974795f6cce042e9405c0b7 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
|
| @@ -11,6 +11,7 @@ goog.provide('DesktopAutomationHandler');
|
| goog.require('AutomationObjectConstructorInstaller');
|
| goog.require('BaseAutomationHandler');
|
| goog.require('ChromeVoxState');
|
| +goog.require('Stubs');
|
| goog.require('editing.TextEditHandler');
|
|
|
| goog.scope(function() {
|
| @@ -101,8 +102,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 +400,6 @@ DesktopAutomationHandler.prototype = {
|
| * @private
|
| */
|
| DesktopAutomationHandler.init_ = function() {
|
| - if (cvox.ChromeVox.isMac)
|
| - return;
|
| chrome.automation.getDesktop(function(desktop) {
|
| ChromeVoxState.desktopAutomationHandler =
|
| new DesktopAutomationHandler(desktop);
|
|
|