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

Issue 1901363003: Remove support for the web manifest icon density member. (Closed)

Created:
4 years, 8 months ago by dominickn
Modified:
4 years, 8 months ago
CC:
chrome-apps-syd-reviews_chromium.org, chromium-reviews, darin-cc_chromium.org, jam, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-manifest_chromium.org, mlamouri+watch-content_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove support for the web manifest icon density member. The web manifest specification has been changed to remove the density member, as this item was poorly understood and deployed (discussion at https://github.com/w3c/manifest/issues/450). This CL removes support for the density member from Chromium. Substantive changes include: * the manifest parser ignores any density members * the manifest icon selector now purely selects icons based on their size in pixels, with the ideal and minimum sizes computed using the device's scale factor. The manifest icon selector tests are improved and clarified in this CL now that they do not need to use density. BUG=603848 Committed: https://crrev.com/eaaf62daff59322dc31bebca2933c166c3f92e88 Cr-Commit-Position: refs/heads/master@{#388946}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Rename test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+110 lines, -281 lines) Patch
M chrome/browser/manifest/manifest_icon_selector.h View 2 chunks +11 lines, -12 lines 0 comments Download
M chrome/browser/manifest/manifest_icon_selector.cc View 4 chunks +14 lines, -50 lines 0 comments Download
M chrome/browser/manifest/manifest_icon_selector_unittest.cc View 1 24 chunks +84 lines, -110 lines 0 comments Download
M content/common/manifest_manager_messages.h View 1 chunk +0 lines, -1 line 0 comments Download
M content/public/common/manifest.h View 1 chunk +0 lines, -6 lines 0 comments Download
M content/public/common/manifest.cc View 2 chunks +1 line, -4 lines 0 comments Download
M content/renderer/manifest/manifest_parser.h View 1 chunk +0 lines, -6 lines 0 comments Download
M content/renderer/manifest/manifest_parser.cc View 2 chunks +0 lines, -14 lines 0 comments Download
M content/renderer/manifest/manifest_parser_unittest.cc View 1 chunk +0 lines, -78 lines 0 comments Download

Messages

Total messages: 19 (12 generated)
dominickn
PTAL, thanks!
4 years, 8 months ago (2016-04-20 06:59:18 UTC) #3
mlamouri (slow - plz ping)
lgtm \o/ https://codereview.chromium.org/1901363003/diff/1/chrome/browser/manifest/manifest_icon_selector_unittest.cc File chrome/browser/manifest/manifest_icon_selector_unittest.cc (right): https://codereview.chromium.org/1901363003/diff/1/chrome/browser/manifest/manifest_icon_selector_unittest.cc#newcode195 chrome/browser/manifest/manifest_icon_selector_unittest.cc:195: TEST_F(ManifestIconSelectorTest, DeviceDensityFirst) { nit: change test name? ...
4 years, 8 months ago (2016-04-21 13:08:40 UTC) #9
dominickn
Thanks! +nasko: PTAL at content/ https://codereview.chromium.org/1901363003/diff/1/chrome/browser/manifest/manifest_icon_selector_unittest.cc File chrome/browser/manifest/manifest_icon_selector_unittest.cc (right): https://codereview.chromium.org/1901363003/diff/1/chrome/browser/manifest/manifest_icon_selector_unittest.cc#newcode195 chrome/browser/manifest/manifest_icon_selector_unittest.cc:195: TEST_F(ManifestIconSelectorTest, DeviceDensityFirst) { On ...
4 years, 8 months ago (2016-04-21 14:14:43 UTC) #11
nasko
content/ LGTM
4 years, 8 months ago (2016-04-21 18:42:44 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1901363003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1901363003/20001
4 years, 8 months ago (2016-04-21 23:15:26 UTC) #15
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 8 months ago (2016-04-21 23:20:17 UTC) #17
commit-bot: I haz the power
4 years, 8 months ago (2016-04-22 19:41:23 UTC) #19
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/eaaf62daff59322dc31bebca2933c166c3f92e88
Cr-Commit-Position: refs/heads/master@{#388946}

Powered by Google App Engine
This is Rietveld 408576698