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

Unified Diff: ui/file_manager/file_manager/main.html

Issue 2104103002: Convert Event#keyIdentifier (deprecated) to Event#key (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Patch file manager test Created 4 years, 5 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: ui/file_manager/file_manager/main.html
diff --git a/ui/file_manager/file_manager/main.html b/ui/file_manager/file_manager/main.html
index 9cdad5f2fba8764e608f96f22d61aee68453c860..1b8ff90b4aaeb30b264a9c79aac29df83e6b09ce 100644
--- a/ui/file_manager/file_manager/main.html
+++ b/ui/file_manager/file_manager/main.html
@@ -33,49 +33,47 @@
<body tabindex="-1">
<commands>
- <!-- We have to use U+XXXX notation here according to event.keyIdentifier
- property -->
<command id="cut" i18n-values="label:CUT_BUTTON_LABEL"
- shortcut="U+0058-Ctrl">
+ shortcut="x|Ctrl">
<command id="copy" i18n-values="label:COPY_BUTTON_LABEL"
- shortcut="U+0043-Ctrl">
+ shortcut="c|Ctrl">
<command id="paste" i18n-values="label:PASTE_BUTTON_LABEL"
- shortcut="U+0056-Ctrl">
+ shortcut="v|Ctrl">
<command id="paste-into-folder"
i18n-values="label:PASTE_INTO_FOLDER_BUTTON_LABEL">
<command id="rename" i18n-values="label:RENAME_BUTTON_LABEL"
- shortcut="Enter-Ctrl">
- <command id="delete" shortcut="U+0008-Alt U+007F">
+ shortcut="Enter|Ctrl">
+ <command id="delete" shortcut="Backspace|Alt Delete">
<command id="refresh" i18n-values="label:REFRESH_BUTTON_LABEL"
- shortcut="U+0042-Ctrl" hidden>
+ shortcut="b|Ctrl" hidden>
<command id="create-folder-shortcut"
i18n-values="label:CREATE_FOLDER_SHORTCUT_BUTTON_LABEL">
<command id="remove-folder-shortcut"
i18n-values="label:REMOVE_FOLDER_SHORTCUT_BUTTON_LABEL">
<command id="new-folder" i18n-values="label:NEW_FOLDER_BUTTON_LABEL"
- shortcut="U+0045-Ctrl">
+ shortcut="e|Ctrl">
<command id="new-window" i18n-values="label:NEW_WINDOW_BUTTON_LABEL"
- shortcut="U+004E-Ctrl">
+ shortcut="n|Ctrl">
<command id="drive-sync-settings"
i18n-values="label:DRIVE_MOBILE_CONNECTION_OPTION">
<command id="drive-hosted-settings"
i18n-values="label:DRIVE_SHOW_HOSTED_FILES_OPTION">
- <command id="search" shortcut="U+0046-Ctrl U+00BF">
+ <command id="search" shortcut="f|Ctrl /">
<!-- Shortcuts for toggling between volumes (CTRL-1..CTRL-9). -->
- <command id="volume-switch-1" shortcut="U+0031-Ctrl">
- <command id="volume-switch-2" shortcut="U+0032-Ctrl">
- <command id="volume-switch-3" shortcut="U+0033-Ctrl">
- <command id="volume-switch-4" shortcut="U+0034-Ctrl">
- <command id="volume-switch-5" shortcut="U+0035-Ctrl">
- <command id="volume-switch-6" shortcut="U+0036-Ctrl">
- <command id="volume-switch-7" shortcut="U+0037-Ctrl">
- <command id="volume-switch-8" shortcut="U+0038-Ctrl">
- <command id="volume-switch-9" shortcut="U+0039-Ctrl">
+ <command id="volume-switch-1" shortcut="1|Ctrl">
+ <command id="volume-switch-2" shortcut="2|Ctrl">
+ <command id="volume-switch-3" shortcut="3|Ctrl">
+ <command id="volume-switch-4" shortcut="4|Ctrl">
+ <command id="volume-switch-5" shortcut="5|Ctrl">
+ <command id="volume-switch-6" shortcut="6|Ctrl">
+ <command id="volume-switch-7" shortcut="7|Ctrl">
+ <command id="volume-switch-8" shortcut="8|Ctrl">
+ <command id="volume-switch-9" shortcut="9|Ctrl">
<command id="unmount" i18n-values="label:UNMOUNT_DEVICE_BUTTON_LABEL"
- shortcut="U+0045-Shift-Ctrl"><!-- Shortcut: 'Shift-Ctrl-E' -->
+ shortcut="E|Shift|Ctrl">
<command id="format" i18n-values="label:FORMAT_DEVICE_BUTTON_LABEL">
<command id="configure" i18n-values="label:CONFIGURE_VOLUME_BUTTON_LABEL">
@@ -88,7 +86,7 @@
<command id="toggle-pinned" i18n-values="label:OFFLINE_COLUMN_LABEL">
<command id="toggle-hidden-files"
i18n-values="label:TOGGLE_HIDDEN_FILES_COMMAND_LABEL"
- shortcut="U+00BE-Ctrl" hide-shortcut-text>
+ shortcut=".|Ctrl" hide-shortcut-text>
<command id="default-task">
<command id="open-with" i18n-values="label:MORE_ACTIONS_BUTTON_LABEL">
@@ -98,11 +96,11 @@
i18n-values="label:SET_WALLPAPER_BUTTON_LABEL">
<command id="share" i18n-values="label:SHARE_BUTTON_LABEL" disabled hidden
- shortcut="U+00BE" hide-shortcut-text><!-- Shortcut: '.' -->
+ shortcut="." hide-shortcut-text>
- <command id="zoom-in" shortcut="U+00BB-Ctrl">
- <command id="zoom-out" shortcut="U+00BD-Ctrl">
- <command id="zoom-reset" shortcut="U+0030-Ctrl">
+ <command id="zoom-in" shortcut="=|Ctrl">
+ <command id="zoom-out" shortcut="-|Ctrl">
+ <command id="zoom-reset" shortcut="0|Ctrl">
<command id="sort-by-name" i18n-values="label:NAME_COLUMN_LABEL">
<command id="sort-by-size" i18n-values="label:SIZE_COLUMN_LABEL">
@@ -110,14 +108,14 @@
<command id="sort-by-date" i18n-values="label:DATE_COLUMN_LABEL">
<!-- Shortcuts to open inspector. (Ctrl+Shift+I/J/C/B) -->
- <command id="inspect-normal" shortcut="U+0049-Shift-Ctrl">
- <command id="inspect-console" shortcut="U+004A-Shift-Ctrl">
- <command id="inspect-element" shortcut="U+0043-Shift-Ctrl">
- <command id="inspect-background" shortcut="U+0042-Shift-Ctrl">
+ <command id="inspect-normal" shortcut="I|Shift|Ctrl">
+ <command id="inspect-console" shortcut="J|Shift|Ctrl">
+ <command id="inspect-element" shortcut="C|Shift|Ctrl">
+ <command id="inspect-background" shortcut="B|Shift|Ctrl">
<command id="install-new-extension"
i18n-values="label:INSTALL_NEW_EXTENSION_LABEL">
- <command id="open-gear-menu" shortcut="U+0045-Alt U+0046-Alt">
+ <command id="open-gear-menu" shortcut="e|Alt f|Alt">
</commands>
<cr-menu id="file-context-menu" class="chrome-menu files-menu"
« no previous file with comments | « ui/file_manager/file_manager/foreground/js/ui/actions_submenu_unittest.html ('k') | ui/login/account_picker/user_pod_row.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698