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

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

Issue 2066633002: Bind key for toggleBrailleCaptions (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
« no previous file with comments | « chrome/browser/resources/chromeos/chromevox/chromevox/background/keymaps/next_keymap.json ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 347460328ff598acc735cf3b781d78a3e9c7ea16..f54bbe3c4a98974866aba8989211c5d512ad3615 100644
--- a/chrome/browser/resources/chromeos/chromevox/cvox2/background/background.js
+++ b/chrome/browser/resources/chromeos/chromevox/cvox2/background/background.js
@@ -791,6 +791,10 @@ Background.prototype = {
url += key + ':%20' + description[key] + '%0a';
chrome.tabs.create({url: url});
return false;
+ case 'toggleBrailleCaptions':
+ cvox.BrailleCaptionsBackground.setActive(
+ !cvox.BrailleCaptionsBackground.isEnabled());
+ return false;
default:
return true;
}
« no previous file with comments | « chrome/browser/resources/chromeos/chromevox/chromevox/background/keymaps/next_keymap.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698