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

Issue 975943002: Implemented screen rotation animation experiment. (Closed)

Created:
5 years, 9 months ago by bruthig
Modified:
5 years, 9 months ago
Reviewers:
oshima, Jun Mukai, Mark P
CC:
chromium-reviews, dbeam+watch-options_chromium.org, sadrul, jam, darin-cc_chromium.org, oshima+watch_chromium.org, kalyank, stevenjb+watch_chromium.org, tdanderson
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Implemented screen rotation animation experiment. This patch implements 2 different animations for when the screen orientation changes. These animations are still experimental and will be disabled by default. Depends on: https://codereview.chromium.org/983933002/ BUG=337596 Committed: https://crrev.com/37f9cad0a5a945bda2d4ebfe2217db7711572718 Cr-Commit-Position: refs/heads/master@{#320391}

Patch Set 1 #

Total comments: 16

Patch Set 2 : Addressed mukai@'s comments from patch set 1. #

Total comments: 18

Patch Set 3 : Addressed outstanding comments from Patch set 1 & 2. #

Total comments: 17

Patch Set 4 : Rebased on Master. #

Patch Set 5 : Addressed comments from patch set 3. #

Patch Set 6 : Removed LayerOwner::RecreateLayer hot fix. #

Patch Set 7 : Added a TODO to add a NOT_DRAWN layer in between the root window's layer and it's children. #

Patch Set 8 : Added ash-screen-rotation-animation entry to histograms.xml. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+581 lines, -213 lines) Patch
M ash/accelerators/accelerator_controller.cc View 1 2 3 4 3 chunks +5 lines, -4 lines 0 comments Download
M ash/ash.gyp View 1 2 3 1 chunk +6 lines, -2 lines 0 comments Download
M ash/ash_switches.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M ash/ash_switches.cc View 1 2 3 4 1 chunk +7 lines, -0 lines 0 comments Download
M ash/content/display/screen_orientation_controller_chromeos.cc View 1 2 3 2 chunks +3 lines, -2 lines 0 comments Download
D ash/rotator/screen_rotation.h View 1 chunk +0 lines, -60 lines 0 comments Download
D ash/rotator/screen_rotation.cc View 1 chunk +0 lines, -123 lines 0 comments Download
A ash/rotator/screen_rotation_animation.h View 1 2 1 chunk +70 lines, -0 lines 0 comments Download
A ash/rotator/screen_rotation_animation.cc View 1 2 1 chunk +73 lines, -0 lines 0 comments Download
A ash/rotator/screen_rotation_animator.h View 1 2 3 4 1 chunk +32 lines, -0 lines 0 comments Download
A ash/rotator/screen_rotation_animator.cc View 1 2 3 4 5 6 1 chunk +323 lines, -0 lines 0 comments Download
A + ash/rotator/window_rotation.h View 3 chunks +8 lines, -8 lines 0 comments Download
A + ash/rotator/window_rotation.cc View 1 4 chunks +11 lines, -13 lines 0 comments Download
M chrome/app/generated_resources.grd View 1 chunk +18 lines, -0 lines 0 comments Download
M chrome/browser/about_flags.cc View 1 2 3 2 chunks +21 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/options/chromeos/display_options_handler.cc View 2 chunks +2 lines, -1 line 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 27 (6 generated)
bruthig
Can you please review this patch for me? mukai@chromium.org: Please review changes in chrome/browser/ui/webui/options/chromeos/display_options_handler.cc oshima@chromium.org: ...
5 years, 9 months ago (2015-03-03 22:24:19 UTC) #2
Jun Mukai
https://codereview.chromium.org/975943002/diff/1/ash/rotator/screen_rotation_animator.cc File ash/rotator/screen_rotation_animator.cc (right): https://codereview.chromium.org/975943002/diff/1/ash/rotator/screen_rotation_animator.cc#newcode168 ash/rotator/screen_rotation_animator.cc:168: bool should_scale) { Indent seems wrong. Run git cl ...
5 years, 9 months ago (2015-03-03 23:36:42 UTC) #3
bruthig
I've addressed mukai@'s comments from patch set 1. Can you guys have another look? mukai@chromium.org: ...
5 years, 9 months ago (2015-03-04 15:31:36 UTC) #4
Jun Mukai
https://codereview.chromium.org/975943002/diff/1/ash/rotator/screen_rotation_animator.cc File ash/rotator/screen_rotation_animator.cc (right): https://codereview.chromium.org/975943002/diff/1/ash/rotator/screen_rotation_animator.cc#newcode172 ash/rotator/screen_rotation_animator.cc:172: const gfx::Rect original_screen_bounds_f = root_window->GetTargetBounds(); On 2015/03/04 15:31:36, bruthig ...
5 years, 9 months ago (2015-03-04 19:46:20 UTC) #5
oshima
can you update the CL description and explain what kind of rotate animation this CL ...
5 years, 9 months ago (2015-03-04 21:31:35 UTC) #6
bruthig
mukai@, oshima@ can you please have another look? https://codereview.chromium.org/975943002/diff/1/ash/rotator/screen_rotation_animator.cc File ash/rotator/screen_rotation_animator.cc (right): https://codereview.chromium.org/975943002/diff/1/ash/rotator/screen_rotation_animator.cc#newcode224 ash/rotator/screen_rotation_animator.cc:224: screen_rotation->set_target_opacity(1.0f); ...
5 years, 9 months ago (2015-03-06 16:00:33 UTC) #7
oshima
On 2015/03/04 21:31:35, oshima wrote: > can you update the CL description and explain what ...
5 years, 9 months ago (2015-03-06 16:13:45 UTC) #8
bruthig
Opps sorry oshima@, I did miss that one comment. I've updated it now, hopefully that ...
5 years, 9 months ago (2015-03-06 16:28:56 UTC) #9
oshima
can you add a bit more explanation about the animations this implement. Or you can ...
5 years, 9 months ago (2015-03-06 20:59:33 UTC) #10
bruthig
oshima@, can you have another look? https://codereview.chromium.org/975943002/diff/40001/ash/ash_switches.cc File ash/ash_switches.cc (right): https://codereview.chromium.org/975943002/diff/40001/ash/ash_switches.cc#newcode58 ash/ash_switches.cc:58: // Specifies the ...
5 years, 9 months ago (2015-03-09 21:04:27 UTC) #11
oshima
https://codereview.chromium.org/975943002/diff/40001/ash/rotator/screen_rotation_animator.cc File ash/rotator/screen_rotation_animator.cc (right): https://codereview.chromium.org/975943002/diff/40001/ash/rotator/screen_rotation_animator.cc#newcode211 ash/rotator/screen_rotation_animator.cc:211: // rendered. On 2015/03/09 21:04:27, bruthig wrote: > On ...
5 years, 9 months ago (2015-03-10 22:20:38 UTC) #12
bruthig
I've added the TODO to track the layer copying improvement. oshima@ can you please have ...
5 years, 9 months ago (2015-03-11 14:40:07 UTC) #13
oshima
lgtm https://codereview.chromium.org/975943002/diff/40001/ash/rotator/screen_rotation_animator.cc File ash/rotator/screen_rotation_animator.cc (right): https://codereview.chromium.org/975943002/diff/40001/ash/rotator/screen_rotation_animator.cc#newcode215 ash/rotator/screen_rotation_animator.cc:215: continue; On 2015/03/11 14:40:07, bruthig wrote: > On ...
5 years, 9 months ago (2015-03-11 22:43:43 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/975943002/120001
5 years, 9 months ago (2015-03-12 13:48:44 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/49165)
5 years, 9 months ago (2015-03-12 14:10:49 UTC) #18
bruthig
mpearson@chromium.org: Please review changes in - tools/metrics/histograms/histograms.xml mukai@chromium.org: Please review changes in - chrome/browser/ui/webui/options/chromeos/display_options_handler.cc
5 years, 9 months ago (2015-03-12 18:28:30 UTC) #20
Mark P
histograms.xml lgtm
5 years, 9 months ago (2015-03-12 20:07:51 UTC) #21
Jun Mukai
display_options_handler LGTM
5 years, 9 months ago (2015-03-12 21:06:42 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/975943002/140001
5 years, 9 months ago (2015-03-12 21:16:51 UTC) #25
commit-bot: I haz the power
Committed patchset #8 (id:140001)
5 years, 9 months ago (2015-03-12 22:29:07 UTC) #26
commit-bot: I haz the power
5 years, 9 months ago (2015-03-12 22:29:34 UTC) #27
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/37f9cad0a5a945bda2d4ebfe2217db7711572718
Cr-Commit-Position: refs/heads/master@{#320391}

Powered by Google App Engine
This is Rietveld 408576698