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

Issue 2512613003: remove unnecessary paper-item dependency from site_details. (Closed)

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

Description

remove unnecessary paper-item dependency from site_details. We're trying to remove all paper-item dependency for performance reasons, and a div with list-item class can achieve the desired visual effects and seems more suitable. I also removed the hidden attribute because its parent element has the exact same hidden condition, so seems redundant to have both. BUG=603976 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/2507bc013bac421e3775d7119322aced956b633a Cr-Commit-Position: refs/heads/master@{#433278}

Patch Set 1 #

Total comments: 8

Patch Set 2 : use dom-if instead of hidden, and fix tests to accomodate #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -16 lines) Patch
M chrome/browser/resources/settings/site_settings/site_details.html View 1 1 chunk +14 lines, -12 lines 0 comments Download
M chrome/test/data/webui/settings/site_details_tests.js View 1 2 chunks +6 lines, -4 lines 2 comments Download

Messages

Total messages: 30 (20 generated)
scottchen
4 years, 1 month ago (2016-11-17 23:34:51 UTC) #4
dpapad
https://codereview.chromium.org/2512613003/diff/1/chrome/browser/resources/settings/site_settings/site_details.html File chrome/browser/resources/settings/site_settings/site_details.html (right): https://codereview.chromium.org/2512613003/diff/1/chrome/browser/resources/settings/site_settings/site_details.html#newcode50 chrome/browser/resources/settings/site_settings/site_details.html:50: <div class="list-item" id="storage"> We still need the hidden$="[[!storedData_]] part, ...
4 years, 1 month ago (2016-11-17 23:36:58 UTC) #5
scottchen
https://codereview.chromium.org/2512613003/diff/1/chrome/browser/resources/settings/site_settings/site_details.html File chrome/browser/resources/settings/site_settings/site_details.html (right): https://codereview.chromium.org/2512613003/diff/1/chrome/browser/resources/settings/site_settings/site_details.html#newcode50 chrome/browser/resources/settings/site_settings/site_details.html:50: <div class="list-item" id="storage"> On 2016/11/17 23:36:58, dpapad wrote: > ...
4 years, 1 month ago (2016-11-17 23:55:50 UTC) #8
dpapad
LGTM. https://codereview.chromium.org/2512613003/diff/1/chrome/browser/resources/settings/site_settings/site_details.html File chrome/browser/resources/settings/site_settings/site_details.html (right): https://codereview.chromium.org/2512613003/diff/1/chrome/browser/resources/settings/site_settings/site_details.html#newcode6 chrome/browser/resources/settings/site_settings/site_details.html:6: <link rel="import" href="chrome://resources/polymer/v1_0/paper-item/paper-item.html"> Let's remove this dependency. https://codereview.chromium.org/2512613003/diff/1/chrome/browser/resources/settings/site_settings/site_details.html#newcode50 ...
4 years, 1 month ago (2016-11-17 23:59:28 UTC) #9
Dan Beam
https://codereview.chromium.org/2512613003/diff/1/chrome/browser/resources/settings/site_settings/site_details.html File chrome/browser/resources/settings/site_settings/site_details.html (right): https://codereview.chromium.org/2512613003/diff/1/chrome/browser/resources/settings/site_settings/site_details.html#newcode45 chrome/browser/resources/settings/site_settings/site_details.html:45: <div id="usage" hidden$="[[!storedData_]]"> can we just make this a ...
4 years, 1 month ago (2016-11-18 00:06:16 UTC) #11
scottchen
https://codereview.chromium.org/2512613003/diff/1/chrome/browser/resources/settings/site_settings/site_details.html File chrome/browser/resources/settings/site_settings/site_details.html (right): https://codereview.chromium.org/2512613003/diff/1/chrome/browser/resources/settings/site_settings/site_details.html#newcode6 chrome/browser/resources/settings/site_settings/site_details.html:6: <link rel="import" href="chrome://resources/polymer/v1_0/paper-item/paper-item.html"> On 2016/11/17 23:59:28, dpapad wrote: > ...
4 years, 1 month ago (2016-11-18 02:09:43 UTC) #14
Dan Beam
lgtm https://codereview.chromium.org/2512613003/diff/20001/chrome/test/data/webui/settings/site_details_tests.js File chrome/test/data/webui/settings/site_details_tests.js (right): https://codereview.chromium.org/2512613003/diff/20001/chrome/test/data/webui/settings/site_details_tests.js#newcode146 chrome/test/data/webui/settings/site_details_tests.js:146: //expect usage to not be rendered I don't ...
4 years, 1 month ago (2016-11-18 16:48:07 UTC) #23
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/2512613003/20001
4 years, 1 month ago (2016-11-18 19:38:12 UTC) #26
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 1 month ago (2016-11-18 20:12:00 UTC) #28
commit-bot: I haz the power
4 years, 1 month ago (2016-11-18 20:14:22 UTC) #30
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/2507bc013bac421e3775d7119322aced956b633a
Cr-Commit-Position: refs/heads/master@{#433278}

Powered by Google App Engine
This is Rietveld 408576698