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

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

Issue 883973002: Move cloud import button to toolbar, make material designey. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add test coverage for new command update logic. Fix a type, and undo some early debug code. Created 5 years, 11 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/import_controller_unittest.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 a6f30c7621a9c859cbe8a478cb81215bee229cc3..9f00aee268da02ac1751e648eecfa3111ab7e82d 100644
--- a/ui/file_manager/file_manager/main.html
+++ b/ui/file_manager/file_manager/main.html
@@ -220,10 +220,6 @@
<command id="share" i18n-values="label:SHARE_BUTTON_LABEL" disabled
shortcut="U+00BE" hide-shortcut-text><!-- Shortcut: '.' -->
- <!-- The visibility is refered by preview panel. Set hidden until
- visibility is obtained once. -->
- <command id="cloud-import" class="auto-visibility"
- i18n-values="label:CLOUD_IMPORT_BUTTON_LABEL" hidden>
<command id="zoom-in" shortcut="U+00BB-Ctrl">
<command id="zoom-out" shortcut="U+00BD-Ctrl">
@@ -317,6 +313,12 @@
</paper-input-decorator>
<button class="clear" tabindex="-1"></button>
</div>
+ <button id="cloud-import-button" tabindex="10"
+ i18n-values="aria-label:CLOUD_IMPORT_BUTTON_LABEL"
+ style='display: none;'>
+ <core-icon icon="cloud-queue"></core-icon>
+ <paper-ripple fit></paper-ripple>
+ </button>
<paper-button id="view-button" tabindex="8">
<core-icon icon="view-module"></core-icon>
</paper-button>
@@ -393,8 +395,6 @@
</div>
</div>
<div class="right buttonbar" visibleif="full-page">
- <button id="cloud-import-button" command="#cloud-import" tabindex="10"
- i18n-values="aria-label:CLOUD_IMPORT_BUTTON_LABEL"></button>
<button id="share-button" command="#share" tabindex="11"
i18n-values="aria-label:SHARE_BUTTON_LABEL"></button>
<button id="tasks" class="combobutton" menu="#tasks-menu"
« no previous file with comments | « ui/file_manager/file_manager/foreground/js/import_controller_unittest.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698