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

Issue 2428523002: Add media controls to MediaSession in Blink (Closed)

Created:
4 years, 2 months ago by Zhiqiang Zhang (Slow)
Modified:
4 years, 2 months ago
CC:
blink-reviews, chromium-reviews, haraken
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add media controls to MediaSession in Blink This CL add the media control interfaces to Blink MediaSession. Explainer draft: https://github.com/WICG/mediasession/blob/master/explainer.md#media-controls BUG=656563 Committed: https://crrev.com/a61be6ec45bcd6e53525509fe4907e62b6bb5ef1 Cr-Commit-Position: refs/heads/master@{#426220}

Patch Set 1 #

Total comments: 10

Patch Set 2 : addressed Anton's comments and fixed layout tests #

Total comments: 4

Patch Set 3 : rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+145 lines, -24 lines) Patch
M third_party/WebKit/LayoutTests/fast/dom/Window/property-access-on-cached-properties-after-frame-navigated-expected.txt View 1 1 chunk +7 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/dom/Window/property-access-on-cached-properties-after-frame-removed-and-gced-expected.txt View 1 1 chunk +7 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/dom/Window/property-access-on-cached-properties-after-frame-removed-expected.txt View 1 1 chunk +7 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/dom/Window/property-access-on-cached-window-after-frame-navigated-expected.txt View 1 1 chunk +7 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/dom/Window/property-access-on-cached-window-after-frame-removed-and-gced-expected.txt View 1 1 chunk +7 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/dom/Window/property-access-on-cached-window-after-frame-removed-expected.txt View 1 1 chunk +7 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/webexposed/global-interface-listing-expected.txt View 1 2 1 chunk +15 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/events/EventTypeNames.in View 4 chunks +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/EventTargetModulesFactory.in View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/mediasession/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/mediasession/MediaSession.h View 1 2 chunks +28 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/modules/mediasession/MediaSession.cpp View 1 3 chunks +38 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/modules/mediasession/MediaSession.idl View 1 chunk +10 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/mediasession/NavigatorMediaSession.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/mediasession/NavigatorMediaSession.cpp View 1 chunk +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/mediasession/NavigatorMediaSession.idl View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 30 (13 generated)
Zhiqiang Zhang (Slow)
4 years, 2 months ago (2016-10-17 13:14:39 UTC) #6
whywhat
https://codereview.chromium.org/2428523002/diff/1/third_party/WebKit/Source/modules/mediasession/MediaSession.cpp File third_party/WebKit/Source/modules/mediasession/MediaSession.cpp (right): https://codereview.chromium.org/2428523002/diff/1/third_party/WebKit/Source/modules/mediasession/MediaSession.cpp#newcode63 third_party/WebKit/Source/modules/mediasession/MediaSession.cpp:63: // https://crbug.com/xxxxxx The link gives me 404. https://codereview.chromium.org/2428523002/diff/1/third_party/WebKit/Source/modules/mediasession/MediaSession.cpp#newcode64 third_party/WebKit/Source/modules/mediasession/MediaSession.cpp:64: ...
4 years, 2 months ago (2016-10-17 15:32:35 UTC) #7
whywhat
https://codereview.chromium.org/2428523002/diff/1/third_party/WebKit/Source/modules/mediasession/MediaSession.h File third_party/WebKit/Source/modules/mediasession/MediaSession.h (right): https://codereview.chromium.org/2428523002/diff/1/third_party/WebKit/Source/modules/mediasession/MediaSession.h#newcode33 third_party/WebKit/Source/modules/mediasession/MediaSession.h:33: // Event getters and setters. Not using DEFINE_ATTRIBUTE_EVENT_LISTENER macro ...
4 years, 2 months ago (2016-10-17 15:41:46 UTC) #8
Zhiqiang Zhang (Slow)
PTAL. Addressed Anton's comments +foolip for RS EventTypeNames.in https://codereview.chromium.org/2428523002/diff/1/third_party/WebKit/Source/modules/mediasession/MediaSession.cpp File third_party/WebKit/Source/modules/mediasession/MediaSession.cpp (right): https://codereview.chromium.org/2428523002/diff/1/third_party/WebKit/Source/modules/mediasession/MediaSession.cpp#newcode63 third_party/WebKit/Source/modules/mediasession/MediaSession.cpp:63: // ...
4 years, 2 months ago (2016-10-17 17:19:09 UTC) #10
whywhat
https://codereview.chromium.org/2428523002/diff/1/third_party/WebKit/Source/modules/mediasession/MediaSession.h File third_party/WebKit/Source/modules/mediasession/MediaSession.h (right): https://codereview.chromium.org/2428523002/diff/1/third_party/WebKit/Source/modules/mediasession/MediaSession.h#newcode33 third_party/WebKit/Source/modules/mediasession/MediaSession.h:33: // Event getters and setters. Not using DEFINE_ATTRIBUTE_EVENT_LISTENER macro ...
4 years, 2 months ago (2016-10-17 17:32:06 UTC) #13
whywhat
lgtm btw
4 years, 2 months ago (2016-10-17 17:37:24 UTC) #14
mlamouri (slow - plz ping)
lgtm
4 years, 2 months ago (2016-10-18 17:06:30 UTC) #17
whywhat
On 2016/10/17 at 17:32:06, whywhat wrote: > https://codereview.chromium.org/2428523002/diff/1/third_party/WebKit/Source/modules/mediasession/MediaSession.h > File third_party/WebKit/Source/modules/mediasession/MediaSession.h (right): > > https://codereview.chromium.org/2428523002/diff/1/third_party/WebKit/Source/modules/mediasession/MediaSession.h#newcode33 ...
4 years, 2 months ago (2016-10-18 17:25:45 UTC) #18
Zhiqiang Zhang (Slow)
Ping! foolip@, can you approve the EventTypeNames.in changes?
4 years, 2 months ago (2016-10-19 12:22:03 UTC) #19
foolip
EventTypeNames.in LGTM, left some thoughts. https://codereview.chromium.org/2428523002/diff/20001/third_party/WebKit/Source/core/events/EventTypeNames.in File third_party/WebKit/Source/core/events/EventTypeNames.in (right): https://codereview.chromium.org/2428523002/diff/20001/third_party/WebKit/Source/core/events/EventTypeNames.in#newcode201 third_party/WebKit/Source/core/events/EventTypeNames.in:201: seekbackward If this is ...
4 years, 2 months ago (2016-10-19 13:35:45 UTC) #20
Zhiqiang Zhang (Slow)
https://codereview.chromium.org/2428523002/diff/20001/third_party/WebKit/Source/core/events/EventTypeNames.in File third_party/WebKit/Source/core/events/EventTypeNames.in (right): https://codereview.chromium.org/2428523002/diff/20001/third_party/WebKit/Source/core/events/EventTypeNames.in#newcode201 third_party/WebKit/Source/core/events/EventTypeNames.in:201: seekbackward On 2016/10/19 13:35:44, foolip wrote: > If this ...
4 years, 2 months ago (2016-10-19 14:54:05 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2428523002/40001
4 years, 2 months ago (2016-10-19 14:57:38 UTC) #24
mlamouri (slow - plz ping)
On 2016/10/19 at 14:54:05, zqzhang wrote: > https://codereview.chromium.org/2428523002/diff/20001/third_party/WebKit/Source/core/events/EventTypeNames.in > File third_party/WebKit/Source/core/events/EventTypeNames.in (right): > > https://codereview.chromium.org/2428523002/diff/20001/third_party/WebKit/Source/core/events/EventTypeNames.in#newcode201 ...
4 years, 2 months ago (2016-10-19 14:57:45 UTC) #25
whywhat
On 2016/10/19 at 14:54:05, zqzhang wrote: > https://codereview.chromium.org/2428523002/diff/20001/third_party/WebKit/Source/core/events/EventTypeNames.in > File third_party/WebKit/Source/core/events/EventTypeNames.in (right): > > https://codereview.chromium.org/2428523002/diff/20001/third_party/WebKit/Source/core/events/EventTypeNames.in#newcode201 ...
4 years, 2 months ago (2016-10-19 15:00:21 UTC) #26
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 2 months ago (2016-10-19 16:33:45 UTC) #27
foolip
On 2016/10/19 14:57:45, mlamouri wrote: > On 2016/10/19 at 14:54:05, zqzhang wrote: > > > ...
4 years, 2 months ago (2016-10-20 08:11:48 UTC) #28
commit-bot: I haz the power
4 years, 2 months ago (2016-10-21 13:09:21 UTC) #30
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/a61be6ec45bcd6e53525509fe4907e62b6bb5ef1
Cr-Commit-Position: refs/heads/master@{#426220}

Powered by Google App Engine
This is Rietveld 408576698