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

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

Issue 2740793002: Minimize the Classic API and enable it for Next (Closed)
Patch Set: Created 3 years, 9 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/command_handler.js
diff --git a/chrome/browser/resources/chromeos/chromevox/cvox2/background/command_handler.js b/chrome/browser/resources/chromeos/chromevox/cvox2/background/command_handler.js
index e7c95ba57b7e0a73400bac03148e4d814cb510f4..f37c37318f0dc822ea013835bc0c7c5e487a6a26 100644
--- a/chrome/browser/resources/chromeos/chromevox/cvox2/background/command_handler.js
+++ b/chrome/browser/resources/chromeos/chromevox/cvox2/background/command_handler.js
@@ -201,8 +201,7 @@ CommandHandler.onCommand = function(command) {
return true;
// Next/classic compat commands hereafter.
- if (ChromeVoxState.instance.mode == ChromeVoxMode.CLASSIC ||
- ChromeVoxState.instance.mode == ChromeVoxMode.NEXT_COMPAT)
+ if (ChromeVoxState.instance.mode == ChromeVoxMode.CLASSIC)
return true;
var current = ChromeVoxState.instance.currentRange_;

Powered by Google App Engine
This is Rietveld 408576698