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

Issue 2480003002: [RemotePlayback] Keep track of source compatibility and reject prompt() correspondingly (Closed)

Created:
4 years, 1 month ago by whywhat
Modified:
4 years, 1 month ago
CC:
agrieve+watch_chromium.org, apacible+watch_chromium.org, avayvod+watch_chromium.org, blink-reviews, blink-reviews-api_chromium.org, blink-reviews-html_chromium.org, chromium-reviews, darin-cc_chromium.org, dglazkov+blink, eric.carlson_apple.com, feature-media-reviews_chromium.org, fs, gasubic, jam, mcasas+watch+vc_chromium.org, miu+watch_chromium.org, mlamouri+watch-blink_chromium.org, mlamouri+watch-media_chromium.org, mlamouri+watch-content_chromium.org, posciak+watch_chromium.org, nessy, Srirama, vcarbune.chromium, xjz+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[RemotePlayback] Keep track of source compatibility and reject prompt() correspondingly BUG=659675, 659677, 659679 TEST=manual on avayvod.github.io/remote-playback/test.html CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Committed: https://crrev.com/b485de7de811fb75f1160c23dd5b2b5a85c8a6b4 Cr-Commit-Position: refs/heads/master@{#431516}

Patch Set 1 #

Patch Set 2 : Fixed failing tests #

Total comments: 5

Patch Set 3 : Changed bool to an enum #

Patch Set 4 : Added the missing file #

Patch Set 5 : Rebased #

Total comments: 2

Patch Set 6 : Use enum instead of bool everywhere #

Patch Set 7 : Removed unnecessary forward declaration. #

Total comments: 1

Patch Set 8 : Added WebRemotePlaybackAvailability.h to the BUILD.gn #

Patch Set 9 : Fixed the java enum comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+207 lines, -56 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/media/remote/RemoteMediaPlayerBridge.java View 1 2 3 4 5 3 chunks +15 lines, -4 lines 0 comments Download
M chrome/browser/DEPS View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/media/android/remote/remote_media_player_bridge.h View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/media/android/remote/remote_media_player_bridge.cc View 1 2 3 4 5 2 chunks +5 lines, -2 lines 0 comments Download
M chrome/browser/media/android/remote/remote_media_player_manager.h View 1 2 3 4 5 2 chunks +6 lines, -1 line 0 comments Download
M chrome/browser/media/android/remote/remote_media_player_manager.cc View 1 2 3 4 5 2 chunks +4 lines, -4 lines 0 comments Download
M content/common/DEPS View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M content/common/media/media_player_messages_android.h View 1 2 3 4 5 3 chunks +5 lines, -1 line 0 comments Download
M content/renderer/media/android/renderer_media_player_manager.h View 1 2 3 4 5 2 chunks +6 lines, -1 line 0 comments Download
M content/renderer/media/android/renderer_media_player_manager.cc View 1 2 3 4 5 2 chunks +5 lines, -2 lines 0 comments Download
M content/renderer/media/android/webmediaplayer_android.h View 1 2 2 chunks +3 lines, -1 line 0 comments Download
M content/renderer/media/android/webmediaplayer_android.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M content/renderer/media/webmediaplayer_ms_unittest.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M media/blink/renderer_media_player_interface.h View 1 2 2 chunks +6 lines, -1 line 0 comments Download
M media/blink/webmediaplayer_cast_android.h View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M media/blink/webmediaplayer_cast_android.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M media/blink/webmediaplayer_impl_unittest.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/media/remoteplayback/prompt-twice-throws.html View 1 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLMediaElement.h View 1 2 4 chunks +5 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLMediaElement.cpp View 1 2 3 4 5 6 7 8 5 chunks +12 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/core/html/shadow/MediaControlsTest.cpp View 1 2 3 4 4 chunks +31 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/testing/Internals.cpp View 1 2 2 chunks +4 lines, -1 line 0 comments Download
M third_party/WebKit/Source/modules/remoteplayback/RemotePlayback.h View 1 2 3 4 3 chunks +4 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/remoteplayback/RemotePlayback.cpp View 1 2 3 4 6 chunks +32 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/modules/remoteplayback/RemotePlaybackTest.cpp View 1 2 3 4 2 chunks +0 lines, -5 lines 0 comments Download
M third_party/WebKit/public/BUILD.gn View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -0 lines 0 comments Download
M third_party/WebKit/public/platform/WebMediaPlayerClient.h View 1 2 2 chunks +4 lines, -1 line 0 comments Download
A third_party/WebKit/public/platform/modules/remoteplayback/WebRemotePlaybackAvailability.h View 1 2 3 4 5 6 7 8 1 chunk +38 lines, -0 lines 0 comments Download
M third_party/WebKit/public/platform/modules/remoteplayback/WebRemotePlaybackClient.h View 1 2 2 chunks +5 lines, -1 line 0 comments Download

Messages

Total messages: 62 (28 generated)
whywhat
PTaL hubbe: *media* mlamouri: *remote* dcheng: *messages* Thanks!
4 years, 1 month ago (2016-11-05 04:10:06 UTC) #2
whywhat
Fixed failing tests
4 years, 1 month ago (2016-11-08 03:45:50 UTC) #7
whywhat
PTAL
4 years, 1 month ago (2016-11-08 03:49:39 UTC) #9
hubbe
media/* LGTM
4 years, 1 month ago (2016-11-08 03:58:06 UTC) #12
haraken
https://codereview.chromium.org/2480003002/diff/20001/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp File third_party/WebKit/Source/core/html/HTMLMediaElement.cpp (right): https://codereview.chromium.org/2480003002/diff/20001/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp#newcode481 third_party/WebKit/Source/core/html/HTMLMediaElement.cpp:481: *this, ScriptState::forMainWorld(frame)); Is it not possible that this code ...
4 years, 1 month ago (2016-11-08 05:13:11 UTC) #14
dcheng
https://codereview.chromium.org/2480003002/diff/20001/third_party/WebKit/public/platform/modules/remoteplayback/WebRemotePlaybackClient.h File third_party/WebKit/public/platform/modules/remoteplayback/WebRemotePlaybackClient.h (right): https://codereview.chromium.org/2480003002/diff/20001/third_party/WebKit/public/platform/modules/remoteplayback/WebRemotePlaybackClient.h#newcode23 third_party/WebKit/public/platform/modules/remoteplayback/WebRemotePlaybackClient.h:23: bool isSourceCompatible) = 0; Let's pass enums instead of ...
4 years, 1 month ago (2016-11-08 07:40:00 UTC) #17
whywhat
https://codereview.chromium.org/2480003002/diff/20001/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp File third_party/WebKit/Source/core/html/HTMLMediaElement.cpp (right): https://codereview.chromium.org/2480003002/diff/20001/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp#newcode481 third_party/WebKit/Source/core/html/HTMLMediaElement.cpp:481: *this, ScriptState::forMainWorld(frame)); On 2016/11/08 at 05:13:11, haraken wrote: > ...
4 years, 1 month ago (2016-11-08 17:55:17 UTC) #18
whywhat
FYI, I've split off the change to WebRemotePlaybackClient creation into a separate CL: https://codereview.chromium.org/2484973005
4 years, 1 month ago (2016-11-08 22:28:24 UTC) #19
whywhat
Changed bool to an enum
4 years, 1 month ago (2016-11-09 01:37:43 UTC) #20
whywhat
https://codereview.chromium.org/2480003002/diff/20001/third_party/WebKit/public/platform/modules/remoteplayback/WebRemotePlaybackClient.h File third_party/WebKit/public/platform/modules/remoteplayback/WebRemotePlaybackClient.h (right): https://codereview.chromium.org/2480003002/diff/20001/third_party/WebKit/public/platform/modules/remoteplayback/WebRemotePlaybackClient.h#newcode23 third_party/WebKit/public/platform/modules/remoteplayback/WebRemotePlaybackClient.h:23: bool isSourceCompatible) = 0; On 2016/11/08 at 07:40:00, dcheng ...
4 years, 1 month ago (2016-11-09 01:38:11 UTC) #21
whywhat
Added the missing file
4 years, 1 month ago (2016-11-09 01:39:30 UTC) #22
whywhat
Rebased
4 years, 1 month ago (2016-11-09 02:37:27 UTC) #23
whywhat
PTAL
4 years, 1 month ago (2016-11-09 02:37:51 UTC) #24
haraken
WebKit LGTM
4 years, 1 month ago (2016-11-09 02:47:57 UTC) #27
dcheng
https://codereview.chromium.org/2480003002/diff/80001/content/common/media/media_player_messages_android.h File content/common/media/media_player_messages_android.h (right): https://codereview.chromium.org/2480003002/diff/80001/content/common/media/media_player_messages_android.h#newcode135 content/common/media/media_player_messages_android.h:135: bool /* is_source_compatible */) Sorry, I should have been ...
4 years, 1 month ago (2016-11-09 19:03:41 UTC) #30
whywhat
https://codereview.chromium.org/2480003002/diff/80001/content/common/media/media_player_messages_android.h File content/common/media/media_player_messages_android.h (right): https://codereview.chromium.org/2480003002/diff/80001/content/common/media/media_player_messages_android.h#newcode135 content/common/media/media_player_messages_android.h:135: bool /* is_source_compatible */) On 2016/11/09 at 19:03:41, dcheng ...
4 years, 1 month ago (2016-11-09 22:09:28 UTC) #31
dcheng
On 2016/11/09 22:09:28, whywhat wrote: > https://codereview.chromium.org/2480003002/diff/80001/content/common/media/media_player_messages_android.h > File content/common/media/media_player_messages_android.h (right): > > https://codereview.chromium.org/2480003002/diff/80001/content/common/media/media_player_messages_android.h#newcode135 > ...
4 years, 1 month ago (2016-11-09 22:16:40 UTC) #32
whywhat
Use enum instead of bool everywhere
4 years, 1 month ago (2016-11-09 22:24:08 UTC) #33
whywhat
On 2016/11/09 at 22:16:40, dcheng wrote: > On 2016/11/09 22:09:28, whywhat wrote: > > https://codereview.chromium.org/2480003002/diff/80001/content/common/media/media_player_messages_android.h ...
4 years, 1 month ago (2016-11-09 22:26:03 UTC) #34
whywhat
Removed unnecessary forward declaration.
4 years, 1 month ago (2016-11-09 22:28:18 UTC) #37
dcheng
ipc lgtm
4 years, 1 month ago (2016-11-09 22:52:41 UTC) #38
whywhat
+jochen for content/common/DEPS and chrome/browser/DEPS
4 years, 1 month ago (2016-11-09 22:53:48 UTC) #40
whywhat
+thakis: chrome/browser/DEPS +avi: content/common/DEPS
4 years, 1 month ago (2016-11-10 15:41:01 UTC) #42
Nico
chrome/deps lgtm https://codereview.chromium.org/2480003002/diff/120001/chrome/browser/DEPS File chrome/browser/DEPS (right): https://codereview.chromium.org/2480003002/diff/120001/chrome/browser/DEPS#newcode92 chrome/browser/DEPS:92: # header-only types, and some selected common ...
4 years, 1 month ago (2016-11-10 17:32:59 UTC) #43
Avi (use Gerrit)
content/common/DEPS LGTM
4 years, 1 month ago (2016-11-10 19:46:12 UTC) #44
whywhat
Added WebRemotePlaybackAvailability.h to the BUILD.gn
4 years, 1 month ago (2016-11-10 21:02:28 UTC) #45
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/2480003002/140001
4 years, 1 month ago (2016-11-10 21:16:07 UTC) #48
commit-bot: I haz the power
Try jobs failed on following builders: android_n5x_swarming_rel on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_n5x_swarming_rel/builds/65518)
4 years, 1 month ago (2016-11-10 21:40:10 UTC) #50
whywhat
Fixed the java enum comment
4 years, 1 month ago (2016-11-11 00:15:58 UTC) #51
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/2480003002/160001
4 years, 1 month ago (2016-11-11 00:17:39 UTC) #54
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/335356)
4 years, 1 month ago (2016-11-11 01:04:09 UTC) #56
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/2480003002/160001
4 years, 1 month ago (2016-11-11 04:55:08 UTC) #58
commit-bot: I haz the power
Failed to apply patch for chrome/android/java/src/org/chromium/chrome/browser/media/remote/RemoteMediaPlayerBridge.java: While running git apply --index -p1; error: patch failed: ...
4 years, 1 month ago (2016-11-11 07:33:19 UTC) #60
commit-bot: I haz the power
4 years, 1 month ago (2016-11-11 07:41:10 UTC) #62
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/b485de7de811fb75f1160c23dd5b2b5a85c8a6b4
Cr-Commit-Position: refs/heads/master@{#431516}

Powered by Google App Engine
This is Rietveld 408576698