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

Issue 1928243002: MD History: Only load needed paper-icon-buttons instead of whole set of icons (Closed)

Created:
4 years, 7 months ago by lshang
Modified:
4 years, 7 months ago
Reviewers:
tsergeant, michaelpg
CC:
chromium-reviews, Patrick Dubroy, michaelpg+watch-md-ui_chromium.org, dbeam+watch-history_chromium.org, pam+watch_chromium.org, arv+watch_chromium.org, chrome-apps-syd-reviews_chromium.org, Dan Beam
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

MD History: Only load needed paper-icon-buttons instead of whole set of icons Use common icons in cr_elements/icons.html which uses polyicon to pick out needed paper-icon-buttons and make icon sets that contain svg icons for those icons, instead of load the whole set of icons. CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/c84812a9ef3ff011616640084a8d1bb4b2caeac6 Cr-Commit-Position: refs/heads/master@{#393439}

Patch Set 1 : #

Patch Set 2 : change cr_search_field icons #

Total comments: 7

Patch Set 3 : rebase #

Patch Set 4 : use cr-icons in md_history #

Patch Set 5 : format #

Total comments: 8

Patch Set 6 : update after rebase & addressing review comments #

Patch Set 7 : remove history_icons.html #

Patch Set 8 : change more icons #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -8 lines) Patch
M chrome/browser/resources/md_history/history_item.html View 1 2 3 4 5 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/resources/md_history/history_toolbar.html View 1 2 3 4 5 6 7 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/resources/md_history/synced_device_card.html View 1 2 3 4 5 6 7 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/resources/md_history/synced_device_card.js View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M ui/webui/resources/cr_elements/icons.html View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 34 (14 generated)
lshang
PTAL thanks!
4 years, 7 months ago (2016-04-29 04:02:41 UTC) #3
tsergeant
md_history lgtm. +dbeam@ for cr_elements https://codereview.chromium.org/1928243002/diff/40001/ui/webui/resources/cr_elements/cr_search_field/cr_search_icons.html File ui/webui/resources/cr_elements/cr_search_field/cr_search_icons.html (right): https://codereview.chromium.org/1928243002/diff/40001/ui/webui/resources/cr_elements/cr_search_field/cr_search_icons.html#newcode5 ui/webui/resources/cr_elements/cr_search_field/cr_search_icons.html:5: <iron-iconset-svg size="20" name="cr-search-icons"> You ...
4 years, 7 months ago (2016-05-02 16:46:46 UTC) #5
Dan Beam
i think it makes more sense for michaelpg@ to look at this as he's been ...
4 years, 7 months ago (2016-05-03 02:35:24 UTC) #7
michaelpg
NLGTM +1 for doing this, but the sizing looks wrong. Does it look OK when ...
4 years, 7 months ago (2016-05-03 02:44:34 UTC) #8
michaelpg
On 2016/05/03 02:44:34, michaelpg wrote: > NLGTM "no lgtm"? > > +1 for doing this, ...
4 years, 7 months ago (2016-05-03 02:45:06 UTC) #9
michaelpg
On 2016/05/03 02:45:06, michaelpg wrote: > On 2016/05/03 02:44:34, michaelpg wrote: > > NLGTM > ...
4 years, 7 months ago (2016-05-03 02:45:42 UTC) #10
michaelpg
On 2016/05/03 02:45:42, michaelpg wrote: > On 2016/05/03 02:45:06, michaelpg wrote: > > On 2016/05/03 ...
4 years, 7 months ago (2016-05-03 02:45:57 UTC) #11
michaelpg
https://codereview.chromium.org/1928243002/diff/40001/chrome/browser/resources/md_history/history_icons.html File chrome/browser/resources/md_history/history_icons.html (right): https://codereview.chromium.org/1928243002/diff/40001/chrome/browser/resources/md_history/history_icons.html#newcode1 chrome/browser/resources/md_history/history_icons.html:1: <link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.html"> Unused import. https://codereview.chromium.org/1928243002/diff/40001/ui/webui/resources/cr_elements/cr_search_field/cr_search_icons.html File ui/webui/resources/cr_elements/cr_search_field/cr_search_icons.html (right): ...
4 years, 7 months ago (2016-05-05 15:04:52 UTC) #12
lshang
On 2016/05/05 15:04:52, michaelpg wrote: > https://codereview.chromium.org/1928243002/diff/40001/chrome/browser/resources/md_history/history_icons.html > File chrome/browser/resources/md_history/history_icons.html (right): > > https://codereview.chromium.org/1928243002/diff/40001/chrome/browser/resources/md_history/history_icons.html#newcode1 > ...
4 years, 7 months ago (2016-05-09 09:03:46 UTC) #13
lshang
Hi tsergeant@ michaelpg@, I have rebased this CL and changed to use the common icons ...
4 years, 7 months ago (2016-05-11 06:39:02 UTC) #17
michaelpg
We landed another change a couple days ago just to simplify naming conventions, I pointed ...
4 years, 7 months ago (2016-05-11 16:50:48 UTC) #18
lshang
Sorry for missing the update lately. I've updated the name. PTAL thanks! https://codereview.chromium.org/1928243002/diff/100001/chrome/browser/resources/md_history/history_icons.html File chrome/browser/resources/md_history/history_icons.html ...
4 years, 7 months ago (2016-05-12 04:30:26 UTC) #19
michaelpg
lgtm
4 years, 7 months ago (2016-05-12 06:26:58 UTC) #20
tsergeant
Looking good! There are a couple more icons that can be converted at the same ...
4 years, 7 months ago (2016-05-12 06:36:34 UTC) #21
lshang
On 2016/05/12 06:36:34, tsergeant wrote: > Looking good! > > There are a couple more ...
4 years, 7 months ago (2016-05-12 12:57:01 UTC) #23
michaelpg
slgtm, thanks for doing this!
4 years, 7 months ago (2016-05-12 16:29:35 UTC) #24
tsergeant
lgtm!
4 years, 7 months ago (2016-05-12 23:25:45 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1928243002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1928243002/160001
4 years, 7 months ago (2016-05-13 03:04:40 UTC) #30
commit-bot: I haz the power
Committed patchset #8 (id:160001)
4 years, 7 months ago (2016-05-13 03:08:24 UTC) #32
commit-bot: I haz the power
4 years, 7 months ago (2016-05-13 03:09:59 UTC) #34
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/c84812a9ef3ff011616640084a8d1bb4b2caeac6
Cr-Commit-Position: refs/heads/master@{#393439}

Powered by Google App Engine
This is Rietveld 408576698