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

Side by Side Diff: chrome/test/data/webui/settings/device_page_tests.js

Issue 2449723002: MD Settings: Add remapping options for Backspace and Escape (Closed)
Patch Set: rebase Created 4 years, 1 month 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 unified diff | Download patch
« no previous file with comments | « chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 cr.define('device_page_tests', function() { 5 cr.define('device_page_tests', function() {
6 /** @enum {string} */ 6 /** @enum {string} */
7 var TestNames = { 7 var TestNames = {
8 DevicePage: 'device page', 8 DevicePage: 'device page',
9 Display: 'display', 9 Display: 'display',
10 Keyboard: 'keyboard', 10 Keyboard: 'keyboard',
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 remap_caps_lock_key_to: { 100 remap_caps_lock_key_to: {
101 key: 'settings.language.remap_caps_lock_key_to', 101 key: 'settings.language.remap_caps_lock_key_to',
102 type: chrome.settingsPrivate.PrefType.NUMBER, 102 type: chrome.settingsPrivate.PrefType.NUMBER,
103 value: 4, 103 value: 4,
104 }, 104 },
105 remap_diamond_key_to: { 105 remap_diamond_key_to: {
106 key: 'settings.language.remap_diamond_key_to', 106 key: 'settings.language.remap_diamond_key_to',
107 type: chrome.settingsPrivate.PrefType.NUMBER, 107 type: chrome.settingsPrivate.PrefType.NUMBER,
108 value: 3, 108 value: 3,
109 }, 109 },
110 remap_escape_key_to: {
111 key: 'settings.language.remap_escape_key_to',
112 type: chrome.settingsPrivate.PrefType.NUMBER,
113 value: 5,
114 },
115 remap_backspace_key_to: {
116 key: 'settings.language.remap_backspace_key_to',
117 type: chrome.settingsPrivate.PrefType.NUMBER,
118 value: 6,
119 },
110 send_function_keys: { 120 send_function_keys: {
111 key: 'settings.language.send_function_keys', 121 key: 'settings.language.send_function_keys',
112 type: chrome.settingsPrivate.PrefType.BOOLEAN, 122 type: chrome.settingsPrivate.PrefType.BOOLEAN,
113 value: false, 123 value: false,
114 }, 124 },
115 xkb_auto_repeat_enabled_r2: { 125 xkb_auto_repeat_enabled_r2: {
116 key: 'prefs.settings.language.xkb_auto_repeat_enabled_r2', 126 key: 'prefs.settings.language.xkb_auto_repeat_enabled_r2',
117 type: chrome.settingsPrivate.PrefType.BOOLEAN, 127 type: chrome.settingsPrivate.PrefType.BOOLEAN,
118 value: true, 128 value: true,
119 }, 129 },
(...skipping 392 matching lines...) Expand 10 before | Expand all | Expand 10 after
512 expectTrue(displayPage.showMirror_(displayPage.displays)); 522 expectTrue(displayPage.showMirror_(displayPage.displays));
513 expectTrue(displayPage.isMirrored_(displayPage.displays)); 523 expectTrue(displayPage.isMirrored_(displayPage.displays));
514 }); 524 });
515 }); 525 });
516 }); 526 });
517 527
518 return { 528 return {
519 TestNames: TestNames 529 TestNames: TestNames
520 }; 530 };
521 }); 531 });
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698