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

Unified Diff: ui/file_manager/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: Rebase and improve variable names. 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/file_manager/file_manager/foreground/js/file_manager_commands.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 35bcb1214691093f71e4192e8af830b8b743864e..22631256146f5943e4e82d15eef2f83d13e280af 100644
--- a/ui/file_manager/file_manager/main.html
+++ b/ui/file_manager/file_manager/main.html
@@ -158,6 +158,10 @@
shortcut="U+0045-Ctrl">
<command id="new-window" i18n-values="label:NEW_WINDOW_BUTTON_LABEL"
shortcut="U+004E-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">
@@ -231,10 +235,10 @@
<menuitem id="gear-menu-newfolder" command="#new-folder"></menuitem>
<hr id="multi-profile-separator">
<hr id="drive-separator">
- <menuitem id="drive-sync-settings"
- i18n-content="DRIVE_MOBILE_CONNECTION_OPTION"></menuitem>
- <menuitem id="drive-hosted-settings"
- i18n-content="DRIVE_SHOW_HOSTED_FILES_OPTION"></menuitem>
+ <menuitem id="gear-menu-drive-sync-settings"
+ command="#drive-sync-settings"></menuitem>
+ <menuitem id="gear-menu-drive-hosted-settings"
+ command="#drive-hosted-settings"></menuitem>
<hr>
<div i18n-content="VIEW_TYPE_LABEL"></div>
<menuitem class="menuitem-button left" id="detail-view"
« no previous file with comments | « ui/file_manager/file_manager/foreground/js/file_manager_commands.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698