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

Side by Side Diff: chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc

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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 #include "chrome/browser/ui/webui/settings/md_settings_localized_strings_provide r.h" 5 #include "chrome/browser/ui/webui/settings/md_settings_localized_strings_provide r.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/i18n/number_formatting.h" 10 #include "base/i18n/number_formatting.h"
(...skipping 509 matching lines...) Expand 10 before | Expand all | Expand 10 after
520 arraysize(pointers_strings)); 520 arraysize(pointers_strings));
521 521
522 LocalizedString keyboard_strings[] = { 522 LocalizedString keyboard_strings[] = {
523 {"keyboardTitle", IDS_SETTINGS_KEYBOARD_TITLE}, 523 {"keyboardTitle", IDS_SETTINGS_KEYBOARD_TITLE},
524 {"keyboardKeySearch", IDS_SETTINGS_KEYBOARD_KEY_SEARCH}, 524 {"keyboardKeySearch", IDS_SETTINGS_KEYBOARD_KEY_SEARCH},
525 {"keyboardKeyCtrl", IDS_SETTINGS_KEYBOARD_KEY_LEFT_CTRL}, 525 {"keyboardKeyCtrl", IDS_SETTINGS_KEYBOARD_KEY_LEFT_CTRL},
526 {"keyboardKeyAlt", IDS_SETTINGS_KEYBOARD_KEY_LEFT_ALT}, 526 {"keyboardKeyAlt", IDS_SETTINGS_KEYBOARD_KEY_LEFT_ALT},
527 {"keyboardKeyCapsLock", IDS_SETTINGS_KEYBOARD_KEY_CAPS_LOCK}, 527 {"keyboardKeyCapsLock", IDS_SETTINGS_KEYBOARD_KEY_CAPS_LOCK},
528 {"keyboardKeyDiamond", IDS_SETTINGS_KEYBOARD_KEY_DIAMOND}, 528 {"keyboardKeyDiamond", IDS_SETTINGS_KEYBOARD_KEY_DIAMOND},
529 {"keyboardKeyEscape", IDS_SETTINGS_KEYBOARD_KEY_ESCAPE}, 529 {"keyboardKeyEscape", IDS_SETTINGS_KEYBOARD_KEY_ESCAPE},
530 {"keyboardKeyBackspace", IDS_SETTINGS_KEYBOARD_KEY_BACKSPACE},
530 {"keyboardKeyDisabled", IDS_SETTINGS_KEYBOARD_KEY_DISABLED}, 531 {"keyboardKeyDisabled", IDS_SETTINGS_KEYBOARD_KEY_DISABLED},
531 {"keyboardSendFunctionKeys", IDS_SETTINGS_KEYBOARD_SEND_FUNCTION_KEYS}, 532 {"keyboardSendFunctionKeys", IDS_SETTINGS_KEYBOARD_SEND_FUNCTION_KEYS},
532 {"keyboardSendFunctionKeysDescription", 533 {"keyboardSendFunctionKeysDescription",
533 IDS_SETTINGS_KEYBOARD_SEND_FUNCTION_KEYS_DESCRIPTION}, 534 IDS_SETTINGS_KEYBOARD_SEND_FUNCTION_KEYS_DESCRIPTION},
534 {"keyboardEnableAutoRepeat", IDS_SETTINGS_KEYBOARD_AUTO_REPEAT_ENABLE}, 535 {"keyboardEnableAutoRepeat", IDS_SETTINGS_KEYBOARD_AUTO_REPEAT_ENABLE},
535 {"keyRepeatDelay", IDS_SETTINGS_KEYBOARD_AUTO_REPEAT_DELAY}, 536 {"keyRepeatDelay", IDS_SETTINGS_KEYBOARD_AUTO_REPEAT_DELAY},
536 {"keyRepeatDelayLong", IDS_SETTINGS_KEYBOARD_AUTO_REPEAT_DELAY_LONG}, 537 {"keyRepeatDelayLong", IDS_SETTINGS_KEYBOARD_AUTO_REPEAT_DELAY_LONG},
537 {"keyRepeatDelayShort", IDS_SETTINGS_KEYBOARD_AUTO_REPEAT_DELAY_SHORT}, 538 {"keyRepeatDelayShort", IDS_SETTINGS_KEYBOARD_AUTO_REPEAT_DELAY_SHORT},
538 {"keyRepeatRate", IDS_SETTINGS_KEYBOARD_AUTO_REPEAT_RATE}, 539 {"keyRepeatRate", IDS_SETTINGS_KEYBOARD_AUTO_REPEAT_RATE},
539 {"keyRepeatRateSlow", IDS_SETTINGS_KEYBOARD_AUTO_REPEAT_RATE_SLOW}, 540 {"keyRepeatRateSlow", IDS_SETTINGS_KEYBOARD_AUTO_REPEAT_RATE_SLOW},
(...skipping 1252 matching lines...) Expand 10 before | Expand all | Expand 10 after
1792 #endif 1793 #endif
1793 AddUsersStrings(html_source); 1794 AddUsersStrings(html_source);
1794 AddWebContentStrings(html_source); 1795 AddWebContentStrings(html_source);
1795 1796
1796 policy_indicator::AddLocalizedStrings(html_source); 1797 policy_indicator::AddLocalizedStrings(html_source);
1797 1798
1798 html_source->SetJsonPath(kLocalizedStringsFile); 1799 html_source->SetJsonPath(kLocalizedStringsFile);
1799 } 1800 }
1800 1801
1801 } // namespace settings 1802 } // namespace settings
OLDNEW
« no previous file with comments | « chrome/browser/resources/settings/device_page/keyboard.js ('k') | chrome/test/data/webui/settings/device_page_tests.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698