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

Issue 2919513002: [Media Controls] Prevent fullscreen orientation lock rotate glitch (Closed)

Created:
3 years, 6 months ago by johnme
Modified:
3 years, 6 months ago
CC:
blink-reviews, chromium-reviews, haraken
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[Media Controls] Prevent fullscreen orientation lock rotate glitch When both chrome://flags/#video-rotate-to-fullscreen and chrome://flags/#video-fullscreen-orientation-lock are enabled, pressing the fullscreen button then rotating the device to the opposite orientation than the one that was locked to could result in jank or accidentally exiting fullscreen. This patch works around those problems. BUG=728145 Review-Url: https://codereview.chromium.org/2919513002 Cr-Commit-Position: refs/heads/master@{#479715} Committed: https://chromium.googlesource.com/chromium/src/+/eeb22bd5bbaa417f1265e1fa596321d74d5e7f1e

Patch Set 1 #

Total comments: 2

Patch Set 2 : Clarify test comment #

Patch Set 3 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+123 lines, -2 lines) Patch
M third_party/WebKit/Source/modules/media_controls/MediaControlsOrientationLockDelegate.h View 1 2 3 chunks +8 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/media_controls/MediaControlsOrientationLockDelegate.cpp View 1 2 3 chunks +25 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/media_controls/MediaControlsOrientationLockDelegateTest.cpp View 1 2 15 chunks +90 lines, -0 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 14 (7 generated)
johnme
3 years, 6 months ago (2017-05-31 14:13:01 UTC) #2
mlamouri (slow - plz ping)
lgtm https://codereview.chromium.org/2919513002/diff/1/third_party/WebKit/Source/modules/media_controls/MediaControlsOrientationLockDelegateTest.cpp File third_party/WebKit/Source/modules/media_controls/MediaControlsOrientationLockDelegateTest.cpp (right): https://codereview.chromium.org/2919513002/diff/1/third_party/WebKit/Source/modules/media_controls/MediaControlsOrientationLockDelegateTest.cpp#newcode1367 third_party/WebKit/Source/modules/media_controls/MediaControlsOrientationLockDelegateTest.cpp:1367: testing::RunDelayedTasks(kUnlockDelayMs - 249); Maybe you could harden this ...
3 years, 6 months ago (2017-05-31 20:18:37 UTC) #3
johnme
Addressed comment - thanks! https://codereview.chromium.org/2919513002/diff/1/third_party/WebKit/Source/modules/media_controls/MediaControlsOrientationLockDelegateTest.cpp File third_party/WebKit/Source/modules/media_controls/MediaControlsOrientationLockDelegateTest.cpp (right): https://codereview.chromium.org/2919513002/diff/1/third_party/WebKit/Source/modules/media_controls/MediaControlsOrientationLockDelegateTest.cpp#newcode1367 third_party/WebKit/Source/modules/media_controls/MediaControlsOrientationLockDelegateTest.cpp:1367: testing::RunDelayedTasks(kUnlockDelayMs - 249); On 2017/05/31 ...
3 years, 6 months ago (2017-06-01 17:21:57 UTC) #4
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/2919513002/40001
3 years, 6 months ago (2017-06-15 13:47:20 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/479589)
3 years, 6 months ago (2017-06-15 14:49:31 UTC) #9
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/2919513002/40001
3 years, 6 months ago (2017-06-15 15:07:25 UTC) #11
commit-bot: I haz the power
3 years, 6 months ago (2017-06-15 15:44:20 UTC) #14
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/eeb22bd5bbaa417f1265e1fa5963...

Powered by Google App Engine
This is Rietveld 408576698