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

Issue 2338223003: Unassociating MediaSession from media players (in blink & content) (Closed)

Created:
4 years, 3 months ago by Zhiqiang Zhang (Slow)
Modified:
4 years, 3 months ago
CC:
avayvod+watch_chromium.org, blink-reviews, blink-reviews-api_chromium.org, chromium-reviews, creis+watch_chromium.org, darin-cc_chromium.org, dglazkov+blink, feature-media-reviews_chromium.org, haraken, jam, kinuko+watch, mcasas+watch+vc_chromium.org, miu+watch_chromium.org, mlamouri+watch-content_chromium.org, mlamouri+watch-media_chromium.org, nasko+codewatch_chromium.org, posciak+watch_chromium.org, davve
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Unassociating MediaSession from media players (in blink & content) Since media elements no long joins MediaSession, we should decouple them. This is part of a greater effort of making MediaSession API implementation in sync with the spec. https://docs.google.com/a/google.com/document/d/1RNaWRpEDCGfDI5HEmMYxqA2QaD2eAOuhTlmuKoWMA8Y/edit?usp=sharing BUG=646906 Committed: https://crrev.com/f85a8f824b6910c68aebca56f3dcac00bc473147 Cr-Commit-Position: refs/heads/master@{#420418}

Patch Set 1 #

Patch Set 2 : rebased onto master #

Patch Set 3 : rebased #

Patch Set 4 : fixed tests #

Patch Set 5 : fixed tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -204 lines) Patch
M chrome/browser/media/android/remote/remote_media_player_bridge.cc View 1 chunk +1 line, -5 lines 0 comments Download
M content/browser/media/android/browser_media_player_manager.cc View 1 2 2 chunks +2 lines, -3 lines 0 comments Download
M content/browser/media/android/media_player_renderer.cc View 1 chunk +1 line, -2 lines 0 comments Download
M content/common/media/media_player_messages_android.h View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M content/renderer/media/android/renderer_media_player_manager.h View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M content/renderer/media/android/renderer_media_player_manager.cc View 1 2 2 chunks +1 line, -3 lines 0 comments Download
M content/renderer/media/android/webmediaplayer_android.h View 1 2 1 chunk +0 lines, -7 lines 0 comments Download
M content/renderer/media/android/webmediaplayer_android.cc View 1 2 3 chunks +1 line, -8 lines 0 comments Download
M content/renderer/render_frame_impl.h View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 1 2 2 chunks +2 lines, -3 lines 0 comments Download
M media/base/android/media_player_android.h View 4 chunks +1 line, -20 lines 0 comments Download
M media/base/android/media_player_android.cc View 1 chunk +1 line, -3 lines 0 comments Download
M media/base/android/media_player_bridge.h View 1 chunk +1 line, -2 lines 0 comments Download
M media/base/android/media_player_bridge.cc View 1 chunk +2 lines, -4 lines 0 comments Download
M media/base/android/media_player_bridge_unittest.cc View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
M media/base/android/media_source_player.h View 1 chunk +1 line, -2 lines 0 comments Download
M media/base/android/media_source_player.cc View 1 chunk +2 lines, -4 lines 0 comments Download
M media/base/android/media_source_player_unittest.cc View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
M media/blink/renderer_media_player_interface.h View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M media/blink/webmediaplayer_cast_android.cc View 1 2 2 chunks +1 line, -3 lines 0 comments Download
M media/blink/webmediaplayer_impl_unittest.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M media/blink/webmediaplayer_params.h View 4 chunks +1 line, -7 lines 0 comments Download
M media/blink/webmediaplayer_params.cc View 2 chunks +2 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/modules/mediasession/BUILD.gn View 1 1 chunk +0 lines, -2 lines 0 comments Download
D third_party/WebKit/Source/modules/mediasession/HTMLMediaElementMediaSession.h View 1 chunk +0 lines, -36 lines 0 comments Download
D third_party/WebKit/Source/modules/mediasession/HTMLMediaElementMediaSession.cpp View 1 chunk +0 lines, -55 lines 0 comments Download
D third_party/WebKit/Source/modules/mediasession/HTMLMediaElementMediaSession.idl View 1 chunk +0 lines, -11 lines 0 comments Download
M third_party/WebKit/Source/modules/modules_idl_files.gni View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp View 2 chunks +1 line, -6 lines 0 comments Download
M third_party/WebKit/public/web/WebFrameClient.h View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 27 (12 generated)
Zhiqiang Zhang (Slow)
4 years, 3 months ago (2016-09-14 17:04:57 UTC) #3
DaleCurtis
Nice cleanup, media/ lgtm
4 years, 3 months ago (2016-09-14 19:32:35 UTC) #5
whywhat
huh, the code I was going to get inspired from is going away... modules/mediasession lgtm ...
4 years, 3 months ago (2016-09-14 22:51:14 UTC) #6
mlamouri (slow - plz ping)
lgtm - thanks zqzhang@ :) Can you CC davve@opera.com and add foolip@ as a reviewer ...
4 years, 3 months ago (2016-09-15 10:34:14 UTC) #7
Zhiqiang Zhang (Slow)
+foolip to review: WebKit/.../FrameLoaderClientImpl.cpp WebKit/.../WebFrameClient.h +mkwst to review: media_player_messages_android.h +clamy to review: render_frame_impl.*
4 years, 3 months ago (2016-09-15 13:12:47 UTC) #9
Zhiqiang Zhang (Slow)
4 years, 3 months ago (2016-09-15 13:17:22 UTC) #10
clamy
content/ lgtm. Don't forget to add a reviewer for the content IPC changes.
4 years, 3 months ago (2016-09-15 13:19:45 UTC) #11
Zhiqiang Zhang (Slow)
+tsepez for reviewing IPC changes. Friendly ping! foolip@, can you approve changes in third_party/WebKit?
4 years, 3 months ago (2016-09-22 09:28:15 UTC) #13
foolip
On 2016/09/22 09:28:15, Zhiqiang Zhang wrote: > +tsepez for reviewing IPC changes. > > Friendly ...
4 years, 3 months ago (2016-09-22 11:23:55 UTC) #14
Tom Sepez
Message LGTM.
4 years, 3 months ago (2016-09-22 16:50:56 UTC) #15
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/2338223003/40001
4 years, 3 months ago (2016-09-22 17:10:46 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/282704)
4 years, 3 months ago (2016-09-22 17:29:20 UTC) #20
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/2338223003/80001
4 years, 3 months ago (2016-09-22 18:02:50 UTC) #23
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 3 months ago (2016-09-22 19:12:37 UTC) #25
commit-bot: I haz the power
4 years, 3 months ago (2016-09-22 19:15:28 UTC) #27
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/f85a8f824b6910c68aebca56f3dcac00bc473147
Cr-Commit-Position: refs/heads/master@{#420418}

Powered by Google App Engine
This is Rietveld 408576698