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

Issue 2592443002: Media Controls: use events to enter/exit fullscreen. (Closed)

Created:
4 years ago by mlamouri (slow - plz ping)
Modified:
4 years ago
CC:
blink-reviews, 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, nessy, Srirama, vcarbune.chromium
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Media Controls: use events to enter/exit fullscreen. This is also adding MediaControlsMediaEventListener::mediaElement() and always call `m_fullscreenButton->setIsFullscreen` in ::reset() to avoid the dependency when the controls are first created. BUG=662761 R=zqzhang@chromium.org Committed: https://crrev.com/2c68be804b1f752a88b2c0e2e7a086945ef0494c Cr-Commit-Position: refs/heads/master@{#439785}

Patch Set 1 #

Patch Set 2 : rebase #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -39 lines) Patch
M third_party/WebKit/Source/core/html/HTMLMediaElement.cpp View 1 3 chunks +0 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/core/html/shadow/MediaControls.h View 2 chunks +2 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/html/shadow/MediaControls.cpp View 3 chunks +13 lines, -12 lines 0 comments Download
M third_party/WebKit/Source/core/html/shadow/MediaControlsMediaEventListener.h View 2 chunks +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/html/shadow/MediaControlsMediaEventListener.cpp View 3 chunks +30 lines, -17 lines 2 comments Download

Dependent Patchsets:

Messages

Total messages: 19 (12 generated)
mlamouri (slow - plz ping)
PTAL (will look at the breakage later)
4 years ago (2016-12-19 18:40:07 UTC) #5
mlamouri (slow - plz ping)
PTAL, the breakage was because of the tree being broken.
4 years ago (2016-12-20 10:59:34 UTC) #8
Zhiqiang Zhang (Slow)
lgtm w/ comment https://codereview.chromium.org/2592443002/diff/20001/third_party/WebKit/Source/core/html/shadow/MediaControlsMediaEventListener.cpp File third_party/WebKit/Source/core/html/shadow/MediaControlsMediaEventListener.cpp (right): https://codereview.chromium.org/2592443002/diff/20001/third_party/WebKit/Source/core/html/shadow/MediaControlsMediaEventListener.cpp#newcode88 third_party/WebKit/Source/core/html/shadow/MediaControlsMediaEventListener.cpp:88: if (mediaElement().isFullscreen()) I think MediaControlsOrientationLockDelegate has ...
4 years ago (2016-12-20 11:45:29 UTC) #9
mlamouri (slow - plz ping)
https://codereview.chromium.org/2592443002/diff/20001/third_party/WebKit/Source/core/html/shadow/MediaControlsMediaEventListener.cpp File third_party/WebKit/Source/core/html/shadow/MediaControlsMediaEventListener.cpp (right): https://codereview.chromium.org/2592443002/diff/20001/third_party/WebKit/Source/core/html/shadow/MediaControlsMediaEventListener.cpp#newcode88 third_party/WebKit/Source/core/html/shadow/MediaControlsMediaEventListener.cpp:88: if (mediaElement().isFullscreen()) On 2016/12/20 at 11:45:29, Zhiqiang Zhang wrote: ...
4 years ago (2016-12-20 12:15:44 UTC) #10
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/2592443002/20001
4 years ago (2016-12-20 13:26:28 UTC) #14
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years ago (2016-12-20 13:31:09 UTC) #17
commit-bot: I haz the power
4 years ago (2016-12-20 13:33:27 UTC) #19
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/2c68be804b1f752a88b2c0e2e7a086945ef0494c
Cr-Commit-Position: refs/heads/master@{#439785}

Powered by Google App Engine
This is Rietveld 408576698