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

Unified Diff: chrome/browser/resources/chromeos/switch_access/auto_scan_manager_unittest.gtestjs

Issue 2939133004: Added to options page to let users change keyboard mappings. (Closed)
Patch Set: Fixed merge conflict and formatting error 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/auto_scan_manager_unittest.gtestjs
diff --git a/chrome/browser/resources/chromeos/switch_access/auto_scan_manager_unittest.gtestjs b/chrome/browser/resources/chromeos/switch_access/auto_scan_manager_unittest.gtestjs
index d2b79fa36eebc1156423fc686b2c5b2b926f25a1..9b89b5dbe0101ae4e3ed1d8c8739d7bd81b3bbd7 100644
--- a/chrome/browser/resources/chromeos/switch_access/auto_scan_manager_unittest.gtestjs
+++ b/chrome/browser/resources/chromeos/switch_access/auto_scan_manager_unittest.gtestjs
@@ -8,12 +8,11 @@
*/
function FakeSwitchAccess() {
this.moveToNextCount = 0;
- this.switchAccessPrefs = {};
- this.switchAccessPrefs.getNumberPref = function(key) {
+ this.getNumberPref = function(key) {
if (key === 'autoScanTime')
return 1;
};
- this.switchAccessPrefs.getBooleanPref = function(key) {
+ this.getBooleanPref = function(key) {
if (key === 'enableAutoScan')
return false;
};

Powered by Google App Engine
This is Rietveld 408576698