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

Issue 2683123002: MD Settings: Storage: Use hidden attribute instead of dom-if binding to hide a row. (Closed)

Created:
3 years, 10 months ago by fukino
Modified:
3 years, 10 months ago
Reviewers:
stevenjb, Dan Beam
CC:
chromium-reviews, michaelpg+watch-md-settings_chromium.org, michaelpg+watch-md-ui_chromium.org, dbeam+watch-settings_chromium.org, stevenjb+watch-md-settings_chromium.org, arv+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

MD Settings: Storage: Use hidden attribute instead of dom-if binding to hide a row. The size of other users is accessed via this.$.otherUsersSize. This CL uses hidden attribute instead of dom-if to ensure the registration. BUG=690337 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Review-Url: https://codereview.chromium.org/2683123002 Cr-Commit-Position: refs/heads/master@{#449494} Committed: https://chromium.googlesource.com/chromium/src/+/cab47b8c00b8263555fae1c718dd9046541902f7

Patch Set 1 #

Patch Set 2 : Use dom-if to avoid unnecessary load. #

Patch Set 3 : Remove unncecessary change. #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+51 lines, -42 lines) Patch
M chrome/browser/resources/settings/device_page/storage.html View 1 3 chunks +40 lines, -36 lines 3 comments Download
M chrome/browser/resources/settings/device_page/storage.js View 1 4 chunks +11 lines, -6 lines 0 comments Download

Messages

Total messages: 20 (7 generated)
fukino
Hi Steven, could you take a look? Thanks!
3 years, 10 months ago (2017-02-09 07:51:08 UTC) #4
Dan Beam
just change this.$.otherUsersSize to this.$$('#otherUsersSize')
3 years, 10 months ago (2017-02-09 16:17:21 UTC) #6
fukino
On 2017/02/09 16:17:21, Dan Beam wrote: > just change this.$.otherUsersSize to this.$$('#otherUsersSize') Is it a ...
3 years, 10 months ago (2017-02-09 18:13:38 UTC) #7
stevenjb
On 2017/02/09 18:13:38, fukino wrote: > On 2017/02/09 16:17:21, Dan Beam wrote: > > just ...
3 years, 10 months ago (2017-02-09 18:33:02 UTC) #8
Dan Beam
On 2017/02/09 18:13:38, fukino wrote: > On 2017/02/09 16:17:21, Dan Beam wrote: > > just ...
3 years, 10 months ago (2017-02-09 19:38:29 UTC) #9
fukino
Thank you Steven, Dan for the explanation. I replaced all "hidden$=" with dom-if to avoid ...
3 years, 10 months ago (2017-02-09 20:11:04 UTC) #10
stevenjb
Thanks for adding the extra templating, lgtm
3 years, 10 months ago (2017-02-09 20:19:00 UTC) #11
stevenjb
https://codereview.chromium.org/2683123002/diff/40001/chrome/browser/resources/settings/device_page/storage.html File chrome/browser/resources/settings/device_page/storage.html (right): https://codereview.chromium.org/2683123002/diff/40001/chrome/browser/resources/settings/device_page/storage.html#newcode131 chrome/browser/resources/settings/device_page/storage.html:131: <div class="message-area"> nit: These divs can probably be combined? ...
3 years, 10 months ago (2017-02-09 20:21:00 UTC) #12
fukino
https://codereview.chromium.org/2683123002/diff/40001/chrome/browser/resources/settings/device_page/storage.html File chrome/browser/resources/settings/device_page/storage.html (right): https://codereview.chromium.org/2683123002/diff/40001/chrome/browser/resources/settings/device_page/storage.html#newcode131 chrome/browser/resources/settings/device_page/storage.html:131: <div class="message-area"> On 2017/02/09 20:21:00, stevenjb wrote: > nit: ...
3 years, 10 months ago (2017-02-09 20:42:57 UTC) #13
stevenjb
On 2017/02/09 20:42:57, fukino wrote: > https://codereview.chromium.org/2683123002/diff/40001/chrome/browser/resources/settings/device_page/storage.html > File chrome/browser/resources/settings/device_page/storage.html (right): > > https://codereview.chromium.org/2683123002/diff/40001/chrome/browser/resources/settings/device_page/storage.html#newcode131 > ...
3 years, 10 months ago (2017-02-09 23:35:19 UTC) #14
fukino
On 2017/02/09 23:35:19, stevenjb wrote: > On 2017/02/09 20:42:57, fukino wrote: > > > https://codereview.chromium.org/2683123002/diff/40001/chrome/browser/resources/settings/device_page/storage.html ...
3 years, 10 months ago (2017-02-09 23:37:01 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2683123002/40001
3 years, 10 months ago (2017-02-09 23:37:34 UTC) #17
commit-bot: I haz the power
3 years, 10 months ago (2017-02-10 00:44:32 UTC) #20
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/cab47b8c00b8263555fae1c718dd...

Powered by Google App Engine
This is Rietveld 408576698