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

Issue 249633002: Detect <link rel='manifest'> and notify embedder. (Closed)

Created:
6 years, 8 months ago by mlamouri (slow - plz ping)
Modified:
6 years, 7 months ago
Reviewers:
abarth-chromium
CC:
blink-reviews, sof, eae+blinkwatch, dglazkov+blink, adamk+blink_chromium.org, Inactive, ojan, rwlbuis
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Detect <link rel='manifest'> and notify embedder. WebFrameClient gets a dispatchManifestChange method that will be called by the FrameLoaderClient when the manifest information might have changed. The embedder is not aware of the manifest URL. BUG=366145 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=173664

Patch Set 1 #

Patch Set 2 : ready with tests #

Patch Set 3 : error 500 #

Total comments: 6

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+183 lines, -3 lines) Patch
M Source/core/core.gypi View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/html/HTMLLinkElement.cpp View 1 2 3 2 chunks +5 lines, -2 lines 0 comments Download
A Source/core/html/LinkManifest.h View 1 2 3 1 chunk +37 lines, -0 lines 0 comments Download
A Source/core/html/LinkManifest.cpp View 1 2 3 1 chunk +47 lines, -0 lines 0 comments Download
M Source/core/html/LinkRelAttribute.h View 2 chunks +2 lines, -0 lines 0 comments Download
M Source/core/html/LinkRelAttribute.cpp View 2 chunks +3 lines, -0 lines 0 comments Download
M Source/core/html/LinkResource.h View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M Source/core/loader/FrameLoaderClient.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M Source/platform/RuntimeEnabledFeatures.in View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M Source/web/FrameLoaderClientImpl.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M Source/web/FrameLoaderClientImpl.cpp View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M Source/web/tests/WebFrameTest.cpp View 1 2 3 1 chunk +25 lines, -0 lines 0 comments Download
A Source/web/tests/data/link-manifest-change.html View 1 2 3 1 chunk +45 lines, -0 lines 0 comments Download
M public/web/WebFrameClient.h View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
mlamouri (slow - plz ping)
All the logic regarding whether the manifest should be loaded and how to parse it ...
6 years, 7 months ago (2014-05-01 15:20:52 UTC) #1
abarth-chromium
https://codereview.chromium.org/249633002/diff/40001/Source/web/FrameLoaderClientImpl.cpp File Source/web/FrameLoaderClientImpl.cpp (right): https://codereview.chromium.org/249633002/diff/40001/Source/web/FrameLoaderClientImpl.cpp#newcode812 Source/web/FrameLoaderClientImpl.cpp:812: m_webFrame->client()->didChangeManifest(m_webFrame); Why not pass the manifest URL along in ...
6 years, 7 months ago (2014-05-01 17:51:15 UTC) #2
mlamouri (slow - plz ping)
https://codereview.chromium.org/249633002/diff/40001/Source/web/FrameLoaderClientImpl.cpp File Source/web/FrameLoaderClientImpl.cpp (right): https://codereview.chromium.org/249633002/diff/40001/Source/web/FrameLoaderClientImpl.cpp#newcode812 Source/web/FrameLoaderClientImpl.cpp:812: m_webFrame->client()->didChangeManifest(m_webFrame); On 2014/05/01 17:51:16, abarth wrote: > Why not ...
6 years, 7 months ago (2014-05-01 18:00:09 UTC) #3
abarth-chromium
On 2014/05/01 18:00:09, Mounir Lamouri wrote: > I tried to stay consistent with how icons ...
6 years, 7 months ago (2014-05-01 18:10:24 UTC) #4
mlamouri (slow - plz ping)
I've updated the patch following our discussion, PTAL. For the records, we discussed about the ...
6 years, 7 months ago (2014-05-08 16:41:23 UTC) #5
abarth-chromium
lgtm
6 years, 7 months ago (2014-05-08 16:45:11 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mlamouri@chromium.org/249633002/60001
6 years, 7 months ago (2014-05-08 16:46:03 UTC) #7
commit-bot: I haz the power
6 years, 7 months ago (2014-05-08 18:47:52 UTC) #8
Message was sent while issue was closed.
Change committed as 173664

Powered by Google App Engine
This is Rietveld 408576698