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

Side by Side 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 unified diff | Download patch
OLDNEW
1 <!DOCTYPE HTML> 1 <!DOCTYPE HTML>
2 <!-- 2 <!--
3 -- Copyright (c) 2012 The Chromium Authors. All rights reserved. 3 -- Copyright (c) 2012 The Chromium Authors. All rights reserved.
4 -- Use of this source code is governed by a BSD-style license that can be 4 -- Use of this source code is governed by a BSD-style license that can be
5 -- found in the LICENSE file. 5 -- found in the LICENSE file.
6 --> 6 -->
7 <html i18n-values="dir:textdirection;lang:language"> 7 <html i18n-values="dir:textdirection;lang:language">
8 <head> 8 <head>
9 <!-- We have to set some default title, or chrome will use the page name. 9 <!-- We have to set some default title, or chrome will use the page name.
10 -- As soon as we init and change to a directory, we'll show the directory 10 -- As soon as we init and change to a directory, we'll show the directory
(...skipping 15 matching lines...) Expand all
26 <link rel="stylesheet" href="foreground/css/file_types.css"> 26 <link rel="stylesheet" href="foreground/css/file_types.css">
27 <link rel="stylesheet" href="foreground/css/common.css"> 27 <link rel="stylesheet" href="foreground/css/common.css">
28 <link rel="stylesheet" href="chrome-extension://fbjakikfhfdajcamjleinfciajel kpek/cws_widget/cws_widget_container.css"> 28 <link rel="stylesheet" href="chrome-extension://fbjakikfhfdajcamjleinfciajel kpek/cws_widget/cws_widget_container.css">
29 29
30 <script src="foreground/js/elements_importer.js"></script> 30 <script src="foreground/js/elements_importer.js"></script>
31 <script src="foreground/js/main_scripts.js" defer></script> 31 <script src="foreground/js/main_scripts.js" defer></script>
32 </head> 32 </head>
33 33
34 <body tabindex="-1"> 34 <body tabindex="-1">
35 <commands> 35 <commands>
36 <!-- We have to use U+XXXX notation here according to event.keyIdentifier
37 property -->
38 <command id="cut" i18n-values="label:CUT_BUTTON_LABEL" 36 <command id="cut" i18n-values="label:CUT_BUTTON_LABEL"
39 shortcut="U+0058-Ctrl"> 37 shortcut="x|Ctrl">
40 <command id="copy" i18n-values="label:COPY_BUTTON_LABEL" 38 <command id="copy" i18n-values="label:COPY_BUTTON_LABEL"
41 shortcut="U+0043-Ctrl"> 39 shortcut="c|Ctrl">
42 <command id="paste" i18n-values="label:PASTE_BUTTON_LABEL" 40 <command id="paste" i18n-values="label:PASTE_BUTTON_LABEL"
43 shortcut="U+0056-Ctrl"> 41 shortcut="v|Ctrl">
44 <command id="paste-into-folder" 42 <command id="paste-into-folder"
45 i18n-values="label:PASTE_INTO_FOLDER_BUTTON_LABEL"> 43 i18n-values="label:PASTE_INTO_FOLDER_BUTTON_LABEL">
46 <command id="rename" i18n-values="label:RENAME_BUTTON_LABEL" 44 <command id="rename" i18n-values="label:RENAME_BUTTON_LABEL"
47 shortcut="Enter-Ctrl"> 45 shortcut="Enter|Ctrl">
48 <command id="delete" shortcut="U+0008-Alt U+007F"> 46 <command id="delete" shortcut="Backspace|Alt Delete">
49 <command id="refresh" i18n-values="label:REFRESH_BUTTON_LABEL" 47 <command id="refresh" i18n-values="label:REFRESH_BUTTON_LABEL"
50 shortcut="U+0042-Ctrl" hidden> 48 shortcut="b|Ctrl" hidden>
51 <command id="create-folder-shortcut" 49 <command id="create-folder-shortcut"
52 i18n-values="label:CREATE_FOLDER_SHORTCUT_BUTTON_LABEL"> 50 i18n-values="label:CREATE_FOLDER_SHORTCUT_BUTTON_LABEL">
53 <command id="remove-folder-shortcut" 51 <command id="remove-folder-shortcut"
54 i18n-values="label:REMOVE_FOLDER_SHORTCUT_BUTTON_LABEL"> 52 i18n-values="label:REMOVE_FOLDER_SHORTCUT_BUTTON_LABEL">
55 <command id="new-folder" i18n-values="label:NEW_FOLDER_BUTTON_LABEL" 53 <command id="new-folder" i18n-values="label:NEW_FOLDER_BUTTON_LABEL"
56 shortcut="U+0045-Ctrl"> 54 shortcut="e|Ctrl">
57 <command id="new-window" i18n-values="label:NEW_WINDOW_BUTTON_LABEL" 55 <command id="new-window" i18n-values="label:NEW_WINDOW_BUTTON_LABEL"
58 shortcut="U+004E-Ctrl"> 56 shortcut="n|Ctrl">
59 <command id="drive-sync-settings" 57 <command id="drive-sync-settings"
60 i18n-values="label:DRIVE_MOBILE_CONNECTION_OPTION"> 58 i18n-values="label:DRIVE_MOBILE_CONNECTION_OPTION">
61 <command id="drive-hosted-settings" 59 <command id="drive-hosted-settings"
62 i18n-values="label:DRIVE_SHOW_HOSTED_FILES_OPTION"> 60 i18n-values="label:DRIVE_SHOW_HOSTED_FILES_OPTION">
63 61
64 <command id="search" shortcut="U+0046-Ctrl U+00BF"> 62 <command id="search" shortcut="f|Ctrl /">
65 63
66 <!-- Shortcuts for toggling between volumes (CTRL-1..CTRL-9). --> 64 <!-- Shortcuts for toggling between volumes (CTRL-1..CTRL-9). -->
67 <command id="volume-switch-1" shortcut="U+0031-Ctrl"> 65 <command id="volume-switch-1" shortcut="1|Ctrl">
68 <command id="volume-switch-2" shortcut="U+0032-Ctrl"> 66 <command id="volume-switch-2" shortcut="2|Ctrl">
69 <command id="volume-switch-3" shortcut="U+0033-Ctrl"> 67 <command id="volume-switch-3" shortcut="3|Ctrl">
70 <command id="volume-switch-4" shortcut="U+0034-Ctrl"> 68 <command id="volume-switch-4" shortcut="4|Ctrl">
71 <command id="volume-switch-5" shortcut="U+0035-Ctrl"> 69 <command id="volume-switch-5" shortcut="5|Ctrl">
72 <command id="volume-switch-6" shortcut="U+0036-Ctrl"> 70 <command id="volume-switch-6" shortcut="6|Ctrl">
73 <command id="volume-switch-7" shortcut="U+0037-Ctrl"> 71 <command id="volume-switch-7" shortcut="7|Ctrl">
74 <command id="volume-switch-8" shortcut="U+0038-Ctrl"> 72 <command id="volume-switch-8" shortcut="8|Ctrl">
75 <command id="volume-switch-9" shortcut="U+0039-Ctrl"> 73 <command id="volume-switch-9" shortcut="9|Ctrl">
76 74
77 <command id="unmount" i18n-values="label:UNMOUNT_DEVICE_BUTTON_LABEL" 75 <command id="unmount" i18n-values="label:UNMOUNT_DEVICE_BUTTON_LABEL"
78 shortcut="U+0045-Shift-Ctrl"><!-- Shortcut: 'Shift-Ctrl-E' --> 76 shortcut="E|Shift|Ctrl">
79 <command id="format" i18n-values="label:FORMAT_DEVICE_BUTTON_LABEL"> 77 <command id="format" i18n-values="label:FORMAT_DEVICE_BUTTON_LABEL">
80 <command id="configure" i18n-values="label:CONFIGURE_VOLUME_BUTTON_LABEL"> 78 <command id="configure" i18n-values="label:CONFIGURE_VOLUME_BUTTON_LABEL">
81 79
82 <command id="volume-help" i18n-values="label:DRIVE_MENU_HELP"> 80 <command id="volume-help" i18n-values="label:DRIVE_MENU_HELP">
83 <command id="drive-buy-more-space" 81 <command id="drive-buy-more-space"
84 i18n-values="label:DRIVE_BUY_MORE_SPACE"> 82 i18n-values="label:DRIVE_BUY_MORE_SPACE">
85 <command id="drive-go-to-drive" 83 <command id="drive-go-to-drive"
86 i18n-values="label:DRIVE_VISIT_DRIVE_GOOGLE_COM"> 84 i18n-values="label:DRIVE_VISIT_DRIVE_GOOGLE_COM">
87 85
88 <command id="toggle-pinned" i18n-values="label:OFFLINE_COLUMN_LABEL"> 86 <command id="toggle-pinned" i18n-values="label:OFFLINE_COLUMN_LABEL">
89 <command id="toggle-hidden-files" 87 <command id="toggle-hidden-files"
90 i18n-values="label:TOGGLE_HIDDEN_FILES_COMMAND_LABEL" 88 i18n-values="label:TOGGLE_HIDDEN_FILES_COMMAND_LABEL"
91 shortcut="U+00BE-Ctrl" hide-shortcut-text> 89 shortcut=".|Ctrl" hide-shortcut-text>
92 90
93 <command id="default-task"> 91 <command id="default-task">
94 <command id="open-with" i18n-values="label:MORE_ACTIONS_BUTTON_LABEL"> 92 <command id="open-with" i18n-values="label:MORE_ACTIONS_BUTTON_LABEL">
95 <command id="zip-selection" 93 <command id="zip-selection"
96 i18n-values="label:ZIP_SELECTION_BUTTON_LABEL"> 94 i18n-values="label:ZIP_SELECTION_BUTTON_LABEL">
97 <command id="set-wallpaper" 95 <command id="set-wallpaper"
98 i18n-values="label:SET_WALLPAPER_BUTTON_LABEL"> 96 i18n-values="label:SET_WALLPAPER_BUTTON_LABEL">
99 97
100 <command id="share" i18n-values="label:SHARE_BUTTON_LABEL" disabled hidden 98 <command id="share" i18n-values="label:SHARE_BUTTON_LABEL" disabled hidden
101 shortcut="U+00BE" hide-shortcut-text><!-- Shortcut: '.' --> 99 shortcut="." hide-shortcut-text>
102 100
103 <command id="zoom-in" shortcut="U+00BB-Ctrl"> 101 <command id="zoom-in" shortcut="=|Ctrl">
104 <command id="zoom-out" shortcut="U+00BD-Ctrl"> 102 <command id="zoom-out" shortcut="-|Ctrl">
105 <command id="zoom-reset" shortcut="U+0030-Ctrl"> 103 <command id="zoom-reset" shortcut="0|Ctrl">
106 104
107 <command id="sort-by-name" i18n-values="label:NAME_COLUMN_LABEL"> 105 <command id="sort-by-name" i18n-values="label:NAME_COLUMN_LABEL">
108 <command id="sort-by-size" i18n-values="label:SIZE_COLUMN_LABEL"> 106 <command id="sort-by-size" i18n-values="label:SIZE_COLUMN_LABEL">
109 <command id="sort-by-type" i18n-values="label:TYPE_COLUMN_LABEL"> 107 <command id="sort-by-type" i18n-values="label:TYPE_COLUMN_LABEL">
110 <command id="sort-by-date" i18n-values="label:DATE_COLUMN_LABEL"> 108 <command id="sort-by-date" i18n-values="label:DATE_COLUMN_LABEL">
111 109
112 <!-- Shortcuts to open inspector. (Ctrl+Shift+I/J/C/B) --> 110 <!-- Shortcuts to open inspector. (Ctrl+Shift+I/J/C/B) -->
113 <command id="inspect-normal" shortcut="U+0049-Shift-Ctrl"> 111 <command id="inspect-normal" shortcut="I|Shift|Ctrl">
114 <command id="inspect-console" shortcut="U+004A-Shift-Ctrl"> 112 <command id="inspect-console" shortcut="J|Shift|Ctrl">
115 <command id="inspect-element" shortcut="U+0043-Shift-Ctrl"> 113 <command id="inspect-element" shortcut="C|Shift|Ctrl">
116 <command id="inspect-background" shortcut="U+0042-Shift-Ctrl"> 114 <command id="inspect-background" shortcut="B|Shift|Ctrl">
117 115
118 <command id="install-new-extension" 116 <command id="install-new-extension"
119 i18n-values="label:INSTALL_NEW_EXTENSION_LABEL"> 117 i18n-values="label:INSTALL_NEW_EXTENSION_LABEL">
120 <command id="open-gear-menu" shortcut="U+0045-Alt U+0046-Alt"> 118 <command id="open-gear-menu" shortcut="e|Alt f|Alt">
121 </commands> 119 </commands>
122 120
123 <cr-menu id="file-context-menu" class="chrome-menu files-menu" 121 <cr-menu id="file-context-menu" class="chrome-menu files-menu"
124 menu-item-selector="cr-menu-item,hr" showShortcuts> 122 menu-item-selector="cr-menu-item,hr" showShortcuts>
125 <cr-menu-item id="default-task-menu-item" command="#default-task" 123 <cr-menu-item id="default-task-menu-item" command="#default-task"
126 visibleif="full-page" hidden></cr-menu-item> 124 visibleif="full-page" hidden></cr-menu-item>
127 <cr-menu-item command="#open-with" 125 <cr-menu-item command="#open-with"
128 visibleif="full-page" hidden></cr-menu-item> 126 visibleif="full-page" hidden></cr-menu-item>
129 <hr id="tasks-separator" visibleif="full-page" hidden> 127 <hr id="tasks-separator" visibleif="full-page" hidden>
130 <hr id="actions-separator" hidden> 128 <hr id="actions-separator" hidden>
(...skipping 357 matching lines...) Expand 10 before | Expand all | Expand 10 after
488 <span i18n-content="CANCEL_LABEL"></span> 486 <span i18n-content="CANCEL_LABEL"></span>
489 </button> 487 </button>
490 </div> 488 </div>
491 </div> 489 </div>
492 <div id="drag-container"></div> 490 <div id="drag-container"></div>
493 <files-tooltip></files-tooltip> 491 <files-tooltip></files-tooltip>
494 <files-quick-view id="quick-view"></files-quick-view> 492 <files-quick-view id="quick-view"></files-quick-view>
495 <iframe id="command-dispatcher" hidden aria-hidden="true"></iframe> 493 <iframe id="command-dispatcher" hidden aria-hidden="true"></iframe>
496 </body> 494 </body>
497 </html> 495 </html>
OLDNEW
« 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