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

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

Issue 2092743002: Revert of Make ChromeVox Next a setting in options page. (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/chromevox/background/tabs_api_handler.js
diff --git a/chrome/browser/resources/chromeos/chromevox/chromevox/background/tabs_api_handler.js b/chrome/browser/resources/chromeos/chromevox/chromevox/background/tabs_api_handler.js
index 000462fae0ec2537cb5b89818711ef42f277bddd..d084d5bc12fd3209d86ab37eff77dfc7d0a55659 100644
--- a/chrome/browser/resources/chromeos/chromevox/chromevox/background/tabs_api_handler.js
+++ b/chrome/browser/resources/chromeos/chromevox/chromevox/background/tabs_api_handler.js
@@ -73,9 +73,7 @@
cvox.NavBraille.fromText(this.msg_('chrome_tab_created')));
}
cvox.ChromeVox.earcons.playEarcon(cvox.Earcon.OBJECT_OPEN);
- if (tab) {
- this.refreshAutomationHandler_(tab.id);
- }
+ this.refreshAutomationHandler_(tab.id);
},
/**
@@ -228,7 +226,7 @@
if (!tab)
return;
- ChromeVoxState.instance.setCurrentRange(cursors.Range.fromNode(tab));
+ global.backgroundObj.refreshMode(tab);
});
},

Powered by Google App Engine
This is Rietveld 408576698