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

Issue 567803002: Hook WebMediaPlayerImpl up to Mojo's HTMLDocumentView. (Closed)

Created:
6 years, 3 months ago by acolwell GONE FROM CHROMIUM
Modified:
6 years, 3 months ago
CC:
chromium-reviews, qsr+mojo_chromium.org, Aaron Boodman, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, feature-media-reviews_chromium.org, darin (slow to review), ben+mojo_chromium.org, DaveMoore
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Hook WebMediaPlayerImpl up to Mojo's HTMLDocumentView. This patch provides the minimal changes necessary to hook WebMediaPlayerImpl into HTMLDocumentView so that <audio>/<video> tags work. HTMLMediaElement will now function, but audio won't be audible right now. Proper audio output will be added in a followup patch. Committed: https://crrev.com/50b1254ab61e1c74469253d65df4cce64fdc9127 Cr-Commit-Position: refs/heads/master@{#294692}

Patch Set 1 #

Patch Set 2 : Move factory ownership to HTMLViewer. #

Total comments: 12

Patch Set 3 : Address CR comments #

Patch Set 4 : Fix build busters. #

Patch Set 5 : Rebase #

Total comments: 4

Patch Set 6 : Address CR comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+346 lines, -7 lines) Patch
M media/blink/BUILD.gn View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M media/blink/media_blink.gyp View 1 chunk +2 lines, -0 lines 0 comments Download
A media/blink/null_encrypted_media_player_support.h View 1 2 1 chunk +78 lines, -0 lines 0 comments Download
A media/blink/null_encrypted_media_player_support.cc View 1 2 1 chunk +80 lines, -0 lines 0 comments Download
M media/blink/webmediaplayer_params.h View 1 chunk +2 lines, -1 line 0 comments Download
M mojo/mojo_services.gypi View 1 2 3 4 2 chunks +4 lines, -0 lines 0 comments Download
M mojo/services/html_viewer/DEPS View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M mojo/services/html_viewer/html_document_view.h View 1 2 3 4 4 chunks +8 lines, -1 line 0 comments Download
M mojo/services/html_viewer/html_document_view.cc View 1 2 3 4 3 chunks +11 lines, -1 line 0 comments Download
M mojo/services/html_viewer/html_viewer.cc View 1 2 3 4 5 chunks +14 lines, -4 lines 0 comments Download
A mojo/services/html_viewer/webmediaplayer_factory.h View 1 2 3 4 5 1 chunk +62 lines, -0 lines 0 comments Download
A mojo/services/html_viewer/webmediaplayer_factory.cc View 1 2 3 4 1 chunk +82 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (5 generated)
acolwell GONE FROM CHROMIUM
scherkus : Please review everything. darin: mojo/services/html_viewer/html_viewer.cc mojo/services/html_viewer/html_document_view.*
6 years, 3 months ago (2014-09-11 21:45:58 UTC) #2
scherkus (not reviewing)
https://codereview.chromium.org/567803002/diff/20001/media/blink/null_encrypted_media_player_support.cc File media/blink/null_encrypted_media_player_support.cc (right): https://codereview.chromium.org/567803002/diff/20001/media/blink/null_encrypted_media_player_support.cc#newcode12 media/blink/null_encrypted_media_player_support.cc:12: scoped_ptr<media::EncryptedMediaPlayerSupport> s/media::// https://codereview.chromium.org/567803002/diff/20001/media/blink/null_encrypted_media_player_support.h File media/blink/null_encrypted_media_player_support.h (right): https://codereview.chromium.org/567803002/diff/20001/media/blink/null_encrypted_media_player_support.h#newcode19 media/blink/null_encrypted_media_player_support.h:19: static ...
6 years, 3 months ago (2014-09-12 00:17:53 UTC) #3
scherkus (not reviewing)
+davemoore as CC since we were discussing this yesterday
6 years, 3 months ago (2014-09-12 00:18:28 UTC) #4
acolwell GONE FROM CHROMIUM
https://codereview.chromium.org/567803002/diff/20001/media/blink/null_encrypted_media_player_support.cc File media/blink/null_encrypted_media_player_support.cc (right): https://codereview.chromium.org/567803002/diff/20001/media/blink/null_encrypted_media_player_support.cc#newcode12 media/blink/null_encrypted_media_player_support.cc:12: scoped_ptr<media::EncryptedMediaPlayerSupport> On 2014/09/12 00:17:52, scherkus wrote: > s/media::// Done. ...
6 years, 3 months ago (2014-09-12 16:46:03 UTC) #5
darin (slow to review)
jamesr@ can review this in my place. I'm out today. On Sep 11, 2014 2:45 ...
6 years, 3 months ago (2014-09-12 16:57:53 UTC) #6
scherkus (not reviewing)
lgtm swapping darin -> jamesr to review mojo stuff
6 years, 3 months ago (2014-09-12 18:33:37 UTC) #8
jamesr
This conflicts with the html_viewer compositor bindings, which just landed. Could you rebase? I probably ...
6 years, 3 months ago (2014-09-12 19:07:44 UTC) #9
acolwell GONE FROM CHROMIUM
On 2014/09/12 19:07:44, jamesr wrote: > This conflicts with the html_viewer compositor bindings, which just ...
6 years, 3 months ago (2014-09-12 20:34:03 UTC) #10
jamesr
On 2014/09/12 20:34:03, acolwell_leaving_chromium_9-23 wrote: > On 2014/09/12 19:07:44, jamesr wrote: > > This conflicts ...
6 years, 3 months ago (2014-09-12 21:01:36 UTC) #11
jamesr
mojo/ lgtm https://codereview.chromium.org/567803002/diff/80001/mojo/services/html_viewer/webmediaplayer_factory.h File mojo/services/html_viewer/webmediaplayer_factory.h (right): https://codereview.chromium.org/567803002/diff/80001/mojo/services/html_viewer/webmediaplayer_factory.h#newcode38 mojo/services/html_viewer/webmediaplayer_factory.h:38: WebMediaPlayerFactory( explicit https://codereview.chromium.org/567803002/diff/80001/mojo/services/html_viewer/webmediaplayer_factory.h#newcode40 mojo/services/html_viewer/webmediaplayer_factory.h:40: ; woah this ...
6 years, 3 months ago (2014-09-12 21:03:59 UTC) #12
acolwell GONE FROM CHROMIUM
https://codereview.chromium.org/567803002/diff/80001/mojo/services/html_viewer/webmediaplayer_factory.h File mojo/services/html_viewer/webmediaplayer_factory.h (right): https://codereview.chromium.org/567803002/diff/80001/mojo/services/html_viewer/webmediaplayer_factory.h#newcode38 mojo/services/html_viewer/webmediaplayer_factory.h:38: WebMediaPlayerFactory( On 2014/09/12 21:03:58, jamesr wrote: > explicit Done. ...
6 years, 3 months ago (2014-09-12 21:43:41 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/567803002/100001
6 years, 3 months ago (2014-09-12 21:45:14 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_chromium_gn_compile_rel/builds/15158)
6 years, 3 months ago (2014-09-12 22:17:14 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/567803002/100001
6 years, 3 months ago (2014-09-12 22:54:05 UTC) #19
commit-bot: I haz the power
Committed patchset #6 (id:100001) as 7e3a3f0fee32b2f280894a596fc61c06dc718744
6 years, 3 months ago (2014-09-12 23:22:03 UTC) #20
commit-bot: I haz the power
6 years, 3 months ago (2014-09-12 23:28:43 UTC) #21
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/50b1254ab61e1c74469253d65df4cce64fdc9127
Cr-Commit-Position: refs/heads/master@{#294692}

Powered by Google App Engine
This is Rietveld 408576698