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

Issue 2013813002: Implement MediaMetadata artwork in Blink (Closed)

Created:
4 years, 7 months ago by Zhiqiang Zhang (Slow)
Modified:
4 years, 6 months ago
CC:
blink-reviews, blink-reviews-api_chromium.org, chromium-reviews, dglazkov+blink, eric.carlson_apple.com, feature-media-reviews_chromium.org, haraken, mlamouri+watch-blink_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Implement MediaMetadata artwork in Blink This CL adds artwork in MediaMetadata in Blink. The artwork info will be propagated to the browser through MediaMetadata, and we will finally fetch the image and display it in media notification. Discussion for the spec: https://github.com/whatwg/mediasession/pull/129 Related CLs: https://codereview.chromium.org/2015433003/ https://codereview.chromium.org/2014553002/ https://codereview.chromium.org/2009243002/ BUG=616411 Committed: https://crrev.com/8ce5f8dc4a4337cd0d486504413ea0f3be17ba85 Cr-Commit-Position: refs/heads/master@{#398922}

Patch Set 1 #

Patch Set 2 : fixed tests #

Total comments: 14

Patch Set 3 : addressed comments #

Total comments: 15

Patch Set 4 : upload CL to run tests on desktop #

Patch Set 5 : fixed nits, fixed desktop build, added layout tests #

Patch Set 6 : removed the copy of WebMediaMetadata from MediaMetadata #

Total comments: 12

Patch Set 7 : addressed comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+279 lines, -19 lines) Patch
A third_party/WebKit/LayoutTests/media/mediasession/mediaartwork.html View 1 2 3 4 1 chunk +48 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/media/mediasession/mediaartwork-expected.txt View 1 2 3 4 1 chunk +8 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/media/mediasession/mediasessionmetadata.html View 1 2 3 4 5 6 2 chunks +16 lines, -1 line 0 comments Download
A third_party/WebKit/LayoutTests/virtual/mediasession/media/mediasession/mediaartwork-expected.txt View 1 2 3 4 5 6 1 chunk +8 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/mediasession/MediaArtwork.h View 1 chunk +41 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/mediasession/MediaArtwork.cpp View 1 2 1 chunk +41 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/mediasession/MediaArtwork.idl View 1 2 3 4 5 6 1 chunk +16 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/modules/mediasession/MediaArtworkInit.idl View 1 2 3 4 5 6 1 chunk +12 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/mediasession/MediaMetadata.h View 1 2 3 4 5 6 2 chunks +12 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/modules/mediasession/MediaMetadata.cpp View 1 2 3 4 5 6 1 chunk +37 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/modules/mediasession/MediaMetadata.idl View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/mediasession/MediaMetadataInit.idl View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/mediasession/MediaSession.cpp View 1 2 3 4 5 6 1 chunk +6 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/mediasession/MediaSessionTest.cpp View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/modules.gypi View 1 2 3 4 5 6 4 chunks +6 lines, -0 lines 0 comments Download
A third_party/WebKit/public/platform/modules/mediasession/WebMediaArtwork.h View 1 2 1 chunk +21 lines, -0 lines 0 comments Download
M third_party/WebKit/public/platform/modules/mediasession/WebMediaMetadata.h View 1 2 3 4 5 6 2 chunks +3 lines, -0 lines 0 comments Download

Messages

Total messages: 26 (11 generated)
Zhiqiang Zhang (Slow)
4 years, 6 months ago (2016-05-31 14:50:09 UTC) #3
mlamouri (slow - plz ping)
It's only a first pass because my brain is fried thanks to jetlag. In addition ...
4 years, 6 months ago (2016-05-31 16:41:50 UTC) #4
Zhiqiang Zhang (Slow)
PTAL. Addressed comments. https://codereview.chromium.org/2013813002/diff/20001/third_party/WebKit/Source/modules/mediasession/MediaArtwork.cpp File third_party/WebKit/Source/modules/mediasession/MediaArtwork.cpp (right): https://codereview.chromium.org/2013813002/diff/20001/third_party/WebKit/Source/modules/mediasession/MediaArtwork.cpp#newcode22 third_party/WebKit/Source/modules/mediasession/MediaArtwork.cpp:22: m_data.src = src; On 2016/05/31 16:41:50, ...
4 years, 6 months ago (2016-06-01 19:40:57 UTC) #8
haraken
Drive-by. https://codereview.chromium.org/2013813002/diff/80001/third_party/WebKit/Source/modules/mediasession/MediaArtwork.idl File third_party/WebKit/Source/modules/mediasession/MediaArtwork.idl (right): https://codereview.chromium.org/2013813002/diff/80001/third_party/WebKit/Source/modules/mediasession/MediaArtwork.idl#newcode5 third_party/WebKit/Source/modules/mediasession/MediaArtwork.idl:5: [ Add a link to the spec. https://codereview.chromium.org/2013813002/diff/80001/third_party/WebKit/Source/modules/mediasession/MediaArtworkInit.idl ...
4 years, 6 months ago (2016-06-02 01:08:30 UTC) #10
mlamouri (slow - plz ping)
Looks good! You might want to add some LayoutTests though :) https://codereview.chromium.org/2013813002/diff/80001/third_party/WebKit/Source/modules/mediasession/MediaMetadata.cpp File third_party/WebKit/Source/modules/mediasession/MediaMetadata.cpp (right): ...
4 years, 6 months ago (2016-06-02 16:10:07 UTC) #11
Zhiqiang Zhang (Slow)
PTAL. Addressed reviewers' comments, and added layout tests as well. https://codereview.chromium.org/2013813002/diff/80001/third_party/WebKit/Source/modules/mediasession/MediaArtwork.idl File third_party/WebKit/Source/modules/mediasession/MediaArtwork.idl (right): https://codereview.chromium.org/2013813002/diff/80001/third_party/WebKit/Source/modules/mediasession/MediaArtwork.idl#newcode5 ...
4 years, 6 months ago (2016-06-03 16:07:31 UTC) #12
mlamouri (slow - plz ping)
sgtm. Let's see how the spec discussion goes. We can always land this and iterate ...
4 years, 6 months ago (2016-06-08 13:06:18 UTC) #13
mlamouri (slow - plz ping)
I talked to foolip@ and we agreed it's fine to lgtm and land this and ...
4 years, 6 months ago (2016-06-09 10:54:03 UTC) #14
mlamouri (slow - plz ping)
haraken@, can you look at the V8Binding.h change?
4 years, 6 months ago (2016-06-09 10:54:23 UTC) #15
haraken
LGTM https://codereview.chromium.org/2013813002/diff/140001/third_party/WebKit/Source/modules/mediasession/MediaArtwork.idl File third_party/WebKit/Source/modules/mediasession/MediaArtwork.idl (right): https://codereview.chromium.org/2013813002/diff/140001/third_party/WebKit/Source/modules/mediasession/MediaArtwork.idl#newcode5 third_party/WebKit/Source/modules/mediasession/MediaArtwork.idl:5: // TODO(zqzhang): add link to the spec. Don't ...
4 years, 6 months ago (2016-06-09 11:17:44 UTC) #16
Zhiqiang Zhang (Slow)
https://codereview.chromium.org/2013813002/diff/140001/third_party/WebKit/Source/modules/mediasession/MediaArtwork.idl File third_party/WebKit/Source/modules/mediasession/MediaArtwork.idl (right): https://codereview.chromium.org/2013813002/diff/140001/third_party/WebKit/Source/modules/mediasession/MediaArtwork.idl#newcode5 third_party/WebKit/Source/modules/mediasession/MediaArtwork.idl:5: // TODO(zqzhang): add link to the spec. On 2016/06/09 ...
4 years, 6 months ago (2016-06-09 15:30:13 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2013813002/180001
4 years, 6 months ago (2016-06-09 15:30:49 UTC) #21
commit-bot: I haz the power
Committed patchset #7 (id:180001)
4 years, 6 months ago (2016-06-09 17:10:04 UTC) #23
commit-bot: I haz the power
CQ bit was unchecked
4 years, 6 months ago (2016-06-09 17:10:23 UTC) #24
commit-bot: I haz the power
4 years, 6 months ago (2016-06-09 17:11:56 UTC) #26
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/8ce5f8dc4a4337cd0d486504413ea0f3be17ba85
Cr-Commit-Position: refs/heads/master@{#398922}

Powered by Google App Engine
This is Rietveld 408576698