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

Issue 1278583004: Undo overlay fullscreen video background transparency (Closed)

Created:
5 years, 4 months ago by watk
Modified:
5 years, 4 months ago
Reviewers:
Nate Chapin
CC:
blink-reviews, dglazkov+blink
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Restore background transparency when leaving fullscreen video This is a follow up to https://codereview.chromium.org/1254613003 which removes a usage of OverlayFullscreenVideo that was missed. Previously the overlay fullscreen runtime feature was used to decide whether to restore background transparency when leaving fullscreen. Now it's done whenever the fullscreen element is a video, because we don't know whether the WebMediaPlayer belonging to the video element used the overlay mode or not. So conservatively restore the state. This also adds a setter for ForceOverlayFullscreenVideo to pave the way for a chromium change to replace usages of OverlayFullscreenVideo with it. BUG=511376, 507834 TEST=virtual/android/fullscreen layout tests Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=200193

Patch Set 1 : #

Total comments: 2

Patch Set 2 : Remove extraneous space #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -7 lines) Patch
M LayoutTests/fullscreen/compositor-touch-hit-rects-fullscreen-video-controls.html View 1 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/fullscreen/full-screen-iframe-allowed-video.html View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/fullscreen/video-controls-timeline.html View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/fullscreen/video-fail-to-enter-full-screen.html View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/fullscreen/video-specified-size.html View 1 chunk +1 line, -1 line 0 comments Download
M Source/web/FullscreenController.cpp View 1 chunk +4 lines, -2 lines 0 comments Download
M Source/web/WebRuntimeFeatures.cpp View 1 chunk +5 lines, -0 lines 0 comments Download
M public/web/WebRuntimeFeatures.h View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (4 generated)
watk
Hi japhet@, please take a look.
5 years, 4 months ago (2015-08-07 02:32:45 UTC) #3
Nate Chapin
LGTM. I assume the old runtime flag will be removed soon? https://codereview.chromium.org/1278583004/diff/20001/LayoutTests/fullscreen/compositor-touch-hit-rects-fullscreen-video-controls.html File LayoutTests/fullscreen/compositor-touch-hit-rects-fullscreen-video-controls.html (right): ...
5 years, 4 months ago (2015-08-07 17:12:31 UTC) #4
watk
Thanks japhet@, yes I'll be removing the old runtime flag soon. https://codereview.chromium.org/1278583004/diff/20001/LayoutTests/fullscreen/compositor-touch-hit-rects-fullscreen-video-controls.html File LayoutTests/fullscreen/compositor-touch-hit-rects-fullscreen-video-controls.html (right): ...
5 years, 4 months ago (2015-08-07 19:02:40 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1278583004/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1278583004/40001
5 years, 4 months ago (2015-08-07 19:03:14 UTC) #8
commit-bot: I haz the power
5 years, 4 months ago (2015-08-07 20:26:39 UTC) #9
Message was sent while issue was closed.
Committed patchset #2 (id:40001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=200193

Powered by Google App Engine
This is Rietveld 408576698