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

Issue 2904263002: [Media Controls] Tests for rotate-to-fullscreen meets orientation lock (Closed)

Created:
3 years, 7 months ago by johnme
Modified:
3 years, 6 months ago
CC:
blink-reviews, chromium-reviews, haraken, mlamouri+watch-blink_chromium.org, mlamouri+watch-screen-orientation_chromium.org, timvolodine
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[Media Controls] Tests for rotate-to-fullscreen meets orientation lock Adds tests for the interactions between the rotate-to-fullscreen and fullscreen orientation lock features, especially the device orientation listener added in 0dfadaecdbd95a4babb5b05a3fc50441b0aba845 @{#474632} (https://codereview.chromium.org/2890423003). BUG=713225 Review-Url: https://codereview.chromium.org/2904263002 Cr-Commit-Position: refs/heads/master@{#479679} Committed: https://chromium.googlesource.com/chromium/src/+/5cda18fb9712a92da8b7c45691eee7b3cc4206a0

Patch Set 1 #

Total comments: 14

Patch Set 2 : Nits #

Total comments: 16

Patch Set 3 : Address Tim's nits #

Total comments: 2

Patch Set 4 : base::Optional<bool> is_auto_rotate_enabled_by_user_override_for_testing_ #

Patch Set 5 : Fix MSVC warning #

Messages

Total messages: 21 (10 generated)
johnme
3 years, 7 months ago (2017-05-26 19:40:32 UTC) #2
mlamouri (slow - plz ping)
First round of comment. I did not look at all the tests but looked at ...
3 years, 7 months ago (2017-05-26 20:02:48 UTC) #3
johnme
Addressed review comments - thanks! https://codereview.chromium.org/2904263002/diff/1/third_party/WebKit/Source/modules/media_controls/MediaControlsOrientationLockDelegate.cpp File third_party/WebKit/Source/modules/media_controls/MediaControlsOrientationLockDelegate.cpp (right): https://codereview.chromium.org/2904263002/diff/1/third_party/WebKit/Source/modules/media_controls/MediaControlsOrientationLockDelegate.cpp#newcode381 third_party/WebKit/Source/modules/media_controls/MediaControlsOrientationLockDelegate.cpp:381: DCHECK_EQ(state_, State::kMaybeLockedFullscreen); On 2017/05/26 ...
3 years, 6 months ago (2017-05-30 12:40:54 UTC) #4
timvolodine
Wow impressive testing! Thought I'd leave a few drive-by nits. ) https://codereview.chromium.org/2904263002/diff/20001/third_party/WebKit/Source/modules/media_controls/MediaControlsOrientationLockDelegate.cpp File third_party/WebKit/Source/modules/media_controls/MediaControlsOrientationLockDelegate.cpp (right): ...
3 years, 6 months ago (2017-05-31 18:07:22 UTC) #6
johnme
Addressed nits - thanks! https://codereview.chromium.org/2904263002/diff/20001/third_party/WebKit/Source/modules/media_controls/MediaControlsOrientationLockDelegate.cpp File third_party/WebKit/Source/modules/media_controls/MediaControlsOrientationLockDelegate.cpp (right): https://codereview.chromium.org/2904263002/diff/20001/third_party/WebKit/Source/modules/media_controls/MediaControlsOrientationLockDelegate.cpp#newcode347 third_party/WebKit/Source/modules/media_controls/MediaControlsOrientationLockDelegate.cpp:347: if (std::abs(device_orientation_angle - device_orientation_angle90) > ...
3 years, 6 months ago (2017-06-01 13:15:10 UTC) #7
mlamouri (slow - plz ping)
I guess I can lgtm this as is but I think I would prefer if ...
3 years, 6 months ago (2017-06-05 13:26:42 UTC) #8
johnme
https://codereview.chromium.org/2904263002/diff/40001/third_party/WebKit/Source/modules/media_controls/MediaControlsOrientationLockDelegate.h File third_party/WebKit/Source/modules/media_controls/MediaControlsOrientationLockDelegate.h (right): https://codereview.chromium.org/2904263002/diff/40001/third_party/WebKit/Source/modules/media_controls/MediaControlsOrientationLockDelegate.h#newcode126 third_party/WebKit/Source/modules/media_controls/MediaControlsOrientationLockDelegate.h:126: int is_auto_rotate_enabled_by_user_for_testing_ = -1; On 2017/06/05 13:26:42, mlamouri wrote: ...
3 years, 6 months ago (2017-06-14 17:46:42 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/2904263002/60001
3 years, 6 months ago (2017-06-14 17:47:20 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/468072)
3 years, 6 months ago (2017-06-14 18:58:07 UTC) #14
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/2904263002/80001
3 years, 6 months ago (2017-06-15 11:16:20 UTC) #17
commit-bot: I haz the power
3 years, 6 months ago (2017-06-15 12:53:13 UTC) #21
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/5cda18fb9712a92da8b7c45691ee...

Powered by Google App Engine
This is Rietveld 408576698