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

Issue 2693203002: Provide a WebContents API to discover the playback of a fullscreen video. (Closed)

Created:
3 years, 10 months ago by mlamouri (slow - plz ping)
Modified:
3 years, 10 months ago
CC:
agrieve+watch_chromium.org, apacible+watch_chromium.org, chfremer+watch_chromium.org, chromium-reviews, creis+watch_chromium.org, darin-cc_chromium.org, erickung+watch_chromium.org, feature-media-reviews_chromium.org, jam, mcasas+watch+vc_chromium.org, miu+watch_chromium.org, mlamouri+watch-content_chromium.org, nasko+codewatch_chromium.org, posciak+watch_chromium.org, xjz+watch_chromium.org, Zhiqiang Zhang (Slow)
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Provide a WebContents API to discover the playback of a fullscreen video. That means a video is playing fullscreen, either directly (native controls) or indirectly (custom controls). This is only exposed to the Java WebContents API at the moment. BUG=690960 Review-Url: https://codereview.chromium.org/2693203002 Cr-Commit-Position: refs/heads/master@{#452487} Committed: https://chromium.googlesource.com/chromium/src/+/e52c1b5442d81049d4b47b716d994ba746dde8a3

Patch Set 1 #

Total comments: 6

Patch Set 2 : review commonts #

Patch Set 3 : fix compile #

Total comments: 4

Patch Set 4 : review comments and compile fix #

Total comments: 11

Patch Set 5 : apply review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+110 lines, -2 lines) Patch
M content/browser/media/media_web_contents_observer.h View 1 2 3 3 chunks +11 lines, -0 lines 0 comments Download
M content/browser/media/media_web_contents_observer.cc View 1 2 3 4 5 chunks +38 lines, -2 lines 0 comments Download
M content/browser/web_contents/web_contents_android.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M content/browser/web_contents/web_contents_android.cc View 1 1 chunk +6 lines, -0 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.h View 1 2 3 4 1 chunk +7 lines, -0 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M content/common/media/media_player_delegate_messages.h View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M content/public/android/java/src/org/chromium/content/browser/webcontents/WebContentsImpl.java View 1 2 chunks +6 lines, -0 lines 0 comments Download
M content/public/android/java/src/org/chromium/content_public/browser/WebContents.java View 1 1 chunk +6 lines, -0 lines 0 comments Download
M content/renderer/media/renderer_webmediaplayer_delegate.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/media/renderer_webmediaplayer_delegate.cc View 1 2 3 1 chunk +7 lines, -0 lines 0 comments Download
M content/renderer/media/webmediaplayer_ms_unittest.cc View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M media/blink/webmediaplayer_delegate.h View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M media/blink/webmediaplayer_impl.cc View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M media/blink/webmediaplayer_impl_unittest.cc View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 36 (24 generated)
mlamouri (slow - plz ping)
liberato@, this is still missing tests but I would be interested to get an early ...
3 years, 10 months ago (2017-02-14 18:47:53 UTC) #4
liberato (no reviews please)
i like this idea. at a high level, what bothers me is that it's very ...
3 years, 10 months ago (2017-02-14 23:00:01 UTC) #7
mlamouri (slow - plz ping)
PTAL Note that this is not implementing the detection for fullscreen custom controls. zqzhang@ is ...
3 years, 10 months ago (2017-02-17 16:36:25 UTC) #9
mlamouri (slow - plz ping)
Friend ping :)
3 years, 10 months ago (2017-02-21 22:13:37 UTC) #14
liberato (no reviews please)
sorry for the delay. lgtm % nits. thanks -fl https://codereview.chromium.org/2693203002/diff/40001/content/browser/media/media_web_contents_observer.cc File content/browser/media/media_web_contents_observer.cc (right): https://codereview.chromium.org/2693203002/diff/40001/content/browser/media/media_web_contents_observer.cc#newcode189 content/browser/media/media_web_contents_observer.cc:189: ...
3 years, 10 months ago (2017-02-22 18:28:20 UTC) #19
mlamouri (slow - plz ping)
+dcheng@ for content/common/media/media_player_delegate_messages.h +creis@ for content/ changes :) https://codereview.chromium.org/2693203002/diff/40001/content/browser/media/media_web_contents_observer.cc File content/browser/media/media_web_contents_observer.cc (right): https://codereview.chromium.org/2693203002/diff/40001/content/browser/media/media_web_contents_observer.cc#newcode189 content/browser/media/media_web_contents_observer.cc:189: if ...
3 years, 10 months ago (2017-02-22 19:23:26 UTC) #21
Charlie Reis
[+dalecurtis] content/ LGTM with nits and a few unrelated questions. https://codereview.chromium.org/2693203002/diff/60001/content/browser/media/media_web_contents_observer.cc File content/browser/media/media_web_contents_observer.cc (right): https://codereview.chromium.org/2693203002/diff/60001/content/browser/media/media_web_contents_observer.cc#newcode86 ...
3 years, 10 months ago (2017-02-23 00:18:08 UTC) #27
DaleCurtis
https://codereview.chromium.org/2693203002/diff/60001/content/browser/media/media_web_contents_observer.cc File content/browser/media/media_web_contents_observer.cc (right): https://codereview.chromium.org/2693203002/diff/60001/content/browser/media/media_web_contents_observer.cc#newcode86 content/browser/media/media_web_contents_observer.cc:86: // TODO(dalecurtis): These should no longer be FrameHostMsg. On ...
3 years, 10 months ago (2017-02-23 01:11:57 UTC) #28
dcheng
ipc lgtm with nits https://codereview.chromium.org/2693203002/diff/60001/content/browser/media/media_web_contents_observer.cc File content/browser/media/media_web_contents_observer.cc (right): https://codereview.chromium.org/2693203002/diff/60001/content/browser/media/media_web_contents_observer.cc#newcode69 content/browser/media/media_web_contents_observer.cc:69: if (!fullscreen_player_.has_value()) Nit: omit .has_value() ...
3 years, 10 months ago (2017-02-23 03:18:52 UTC) #29
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/2693203002/80001
3 years, 10 months ago (2017-02-23 13:32:01 UTC) #32
mlamouri (slow - plz ping)
Thanks, comments applied. https://codereview.chromium.org/2693203002/diff/60001/content/browser/media/media_web_contents_observer.cc File content/browser/media/media_web_contents_observer.cc (right): https://codereview.chromium.org/2693203002/diff/60001/content/browser/media/media_web_contents_observer.cc#newcode69 content/browser/media/media_web_contents_observer.cc:69: if (!fullscreen_player_.has_value()) On 2017/02/23 at 03:18:52, ...
3 years, 10 months ago (2017-02-23 13:34:19 UTC) #33
commit-bot: I haz the power
3 years, 10 months ago (2017-02-23 14:58:33 UTC) #36
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/e52c1b5442d81049d4b47b716d99...

Powered by Google App Engine
This is Rietveld 408576698