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

Side by Side Diff: chrome/browser/resources/file_manager/main.html

Issue 243013009: Show drive-related settings on gear menu only when Ctrl key is pressed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add comments for future improvement. Created 6 years, 8 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;"> 7 <html i18n-values="dir:textdirection;">
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 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 shortcut="Enter-Ctrl"> 151 shortcut="Enter-Ctrl">
152 <command id="delete" shortcut="U+007F"> 152 <command id="delete" shortcut="U+007F">
153 <command id="create-folder-shortcut" 153 <command id="create-folder-shortcut"
154 i18n-values="label:CREATE_FOLDER_SHORTCUT_BUTTON_LABEL"> 154 i18n-values="label:CREATE_FOLDER_SHORTCUT_BUTTON_LABEL">
155 <command id="remove-folder-shortcut" 155 <command id="remove-folder-shortcut"
156 i18n-values="label:REMOVE_FOLDER_SHORTCUT_BUTTON_LABEL"> 156 i18n-values="label:REMOVE_FOLDER_SHORTCUT_BUTTON_LABEL">
157 <command id="new-folder" i18n-values="label:NEW_FOLDER_BUTTON_LABEL" 157 <command id="new-folder" i18n-values="label:NEW_FOLDER_BUTTON_LABEL"
158 shortcut="U+0045-Ctrl"> 158 shortcut="U+0045-Ctrl">
159 <command id="new-window" i18n-values="label:NEW_WINDOW_BUTTON_LABEL" 159 <command id="new-window" i18n-values="label:NEW_WINDOW_BUTTON_LABEL"
160 shortcut="U+004E-Ctrl"> 160 shortcut="U+004E-Ctrl">
161 <command id="drive-sync-settings"
162 i18n-values="label:DRIVE_MOBILE_CONNECTION_OPTION">
163 <command id="drive-hosted-settings"
164 i18n-values="label:DRIVE_SHOW_HOSTED_FILES_OPTION">
161 165
162 <command id="search" shortcut="U+0046-Ctrl U+00BF"> 166 <command id="search" shortcut="U+0046-Ctrl U+00BF">
163 167
164 <!-- Shortcuts for toggling between volumes (CTRL-1..CTRL-9). --> 168 <!-- Shortcuts for toggling between volumes (CTRL-1..CTRL-9). -->
165 <command id="volume-switch-1" shortcut="U+0031-Ctrl"> 169 <command id="volume-switch-1" shortcut="U+0031-Ctrl">
166 <command id="volume-switch-2" shortcut="U+0032-Ctrl"> 170 <command id="volume-switch-2" shortcut="U+0032-Ctrl">
167 <command id="volume-switch-3" shortcut="U+0033-Ctrl"> 171 <command id="volume-switch-3" shortcut="U+0033-Ctrl">
168 <command id="volume-switch-4" shortcut="U+0034-Ctrl"> 172 <command id="volume-switch-4" shortcut="U+0034-Ctrl">
169 <command id="volume-switch-5" shortcut="U+0035-Ctrl"> 173 <command id="volume-switch-5" shortcut="U+0035-Ctrl">
170 <command id="volume-switch-6" shortcut="U+0036-Ctrl"> 174 <command id="volume-switch-6" shortcut="U+0036-Ctrl">
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 228
225 <menu id="directory-tree-context-menu" class="chrome-menu" > 229 <menu id="directory-tree-context-menu" class="chrome-menu" >
226 <menuitem command="#create-folder-shortcut"></menuitem> 230 <menuitem command="#create-folder-shortcut"></menuitem>
227 </menu> 231 </menu>
228 232
229 <menu id="gear-menu" class="chrome-menu" showShortcuts> 233 <menu id="gear-menu" class="chrome-menu" showShortcuts>
230 <menuitem id="gear-menu-newwindow" command="#new-window"></menuitem> 234 <menuitem id="gear-menu-newwindow" command="#new-window"></menuitem>
231 <menuitem id="gear-menu-newfolder" command="#new-folder"></menuitem> 235 <menuitem id="gear-menu-newfolder" command="#new-folder"></menuitem>
232 <hr id="multi-profile-separator"> 236 <hr id="multi-profile-separator">
233 <hr id="drive-separator"> 237 <hr id="drive-separator">
234 <menuitem id="drive-sync-settings" 238 <menuitem id="gear-menu-drive-sync-settings"
235 i18n-content="DRIVE_MOBILE_CONNECTION_OPTION"></menuitem> 239 command="#drive-sync-settings"></menuitem>
236 <menuitem id="drive-hosted-settings" 240 <menuitem id="gear-menu-drive-hosted-settings"
237 i18n-content="DRIVE_SHOW_HOSTED_FILES_OPTION"></menuitem> 241 command="#drive-hosted-settings"></menuitem>
238 <hr> 242 <hr>
239 <div i18n-content="VIEW_TYPE_LABEL"></div> 243 <div i18n-content="VIEW_TYPE_LABEL"></div>
240 <menuitem class="menuitem-button left" id="detail-view" 244 <menuitem class="menuitem-button left" id="detail-view"
241 i18n-values="aria-label:DETAIL_VIEW_TOOLTIP"> 245 i18n-values="aria-label:DETAIL_VIEW_TOOLTIP">
242 </menuitem> 246 </menuitem>
243 <menuitem class="menuitem-button right" id="thumbnail-view" 247 <menuitem class="menuitem-button right" id="thumbnail-view"
244 i18n-values="aria-label:THUMBNAIL_VIEW_TOOLTIP"> 248 i18n-values="aria-label:THUMBNAIL_VIEW_TOOLTIP">
245 </menuitem> 249 </menuitem>
246 <hr id="help-separator"> 250 <hr id="help-separator">
247 <menuitem id="gear-menu-drive-buy-more-space" 251 <menuitem id="gear-menu-drive-buy-more-space"
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
416 <select class="file-type" hidden></select> 420 <select class="file-type" hidden></select>
417 <button class="ok" disabled tabindex="2"></button> 421 <button class="ok" disabled tabindex="2"></button>
418 <button class="cancel" i18n-content="CANCEL_LABEL" tabindex="3"></button > 422 <button class="cancel" i18n-content="CANCEL_LABEL" tabindex="3"></button >
419 </div> 423 </div>
420 </div> 424 </div>
421 <div id="drag-container"></div> 425 <div id="drag-container"></div>
422 <iframe id="command-dispatcher" hidden></iframe> 426 <iframe id="command-dispatcher" hidden></iframe>
423 <div class="overlay-pane" id="iframe-drag-area" hidden></div> 427 <div class="overlay-pane" id="iframe-drag-area" hidden></div>
424 </body> 428 </body>
425 </html> 429 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698