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

Unified Diff: chrome/browser/resources/chromeos/switch_access/switch_access.js

Issue 2939133004: Added to options page to let users change keyboard mappings. (Closed)
Patch Set: Missing semicolon Created 3 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/switch_access/switch_access.js
diff --git a/chrome/browser/resources/chromeos/switch_access/switch_access.js b/chrome/browser/resources/chromeos/switch_access/switch_access.js
index eccde6e55f52e950a17664d416647383d876f95d..d73b2cc87b94f2ca805f8ee8bdc54478387cb34b 100644
--- a/chrome/browser/resources/chromeos/switch_access/switch_access.js
+++ b/chrome/browser/resources/chromeos/switch_access/switch_access.js
@@ -120,6 +120,9 @@ SwitchAccess.prototype = {
case 'autoScanTime':
this.autoScanManager_.setScanTime(updatedPrefs[key]);
break;
+ default:
+ if (this.switchAccessPrefs.getCommands().includes(key))
+ this.keyboardHandler_.updateSwitchAccessKeys();
}
}
},

Powered by Google App Engine
This is Rietveld 408576698