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

Issue 1827853002: [Android, RemotePlayback] Implement HTMLMediaElement.remote.connect(). (Closed)

Created:
4 years, 9 months ago by whywhat
Modified:
4 years, 8 months ago
CC:
blink-reviews, blink-reviews-api_chromium.org, blink-reviews-html_chromium.org, chromium-reviews, dglazkov+blink, eric.carlson_apple.com, feature-media-reviews_chromium.org, fs, gasubic, mlamouri+watch-blink_chromium.org, philipj_slow, nessy, vcarbune.chromium
Base URL:
https://chromium.googlesource.com/chromium/src.git@remote-playback-availability
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Android, RemotePlayback] Implement HTMLMediaElement.remote.connect(). BUG=578833 TEST=manual Note that the HTMLMediaElement doesn't know yet when the device picker is closed so the promise can't ever be rejected. Committed: https://crrev.com/425c737709699db20d84928175d0dd9d37b76a97 Cr-Commit-Position: refs/heads/master@{#384252}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Removed so far unnecessary method #

Patch Set 3 : Changed m_mediaElement type to fix compile with oilpan=false #

Patch Set 4 : Added connect() to the global interface list #

Total comments: 9

Patch Set 5 : Resolved the comments #

Patch Set 6 : Y U HAZ OILPAN DIZABLO? >:( #

Total comments: 2

Patch Set 7 : Ownership fix for Oilpan-disabled fix #

Patch Set 8 : Fixed nooilpan build #

Total comments: 2

Patch Set 9 : Fixed timing for rejecting the promises #

Unified diffs Side-by-side diffs Delta from patch set Stats (+89 lines, -10 lines) Patch
M third_party/WebKit/LayoutTests/webexposed/global-interface-listing-expected.txt View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLMediaElement.h View 1 2 3 4 5 6 7 8 3 chunks +12 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLMediaElement.cpp View 1 2 3 4 5 6 7 8 2 chunks +10 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/remoteplayback/RemotePlayback.h View 1 2 3 4 5 6 4 chunks +6 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/remoteplayback/RemotePlayback.cpp View 1 2 3 4 5 6 7 8 5 chunks +59 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/modules/remoteplayback/RemotePlayback.idl View 1 chunk +1 line, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 45 (14 generated)
whywhat
PTaL
4 years, 9 months ago (2016-03-23 15:33:32 UTC) #2
philipj_slow
https://codereview.chromium.org/1827853002/diff/1/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp File third_party/WebKit/Source/core/html/HTMLMediaElement.cpp (right): https://codereview.chromium.org/1827853002/diff/1/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp#newcode2929 third_party/WebKit/Source/core/html/HTMLMediaElement.cpp:2929: remotePlaybackClient()->connectionResultReceived(true); This is never called with false, can't the ...
4 years, 9 months ago (2016-03-23 16:09:31 UTC) #3
whywhat
Removed so far unnecessary method
4 years, 9 months ago (2016-03-23 18:32:42 UTC) #4
whywhat
PTAL https://codereview.chromium.org/1827853002/diff/1/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp File third_party/WebKit/Source/core/html/HTMLMediaElement.cpp (right): https://codereview.chromium.org/1827853002/diff/1/third_party/WebKit/Source/core/html/HTMLMediaElement.cpp#newcode2929 third_party/WebKit/Source/core/html/HTMLMediaElement.cpp:2929: remotePlaybackClient()->connectionResultReceived(true); On 2016/03/23 at 16:09:31, philipj_UTC7 wrote: > ...
4 years, 9 months ago (2016-03-23 18:33:45 UTC) #5
whywhat
Changed m_mediaElement type to fix compile with oilpan=false
4 years, 9 months ago (2016-03-24 00:40:27 UTC) #6
whywhat
Added connect() to the global interface list
4 years, 9 months ago (2016-03-24 00:42:35 UTC) #7
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1827853002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1827853002/60001
4 years, 9 months ago (2016-03-24 00:43:10 UTC) #9
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-03-24 02:04:28 UTC) #11
philipj_slow
third_party/WebKit/LayoutTests/webexposed/global-interface-listing-expected.txt LGTM and I'll leave the rest to Mounir :) https://codereview.chromium.org/1827853002/diff/60001/third_party/WebKit/Source/modules/remoteplayback/RemotePlayback.h File third_party/WebKit/Source/modules/remoteplayback/RemotePlayback.h (right): https://codereview.chromium.org/1827853002/diff/60001/third_party/WebKit/Source/modules/remoteplayback/RemotePlayback.h#newcode59 ...
4 years, 9 months ago (2016-03-24 07:31:57 UTC) #12
mlamouri (slow - plz ping)
https://codereview.chromium.org/1827853002/diff/60001/third_party/WebKit/Source/modules/remoteplayback/RemotePlayback.cpp File third_party/WebKit/Source/modules/remoteplayback/RemotePlayback.cpp (right): https://codereview.chromium.org/1827853002/diff/60001/third_party/WebKit/Source/modules/remoteplayback/RemotePlayback.cpp#newcode89 third_party/WebKit/Source/modules/remoteplayback/RemotePlayback.cpp:89: // TODO(avayvod): should we have a flag or reuse ...
4 years, 9 months ago (2016-03-24 10:47:06 UTC) #13
philipj_slow
https://codereview.chromium.org/1827853002/diff/60001/third_party/WebKit/Source/modules/remoteplayback/RemotePlayback.h File third_party/WebKit/Source/modules/remoteplayback/RemotePlayback.h (right): https://codereview.chromium.org/1827853002/diff/60001/third_party/WebKit/Source/modules/remoteplayback/RemotePlayback.h#newcode59 third_party/WebKit/Source/modules/remoteplayback/RemotePlayback.h:59: RawPtrWillBeWeakMember<HTMLMediaElement> m_mediaElement; On 2016/03/24 10:47:06, Mounir Lamouri wrote: > ...
4 years, 9 months ago (2016-03-24 11:06:23 UTC) #14
whywhat
PTaL https://codereview.chromium.org/1827853002/diff/60001/third_party/WebKit/Source/modules/remoteplayback/RemotePlayback.cpp File third_party/WebKit/Source/modules/remoteplayback/RemotePlayback.cpp (right): https://codereview.chromium.org/1827853002/diff/60001/third_party/WebKit/Source/modules/remoteplayback/RemotePlayback.cpp#newcode89 third_party/WebKit/Source/modules/remoteplayback/RemotePlayback.cpp:89: // TODO(avayvod): should we have a flag or ...
4 years, 9 months ago (2016-03-24 16:08:40 UTC) #15
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1827853002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1827853002/80001
4 years, 9 months ago (2016-03-24 16:09:10 UTC) #17
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/200064)
4 years, 9 months ago (2016-03-24 16:21:44 UTC) #19
whywhat
Y U HAZ OILPAN DIZABLO? >:(
4 years, 9 months ago (2016-03-24 16:44:09 UTC) #20
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1827853002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1827853002/100001
4 years, 9 months ago (2016-03-24 16:47:44 UTC) #22
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-03-24 20:03:02 UTC) #24
philipj_slow
https://codereview.chromium.org/1827853002/diff/60001/third_party/WebKit/Source/modules/remoteplayback/RemotePlayback.h File third_party/WebKit/Source/modules/remoteplayback/RemotePlayback.h (right): https://codereview.chromium.org/1827853002/diff/60001/third_party/WebKit/Source/modules/remoteplayback/RemotePlayback.h#newcode59 third_party/WebKit/Source/modules/remoteplayback/RemotePlayback.h:59: RawPtrWillBeWeakMember<HTMLMediaElement> m_mediaElement; On 2016/03/24 16:08:40, whywhat_OOO_March_25_28 wrote: > On ...
4 years, 8 months ago (2016-03-29 05:51:45 UTC) #25
whywhat
Ownership fix for Oilpan-disabled fix
4 years, 8 months ago (2016-03-29 15:28:30 UTC) #26
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1827853002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1827853002/120001
4 years, 8 months ago (2016-03-29 15:29:11 UTC) #28
whywhat
PTaL https://codereview.chromium.org/1827853002/diff/100001/third_party/WebKit/Source/modules/remoteplayback/RemotePlayback.h File third_party/WebKit/Source/modules/remoteplayback/RemotePlayback.h (right): https://codereview.chromium.org/1827853002/diff/100001/third_party/WebKit/Source/modules/remoteplayback/RemotePlayback.h#newcode59 third_party/WebKit/Source/modules/remoteplayback/RemotePlayback.h:59: RefPtrWillBeMember<HTMLMediaElement> m_mediaElement; On 2016/03/29 at 05:51:45, philipj_UTC7 wrote: ...
4 years, 8 months ago (2016-03-29 15:30:01 UTC) #29
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_blink_oilpan_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_blink_oilpan_rel/builds/22721)
4 years, 8 months ago (2016-03-29 15:45:02 UTC) #31
whywhat
Fixed nooilpan build
4 years, 8 months ago (2016-03-29 17:09:57 UTC) #32
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1827853002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1827853002/140001
4 years, 8 months ago (2016-03-29 18:37:35 UTC) #34
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 8 months ago (2016-03-29 20:55:23 UTC) #36
mlamouri (slow - plz ping)
lgtm with dead code removed. https://codereview.chromium.org/1827853002/diff/140001/third_party/WebKit/Source/modules/remoteplayback/RemotePlayback.cpp File third_party/WebKit/Source/modules/remoteplayback/RemotePlayback.cpp (right): https://codereview.chromium.org/1827853002/diff/140001/third_party/WebKit/Source/modules/remoteplayback/RemotePlayback.cpp#newcode135 third_party/WebKit/Source/modules/remoteplayback/RemotePlayback.cpp:135: resolver->reject(DOMException::create(AbortError, "Failed to connect ...
4 years, 8 months ago (2016-03-31 10:15:39 UTC) #37
whywhat
Fixed timing for rejecting the promises
4 years, 8 months ago (2016-03-31 10:56:35 UTC) #38
whywhat
https://codereview.chromium.org/1827853002/diff/140001/third_party/WebKit/Source/modules/remoteplayback/RemotePlayback.cpp File third_party/WebKit/Source/modules/remoteplayback/RemotePlayback.cpp (right): https://codereview.chromium.org/1827853002/diff/140001/third_party/WebKit/Source/modules/remoteplayback/RemotePlayback.cpp#newcode135 third_party/WebKit/Source/modules/remoteplayback/RemotePlayback.cpp:135: resolver->reject(DOMException::create(AbortError, "Failed to connect to the remote device.")); On ...
4 years, 8 months ago (2016-03-31 10:57:09 UTC) #39
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1827853002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1827853002/160001
4 years, 8 months ago (2016-03-31 10:57:27 UTC) #42
commit-bot: I haz the power
Committed patchset #9 (id:160001)
4 years, 8 months ago (2016-03-31 12:17:37 UTC) #43
commit-bot: I haz the power
4 years, 8 months ago (2016-03-31 12:19:10 UTC) #45
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/425c737709699db20d84928175d0dd9d37b76a97
Cr-Commit-Position: refs/heads/master@{#384252}

Powered by Google App Engine
This is Rietveld 408576698