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

Issue 1217743003: Add stub for assigning media session to media elements (Closed)

Created:
5 years, 5 months ago by davve
Modified:
5 years, 5 months ago
CC:
blink-reviews, eric.carlson_apple.com, feature-media-reviews_chromium.org, mlamouri+watch-blink_chromium.org, philipj_slow
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Add stub for assigning media session to media elements Introduces a partial IDL interface for HTMLMediaElement containing an optional media session attribute implemented as a supplement to media elements. BUG=497735 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=198272

Patch Set 1 #

Patch Set 2 : Re-uploaded with --no-find-copies #

Patch Set 3 : An attempt at being oilpan compliant #

Patch Set 4 : Oilpan #

Patch Set 5 : ... and add trace methods #

Patch Set 6 : Re-upload #

Total comments: 13

Patch Set 7 : Address review comments #

Patch Set 8 : Address review comments round #2 #

Total comments: 2

Patch Set 9 : Add type checking to partial interface extening HTMLMediaElement #

Total comments: 2

Patch Set 10 : Some .idl cosmetics on top #

Patch Set 11 : Update expected files with new line numbers #

Total comments: 9

Patch Set 12 : Review comments round #3 - idl issues, gypi issues, doc issues #

Unified diffs Side-by-side diffs Delta from patch set Stats (+140 lines, -3 lines) Patch
A LayoutTests/media/mediasession/htmlmediaelement-set-session.html View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +26 lines, -0 lines 0 comments Download
A LayoutTests/media/mediasession/htmlmediaelement-set-session-expected.txt View 1 chunk +4 lines, -0 lines 0 comments Download
M LayoutTests/media/mediasession/mediasession-constructor.html View 1 2 3 4 5 6 1 chunk +0 lines, -1 line 0 comments Download
A LayoutTests/virtual/mediasession/media/mediasession/htmlmediaelement-set-session-expected.txt View 1 2 3 4 5 6 7 8 9 10 1 chunk +5 lines, -0 lines 0 comments Download
M LayoutTests/virtual/mediasession/media/mediasession/mediasession-constructor-expected.txt View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/mediasession/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
A Source/modules/mediasession/HTMLMediaElementMediaSession.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +36 lines, -0 lines 0 comments Download
A Source/modules/mediasession/HTMLMediaElementMediaSession.cpp View 1 2 3 4 5 6 7 1 chunk +49 lines, -0 lines 0 comments Download
A Source/modules/mediasession/HTMLMediaElementMediaSession.idl View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +12 lines, -0 lines 0 comments Download
M Source/modules/mediasession/MediaSession.idl View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -0 lines 0 comments Download
M Source/modules/modules.gypi View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +4 lines, -1 line 0 comments Download

Messages

Total messages: 26 (6 generated)
davve
I will try out the oilpan side of things but otherwise I think the general ...
5 years, 5 months ago (2015-06-30 10:06:27 UTC) #2
davve
Adding sof as reviewer for oilpan related stuff on HTMLMediaElementMediaSession.
5 years, 5 months ago (2015-07-01 14:51:53 UTC) #4
sof
oilpan lgtm https://codereview.chromium.org/1217743003/diff/100001/LayoutTests/media/mediasession/htmlmediaelement-set-session-expected.txt File LayoutTests/media/mediasession/htmlmediaelement-set-session-expected.txt (right): https://codereview.chromium.org/1217743003/diff/100001/LayoutTests/media/mediasession/htmlmediaelement-set-session-expected.txt#newcode2 LayoutTests/media/mediasession/htmlmediaelement-set-session-expected.txt:2: FAIL HTMLMediaElement set session assert_true: Run either ...
5 years, 5 months ago (2015-07-01 15:18:06 UTC) #5
davve
https://codereview.chromium.org/1217743003/diff/100001/LayoutTests/media/mediasession/htmlmediaelement-set-session-expected.txt File LayoutTests/media/mediasession/htmlmediaelement-set-session-expected.txt (right): https://codereview.chromium.org/1217743003/diff/100001/LayoutTests/media/mediasession/htmlmediaelement-set-session-expected.txt#newcode2 LayoutTests/media/mediasession/htmlmediaelement-set-session-expected.txt:2: FAIL HTMLMediaElement set session assert_true: Run either manually by ...
5 years, 5 months ago (2015-07-01 15:27:55 UTC) #6
sof
On 2015/07/01 15:27:55, David Vest wrote: > https://codereview.chromium.org/1217743003/diff/100001/LayoutTests/media/mediasession/htmlmediaelement-set-session-expected.txt > File LayoutTests/media/mediasession/htmlmediaelement-set-session-expected.txt > (right): > > ...
5 years, 5 months ago (2015-07-01 15:31:40 UTC) #7
davve
On 2015/07/01 15:31:40, sof wrote: > On 2015/07/01 15:27:55, David Vest wrote: > > > ...
5 years, 5 months ago (2015-07-01 15:57:12 UTC) #8
sof
On 2015/07/01 15:57:12, David Vest wrote: > On 2015/07/01 15:31:40, sof wrote: > > On ...
5 years, 5 months ago (2015-07-02 06:45:04 UTC) #9
philipj_slow
https://codereview.chromium.org/1217743003/diff/100001/Source/modules/mediasession/HTMLMediaElementMediaSession.cpp File Source/modules/mediasession/HTMLMediaElementMediaSession.cpp (right): https://codereview.chromium.org/1217743003/diff/100001/Source/modules/mediasession/HTMLMediaElementMediaSession.cpp#newcode12 Source/modules/mediasession/HTMLMediaElementMediaSession.cpp:12: HTMLMediaElementMediaSession& thisElement = HTMLMediaElementMediaSession::from(mediaElement); This is as in modules/encryptedmedia, ...
5 years, 5 months ago (2015-07-02 08:53:15 UTC) #10
mlamouri (slow - plz ping)
https://codereview.chromium.org/1217743003/diff/100001/LayoutTests/media/mediasession/htmlmediaelement-set-session.html File LayoutTests/media/mediasession/htmlmediaelement-set-session.html (right): https://codereview.chromium.org/1217743003/diff/100001/LayoutTests/media/mediasession/htmlmediaelement-set-session.html#newcode5 LayoutTests/media/mediasession/htmlmediaelement-set-session.html:5: <div id="log"></div> nit: do you need that <div>? https://codereview.chromium.org/1217743003/diff/100001/Source/modules/mediasession/HTMLMediaElementMediaSession.idl ...
5 years, 5 months ago (2015-07-02 09:59:04 UTC) #11
davve
PTAL https://codereview.chromium.org/1217743003/diff/100001/LayoutTests/media/mediasession/htmlmediaelement-set-session.html File LayoutTests/media/mediasession/htmlmediaelement-set-session.html (right): https://codereview.chromium.org/1217743003/diff/100001/LayoutTests/media/mediasession/htmlmediaelement-set-session.html#newcode5 LayoutTests/media/mediasession/htmlmediaelement-set-session.html:5: <div id="log"></div> On 2015/07/02 09:59:04, Mounir Lamouri wrote: ...
5 years, 5 months ago (2015-07-02 12:15:44 UTC) #12
philipj_slow
https://codereview.chromium.org/1217743003/diff/140001/Source/modules/mediasession/HTMLMediaElementMediaSession.idl File Source/modules/mediasession/HTMLMediaElementMediaSession.idl (right): https://codereview.chromium.org/1217743003/diff/140001/Source/modules/mediasession/HTMLMediaElementMediaSession.idl#newcode5 Source/modules/mediasession/HTMLMediaElementMediaSession.idl:5: // https://mediasession.spec.whatwg.org/#extensions-to-the-htmlmediaelement-interface I like a blank line after the ...
5 years, 5 months ago (2015-07-02 12:50:48 UTC) #13
philipj_slow
https://codereview.chromium.org/1217743003/diff/160001/Source/modules/mediasession/MediaSession.idl File Source/modules/mediasession/MediaSession.idl (right): https://codereview.chromium.org/1217743003/diff/160001/Source/modules/mediasession/MediaSession.idl#newcode5 Source/modules/mediasession/MediaSession.idl:5: // https://mediasession.spec.whatwg.org/#mediasession Another pet peeve is to link to ...
5 years, 5 months ago (2015-07-02 12:51:38 UTC) #14
davve
https://codereview.chromium.org/1217743003/diff/140001/Source/modules/mediasession/HTMLMediaElementMediaSession.idl File Source/modules/mediasession/HTMLMediaElementMediaSession.idl (right): https://codereview.chromium.org/1217743003/diff/140001/Source/modules/mediasession/HTMLMediaElementMediaSession.idl#newcode5 Source/modules/mediasession/HTMLMediaElementMediaSession.idl:5: // https://mediasession.spec.whatwg.org/#extensions-to-the-htmlmediaelement-interface On 2015/07/02 12:50:48, philipj wrote: > I ...
5 years, 5 months ago (2015-07-02 14:40:28 UTC) #15
philipj_slow
LGTM % nits Mounir, Anton? https://codereview.chromium.org/1217743003/diff/200001/LayoutTests/media/mediasession/htmlmediaelement-set-session.html File LayoutTests/media/mediasession/htmlmediaelement-set-session.html (right): https://codereview.chromium.org/1217743003/diff/200001/LayoutTests/media/mediasession/htmlmediaelement-set-session.html#newcode12 LayoutTests/media/mediasession/htmlmediaelement-set-session.html:12: assert_true(mediaSession instanceof MediaSession); I ...
5 years, 5 months ago (2015-07-02 20:22:49 UTC) #16
whywhat
lgtm https://codereview.chromium.org/1217743003/diff/200001/LayoutTests/media/mediasession/htmlmediaelement-set-session.html File LayoutTests/media/mediasession/htmlmediaelement-set-session.html (right): https://codereview.chromium.org/1217743003/diff/200001/LayoutTests/media/mediasession/htmlmediaelement-set-session.html#newcode8 LayoutTests/media/mediasession/htmlmediaelement-set-session.html:8: "Run either manually by passing the MediaSession flag ...
5 years, 5 months ago (2015-07-02 22:04:54 UTC) #17
davve
https://codereview.chromium.org/1217743003/diff/200001/LayoutTests/media/mediasession/htmlmediaelement-set-session.html File LayoutTests/media/mediasession/htmlmediaelement-set-session.html (right): https://codereview.chromium.org/1217743003/diff/200001/LayoutTests/media/mediasession/htmlmediaelement-set-session.html#newcode8 LayoutTests/media/mediasession/htmlmediaelement-set-session.html:8: "Run either manually by passing the MediaSession flag or ...
5 years, 5 months ago (2015-07-03 08:25:11 UTC) #18
davve
https://codereview.chromium.org/1217743003/diff/200001/LayoutTests/media/mediasession/htmlmediaelement-set-session.html File LayoutTests/media/mediasession/htmlmediaelement-set-session.html (right): https://codereview.chromium.org/1217743003/diff/200001/LayoutTests/media/mediasession/htmlmediaelement-set-session.html#newcode12 LayoutTests/media/mediasession/htmlmediaelement-set-session.html:12: assert_true(mediaSession instanceof MediaSession); On 2015/07/02 20:22:49, philipj wrote: > ...
5 years, 5 months ago (2015-07-03 09:29:20 UTC) #19
mlamouri (slow - plz ping)
lgtm
5 years, 5 months ago (2015-07-03 09:30:53 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1217743003/220001
5 years, 5 months ago (2015-07-03 11:30:28 UTC) #25
commit-bot: I haz the power
5 years, 5 months ago (2015-07-03 11:33:43 UTC) #26
Message was sent while issue was closed.
Committed patchset #12 (id:220001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=198272

Powered by Google App Engine
This is Rietveld 408576698