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

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

Issue 899943002: Rework update model to eliminate a "flicker" resulting from the brief update to zero results when a… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Don't use drive icon in dialog for now, since this breaks funcitonal tests. Created 5 years, 10 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 ecc0afb068f4890b3e77b7b1f521a50de02c5f33..abaebc112ad89104a62f49fdc5cf3b6083fce251 100644
--- a/ui/file_manager/file_manager/main.html
+++ b/ui/file_manager/file_manager/main.html
@@ -335,11 +335,16 @@
<core-icon icon="cloud-queue"></core-icon>
<paper-ripple fit></paper-ripple>
</button>
- <button id="view-button" class="icon-button" tabindex="12">
+ <button id="cloud-import-details-button" class="icon-button" tabindex="12"
+ style='display: none;'>
+ <core-icon icon="arrow-drop-down"></core-icon>
+ <paper-ripple fit></paper-ripple>
+ </button>
+ <button id="view-button" class="icon-button" tabindex="13">
<core-icon icon="view-module"></core-icon>
<paper-ripple fit></paper-ripple>
</button>
- <button id="gear-button" class="icon-button" tabindex="13" menu="#gear-menu"
+ <button id="gear-button" class="icon-button" tabindex="14" menu="#gear-menu"
i18n-values="aria-label:GEAR_BUTTON_TOOLTIP"
aria-activedescendant="gear-menu">
<core-icon icon="more-vert"></core-icon>
@@ -347,6 +352,34 @@
</button>
</div>
+ <div id="cloud-import-details" class="offscreen">
+ <h1>Backup to Drive</h1>
+
+ <div id='#open-destination'>
+ <!!--
+ TODO(smckay): Setting volume-type-icon to "drive" breaks
+ functional tests because selection of the drive volume is
+ done using a query that matches this. Need to fix that.
+ See background/test_util.js:105
+ -->
+ <core-icon class="icon volume-icon" volume-type-icon="na">
+ </core-icon> My Photos
+ </div>
+
+ <div class="detail">
+ New photos: <span class="photo-count">0</span>
+ </div>
+ <div class="detail">
+ Space required: <span class="space-required">0</span>
+ </div>
+
+ <div class="media-strip">
+ <tt>// TODO(smckay)</tt>
+ </div>
+
+ <div class="import">Import!</div>
+ </div>
+
<div class="dialog-container">
<div class="dialog-navigation-list">
<div class="dialog-navigation-list-contents">
« 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