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

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

Issue 599193002: Only inject ChromeVox classic when necessary. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@command_prev_next
Patch Set: Address comment. Created 6 years, 3 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/background.js
diff --git a/chrome/browser/resources/chromeos/chromevox/cvox2/background/background.js b/chrome/browser/resources/chromeos/chromevox/cvox2/background/background.js
index b71d9db88eb05aa792402a95453ee392a7bbd4f8..59332708d473811883ef90c5345fb823e0a2faf2 100644
--- a/chrome/browser/resources/chromeos/chromevox/cvox2/background/background.js
+++ b/chrome/browser/resources/chromeos/chromevox/cvox2/background/background.js
@@ -72,6 +72,7 @@ cvox2.Background.prototype = {
if (!this.isWhitelisted_(tab.url)) {
chrome.commands.onCommand.removeListener(this.onGotCommand);
+ cvox.ChromeVox.background.injectChromeVoxIntoTabs([tab], true);
return;
}

Powered by Google App Engine
This is Rietveld 408576698