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

Issue 1947533002: Material WebUI: create shared icon file. (Closed)

Created:
4 years, 7 months ago by michaelpg
Modified:
4 years, 7 months ago
Reviewers:
tsergeant, Dan Beam
CC:
chromium-reviews, asanka, dbeam+watch-elements_chromium.org, michaelpg+watch-md-settings_chromium.org, michaelpg+watch-md-ui_chromium.org, arv+watch_chromium.org, oshima+watch_chromium.org, dbeam+watch-settings_chromium.org, michaelpg+watch-elements_chromium.org, stevenjb+watch-md-settings_chromium.org, dbeam+watch-downloads_chromium.org, lshang
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Material WebUI: create shared icon file. This moves commonly used icons, or icons used by common CR elements, to their own file. Eventually, the goal will be for all applications to include this file and/or their own custom iconset, and we will remove PolymerElement/iron-icons from Chromium entirely. The benefit of this is loading (mostly) the icons we need on a per-app basis, instead of loading all 900 icons in every app. Until we remove PolymerElement/iron-icons, there will be some minor code duplication, but the longer-term goal of removing that 250KB in favor of per-app lists of used icons will probably result in less code in total. To keep this CL small we only update Settings and Downloads to use these; a follow-up will update other WebUI. Further follow-ups will be created by app owners to create their own per-app shared icon files. BUG=605821 R=dbeam@chromium.org,tsergeant@chromium.org CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:closure_compilation NOPRESUBMIT=true # crisper.js Committed: https://crrev.com/9867387afe61115b3e17e6a28d392ebdd3f688a1 Cr-Commit-Position: refs/heads/master@{#391627}

Patch Set 1 #

Patch Set 2 : ♬ gotta catch em all ♬ #

Patch Set 3 : policy #

Patch Set 4 : typo #

Patch Set 5 : rebase #

Patch Set 6 : crisper #

Patch Set 7 : rebase fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+123 lines, -85 lines) Patch
M chrome/browser/resources/md_downloads/crisper.js View 1 2 3 4 5 2 chunks +15 lines, -20 lines 0 comments Download
M chrome/browser/resources/md_downloads/toolbar.html View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/resources/md_downloads/vulcanized.html View 3 chunks +23 lines, -3 lines 0 comments Download
M chrome/browser/resources/settings/bluetooth_page/bluetooth_device_list_item.html View 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/resources/settings/certificate_manager_page/certificate_entry.html View 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/resources/settings/certificate_manager_page/certificate_subentry.html View 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/resources/settings/icons.html View 1 2 chunks +0 lines, -10 lines 0 comments Download
M chrome/browser/resources/settings/internet_page/internet_known_networks_page.html View 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/browser/resources/settings/search_engines_page/search_engine_entry.html View 1 2 chunks +18 lines, -16 lines 0 comments Download
M chrome/browser/resources/settings/settings_menu/settings_menu.html View 1 2 3 4 5 6 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/resources/settings/settings_ui/settings_ui.html View 1 2 3 4 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/resources/settings/site_settings/site_list.html View 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/resources/settings/site_settings/site_list.js View 1 chunk +2 lines, -2 lines 0 comments Download
M ui/webui/resources/cr_elements/cr_expand_button/cr_expand_button.html View 1 2 chunks +2 lines, -2 lines 0 comments Download
A ui/webui/resources/cr_elements/cr_icons.html View 1 chunk +25 lines, -0 lines 0 comments Download
M ui/webui/resources/cr_elements/cr_search_field/cr_search_field.html View 2 chunks +3 lines, -3 lines 0 comments Download
M ui/webui/resources/cr_elements/policy/cr_policy_indicator_behavior.js View 1 2 3 1 chunk +15 lines, -10 lines 0 comments Download
M ui/webui/resources/cr_elements/policy/cr_policy_pref_indicator.html View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M ui/webui/resources/cr_elements_resources.grdp View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (7 generated)
michaelpg
PTAL. This partially replaces https://codereview.chromium.org/1928243002/
4 years, 7 months ago (2016-05-03 14:52:27 UTC) #4
Dan Beam
what denotes a commonly used icon? more than 1 UI?
4 years, 7 months ago (2016-05-03 23:59:09 UTC) #5
michaelpg
On 2016/05/03 23:59:09, Dan Beam wrote: > what denotes a commonly used icon? more than ...
4 years, 7 months ago (2016-05-04 02:03:15 UTC) #6
Dan Beam
lgtm but I'm still a little hazy here: so are we attempting to remove iron-icons ...
4 years, 7 months ago (2016-05-04 05:04:13 UTC) #7
Dan Beam
lgtm but I'm still a little hazy here: so are we attempting to remove iron-icons ...
4 years, 7 months ago (2016-05-04 05:04:16 UTC) #8
Dan Beam
On 2016/05/04 05:04:16, Dan Beam wrote: > lgtm but I'm still a little hazy here: ...
4 years, 7 months ago (2016-05-04 05:05:07 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1947533002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1947533002/120001
4 years, 7 months ago (2016-05-04 19:46:03 UTC) #12
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 7 months ago (2016-05-04 20:41:12 UTC) #14
commit-bot: I haz the power
4 years, 7 months ago (2016-05-04 20:43:02 UTC) #16
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/9867387afe61115b3e17e6a28d392ebdd3f688a1
Cr-Commit-Position: refs/heads/master@{#391627}

Powered by Google App Engine
This is Rietveld 408576698