Chromium Code Reviews
Help | Chromium Project | Gerrit Changes | Sign in
(1)

Issue 1197773002: Always show "exit fullscreen" button. (Closed)

Created:
4 years, 10 months ago by liberato (no reviews please)
Modified:
4 years, 10 months ago
Reviewers:
xhwang, yiningc, eae
CC:
blink-reviews, nessy, mlamouri+watch-blink_chromium.org, philipj_slow, gasubic, fs, eric.carlson_apple.com, feature-media-reviews_chromium.org, dglazkov+blink, blink-reviews-html_chromium.org, vcarbune.chromium
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Always show "exit fullscreen" button. When switching to full screen mode, we may choose to hide the exit fullscreen button, based on whether we believe the media is capable of being shown fullscreen. On android, this behavior can cause us to believe that entering fullscreen is okay, only to decide that it isn't when the user actually enters fullscreen. This leaves the fullscreen button hidden in fullscreen mode, with no way back. This is caused by a lack of support in Android's MediaPlayer for checking the type of streams available before playback starts. It goes by mime type only, and defaults to "yes" if that's unavailable. Until we move the media stack away from android's MediaPlayer, it will be hard to fix this root cause. This CL makes the fullscreen button show up unconditionally when the media is in fullscreen. Either way, this seems like a good idea. BUG=500732 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=197678

Patch Set 1 #

Patch Set 2 : updated test expectations #

Total comments: 3

Patch Set 3 : /* expositionary text */ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -2 lines) Patch
M LayoutTests/virtual/android/fullscreen/compositor-touch-hit-rects-fullscreen-video-controls-expected.txt View 1 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/shadow/MediaControls.cpp View 1 2 1 chunk +7 lines, -1 line 0 comments Download

Messages

Total messages: 13 (5 generated)
liberato (no reviews please)
small patch to avoid locking users into full-screen mode, mostly for android. win and mac ...
4 years, 10 months ago (2015-06-23 20:06:36 UTC) #2
xhwang
looking good. I'll defer to eae@ to finish the review. https://codereview.chromium.org/1197773002/diff/20001/Source/core/html/shadow/MediaControls.cpp File Source/core/html/shadow/MediaControls.cpp (right): https://codereview.chromium.org/1197773002/diff/20001/Source/core/html/shadow/MediaControls.cpp#newcode188 ...
4 years, 10 months ago (2015-06-23 20:22:01 UTC) #3
eae
LGTM but please add a comment before landing. https://codereview.chromium.org/1197773002/diff/20001/Source/core/html/shadow/MediaControls.cpp File Source/core/html/shadow/MediaControls.cpp (right): https://codereview.chromium.org/1197773002/diff/20001/Source/core/html/shadow/MediaControls.cpp#newcode188 Source/core/html/shadow/MediaControls.cpp:188: || ...
4 years, 10 months ago (2015-06-23 20:30:45 UTC) #4
liberato (no reviews please)
https://codereview.chromium.org/1197773002/diff/20001/Source/core/html/shadow/MediaControls.cpp File Source/core/html/shadow/MediaControls.cpp (right): https://codereview.chromium.org/1197773002/diff/20001/Source/core/html/shadow/MediaControls.cpp#newcode188 Source/core/html/shadow/MediaControls.cpp:188: || mediaElement().isFullscreen()) On 2015/06/23 20:30:45, eae wrote: > On ...
4 years, 10 months ago (2015-06-23 20:37:41 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1197773002/40001
4 years, 10 months ago (2015-06-23 20:38:41 UTC) #8
commit-bot: I haz the power
Exceeded global retry quota
4 years, 10 months ago (2015-06-23 20:42:53 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1197773002/40001
4 years, 10 months ago (2015-06-23 21:44:24 UTC) #12
commit-bot: I haz the power
4 years, 10 months ago (2015-06-23 22:50:59 UTC) #13
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=197678

Powered by Google App Engine
This is Rietveld 408576698