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

Issue 1108473002: Fixed the ScreenOrientationController so that it doesn't crash by animating (Closed)

Created:
5 years, 8 months ago by bruthig
Modified:
5 years, 7 months ago
Reviewers:
jonross, oshima
CC:
chromium-reviews, darin-cc_chromium.org, jam, sadrul, kalyank
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fixed the ScreenOrientationController so that it doesn't crash by animating screen rotations on inactive displays. TEST=ScreenOrientationControllerTest, RotateInactiveDisplay BUG=479503 Committed: https://crrev.com/f57a7bbada10a659c251400a0d400dc4efe79f31 Cr-Commit-Position: refs/heads/master@{#326877}

Patch Set 1 #

Total comments: 5

Patch Set 2 : Rebased on master. #

Patch Set 3 : Fixed rebase errors. #

Total comments: 4

Patch Set 4 : Removed unnecessary #include from screen_orientation_controller_chromeos_unittest.cc. #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+81 lines, -4 lines) Patch
M ash/content/display/screen_orientation_controller_chromeos.cc View 1 1 chunk +11 lines, -2 lines 0 comments Download
M ash/content/display/screen_orientation_controller_chromeos_unittest.cc View 1 2 3 4 chunks +53 lines, -0 lines 5 comments Download
M ash/rotator/screen_rotation_animator.h View 1 1 chunk +10 lines, -2 lines 0 comments Download
M ash/rotator/screen_rotation_animator.cc View 1 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (4 generated)
bruthig
jonross@: Can you please review the changes to screen_orientation_controller_chromeos.(c|hh)? oshima@: Can you please review ash/* ...
5 years, 8 months ago (2015-04-23 23:56:37 UTC) #2
jonross
https://codereview.chromium.org/1108473002/diff/1/ash/content/display/screen_orientation_controller_chromeos.cc File ash/content/display/screen_orientation_controller_chromeos.cc (right): https://codereview.chromium.org/1108473002/diff/1/ash/content/display/screen_orientation_controller_chromeos.cc#newcode131 ash/content/display/screen_orientation_controller_chromeos.cc:131: Shell::GetInstance()->display_manager()->SetDisplayRotation( Use the display manager from 116 https://codereview.chromium.org/1108473002/diff/1/ash/content/display/screen_orientation_controller_chromeos_unittest.cc File ...
5 years, 8 months ago (2015-04-24 14:18:09 UTC) #3
bruthig
I've rebased on top of master and fixed up the ScreenOrientationControllerTest.RotateInactiveDisplay test. jonross@: Can you ...
5 years, 8 months ago (2015-04-24 16:17:13 UTC) #4
jonross
https://codereview.chromium.org/1108473002/diff/1/ash/content/display/screen_orientation_controller_chromeos.cc File ash/content/display/screen_orientation_controller_chromeos.cc (right): https://codereview.chromium.org/1108473002/diff/1/ash/content/display/screen_orientation_controller_chromeos.cc#newcode131 ash/content/display/screen_orientation_controller_chromeos.cc:131: Shell::GetInstance()->display_manager()->SetDisplayRotation( On 2015/04/24 16:17:12, bruthig wrote: > On 2015/04/24 ...
5 years, 8 months ago (2015-04-24 17:08:30 UTC) #5
bruthig
I believe I have addressed all jonross@ comments. oshima@ Can you please take a look ...
5 years, 8 months ago (2015-04-24 18:06:35 UTC) #6
jonross
On 2015/04/24 18:06:35, bruthig wrote: > I believe I have addressed all jonross@ comments. > ...
5 years, 8 months ago (2015-04-24 18:28:50 UTC) #7
oshima
https://codereview.chromium.org/1108473002/diff/60001/ash/content/display/screen_orientation_controller_chromeos_unittest.cc File ash/content/display/screen_orientation_controller_chromeos_unittest.cc (right): https://codereview.chromium.org/1108473002/diff/60001/ash/content/display/screen_orientation_controller_chromeos_unittest.cc#newcode638 ash/content/display/screen_orientation_controller_chromeos_unittest.cc:638: ASSERT_NE(kNewRotation, display_manager->GetDisplayInfo(kInternalDisplayId) EXPECT_NE? https://codereview.chromium.org/1108473002/diff/60001/ash/content/display/screen_orientation_controller_chromeos_unittest.cc#newcode641 ash/content/display/screen_orientation_controller_chromeos_unittest.cc:641: delegate()->SetDisplayRotation(kNewRotation, I assume this ...
5 years, 8 months ago (2015-04-24 18:34:42 UTC) #8
bruthig
I responded to oshima@'s comments. oshima@ can you please take a look? https://codereview.chromium.org/1108473002/diff/60001/ash/content/display/screen_orientation_controller_chromeos_unittest.cc File ash/content/display/screen_orientation_controller_chromeos_unittest.cc ...
5 years, 8 months ago (2015-04-24 19:05:07 UTC) #9
oshima
lgtm https://codereview.chromium.org/1108473002/diff/60001/ash/content/display/screen_orientation_controller_chromeos_unittest.cc File ash/content/display/screen_orientation_controller_chromeos_unittest.cc (right): https://codereview.chromium.org/1108473002/diff/60001/ash/content/display/screen_orientation_controller_chromeos_unittest.cc#newcode641 ash/content/display/screen_orientation_controller_chromeos_unittest.cc:641: delegate()->SetDisplayRotation(kNewRotation, On 2015/04/24 19:05:07, bruthig wrote: > On ...
5 years, 8 months ago (2015-04-24 20:01:29 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1108473002/60001
5 years, 8 months ago (2015-04-24 20:35:29 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1108473002/60001
5 years, 8 months ago (2015-04-24 20:45:58 UTC) #15
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 8 months ago (2015-04-24 21:19:42 UTC) #16
commit-bot: I haz the power
5 years, 8 months ago (2015-04-24 21:20:40 UTC) #17
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/f57a7bbada10a659c251400a0d400dc4efe79f31
Cr-Commit-Position: refs/heads/master@{#326877}

Powered by Google App Engine
This is Rietveld 408576698