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

Side by Side Diff: ui/file_manager/file_manager/foreground/elements/files_metadata_entry.js

Issue 2313763003: Show a local folder's size in QuickView. (Closed)
Patch Set: Created 4 years, 3 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 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 var FilesMetadataBox = Polymer({ 5 var FilesMetadataBox = Polymer({
6 is: 'files-metadata-entry', 6 is: 'files-metadata-entry',
7 7
8 properties: { 8 properties: {
9 key: { 9 key: {
10 type: String, 10 type: String,
11 reflectToAttribtue: true, 11 reflectToAttribtue: true,
12 }, 12 },
13 13
14 // If |value| is empty, the entire entry will be hidden. 14 // If |value| is empty, the entire entry will be hidden.
15 value: { 15 value: {
16 type: String, 16 type: String,
17 reflectToAttribtue: true, 17 reflectToAttribtue: true,
18 }, 18 },
19
20 loading: {
21 type: Boolean,
22 reflectToAttribtue: true,
23 value: false,
24 },
19 }, 25 },
20 26
27 /**
28 * @param {boolean} loading
29 * @return {string} calssName for loading if loading is true.
30 */
31 setLoadingClass: function(loading) {
fukino 2016/09/06 09:12:45 This function looks unnecessary.
harukam 2016/09/06 11:25:24 Acknowledged.
32 return loading ? "loading" : "";
33 },
21 }); 34 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698