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

Issue 10800020: Add brightness/grayscale animations and use them for OOBE boot transition (Closed)

Created:
8 years, 5 months ago by Nikita (slow)
Modified:
8 years, 5 months ago
Reviewers:
bshe, sky
CC:
chromium-reviews, sadrul, yusukes+watch_chromium.org, ben+watch_chromium.org, Ian Vollick, jonathan.backer, jam, penghuang+watch_chromium.org, joi+watch-content_chromium.org, darin-cc_chromium.org, piman+watch_chromium.org, James Su
Visibility:
Public.

Description

Add brightness/grayscale animations and use them for OOBE boot transition. Add support for both boot up/boot down animations. Checked, looks fine on x86-alex, stumpy. BUG=133279 TEST=LayerAnimatorTest.[GetTargetBrightness|GetTargetGrayscale], LayerAnimationElementTest.[BrightnessElement|GrayscaleElement], WindowAnimationsTest.HideShowBrightnessGrayscaleAnimation Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=147786

Patch Set 1 #

Patch Set 2 : expose animation type through delegate #

Patch Set 3 : fix test #

Patch Set 4 : remove test change #

Total comments: 7

Patch Set 5 : test + handle hide animation #

Patch Set 6 : fix hide animation #

Unified diffs Side-by-side diffs Delta from patch set Stats (+511 lines, -17 lines) Patch
M ash/desktop_background/desktop_background_controller.h View 1 2 chunks +4 lines, -0 lines 0 comments Download
M ash/desktop_background/desktop_background_view.cc View 1 1 chunk +8 lines, -8 lines 0 comments Download
M ash/shell.cc View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M ash/wm/window_animations.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M ash/wm/window_animations.cc View 1 2 3 4 5 4 chunks +73 lines, -0 lines 0 comments Download
M ash/wm/window_animations_unittest.cc View 1 2 3 4 5 1 chunk +41 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/background/ash_user_wallpaper_delegate.cc View 1 2 3 4 2 chunks +16 lines, -0 lines 0 comments Download
M ui/compositor/layer.h View 1 2 3 chunks +25 lines, -2 lines 0 comments Download
M ui/compositor/layer.cc View 1 2 8 chunks +55 lines, -4 lines 0 comments Download
M ui/compositor/layer_animation_delegate.h View 1 chunk +4 lines, -0 lines 0 comments Download
M ui/compositor/layer_animation_element.h View 3 chunks +17 lines, -1 line 0 comments Download
M ui/compositor/layer_animation_element.cc View 3 chunks +100 lines, -2 lines 0 comments Download
M ui/compositor/layer_animation_element_unittest.cc View 1 2 3 4 3 chunks +62 lines, -0 lines 0 comments Download
M ui/compositor/layer_animator.h View 1 chunk +8 lines, -0 lines 0 comments Download
M ui/compositor/layer_animator.cc View 1 chunk +28 lines, -0 lines 0 comments Download
M ui/compositor/layer_animator_unittest.cc View 1 2 3 4 1 chunk +42 lines, -0 lines 0 comments Download
M ui/compositor/test/test_layer_animation_delegate.h View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M ui/compositor/test/test_layer_animation_delegate.cc View 1 2 2 chunks +16 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
Nikita (slow)
Please review, most of the diff is exposing brightness and grayscale properties/animations the same way ...
8 years, 5 months ago (2012-07-19 16:06:48 UTC) #1
Nikita (slow)
CSS mock: I'm adding effect that is seen on mouse hover for first block. That ...
8 years, 5 months ago (2012-07-19 16:22:32 UTC) #2
Nikita (slow)
CSS mock https://crwm.googleplex.com/lab/boot/boot.html
8 years, 5 months ago (2012-07-19 16:25:35 UTC) #3
sky
Can you add test coverage too. http://codereview.chromium.org/10800020/diff/14001/ash/wm/window_animations.cc File ash/wm/window_animations.cc (right): http://codereview.chromium.org/10800020/diff/14001/ash/wm/window_animations.cc#newcode73 ash/wm/window_animations.cc:73: const int kBrightnessGrayscaleFadeDurationMs ...
8 years, 5 months ago (2012-07-19 19:22:19 UTC) #4
bshe
wallpaper lgtm with nit http://codereview.chromium.org/10800020/diff/14001/ash/desktop_background/desktop_background_controller.h File ash/desktop_background/desktop_background_controller.h (right): http://codereview.chromium.org/10800020/diff/14001/ash/desktop_background/desktop_background_controller.h#newcode28 ash/desktop_background/desktop_background_controller.h:28: // Returns type of window ...
8 years, 5 months ago (2012-07-19 20:43:38 UTC) #5
Nikita (slow)
On 2012/07/19 19:22:19, sky wrote: > Can you add test coverage too. Sure, I'll add ...
8 years, 5 months ago (2012-07-19 20:46:22 UTC) #6
Nikita (slow)
http://codereview.chromium.org/10800020/diff/14001/ash/wm/window_animations.cc File ash/wm/window_animations.cc (right): http://codereview.chromium.org/10800020/diff/14001/ash/wm/window_animations.cc#newcode73 ash/wm/window_animations.cc:73: const int kBrightnessGrayscaleFadeDurationMs = 2000; On 2012/07/19 19:22:19, sky ...
8 years, 5 months ago (2012-07-19 20:47:08 UTC) #7
sky
I did, that is the only comment I had. -Scott On Thu, Jul 19, 2012 ...
8 years, 5 months ago (2012-07-19 21:33:27 UTC) #8
Nikita (slow)
http://codereview.chromium.org/10800020/diff/14001/ash/wm/window_animations.cc File ash/wm/window_animations.cc (right): http://codereview.chromium.org/10800020/diff/14001/ash/wm/window_animations.cc#newcode73 ash/wm/window_animations.cc:73: const int kBrightnessGrayscaleFadeDurationMs = 2000; On 2012/07/19 19:22:19, sky ...
8 years, 5 months ago (2012-07-20 18:21:28 UTC) #9
Nikita (slow)
On 2012/07/19 19:22:19, sky wrote: > Can you add test coverage too. Done.
8 years, 5 months ago (2012-07-20 18:22:55 UTC) #10
sky
LGTM
8 years, 5 months ago (2012-07-20 23:35:07 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/nkostylev@chromium.org/10800020/31
8 years, 5 months ago (2012-07-21 06:20:41 UTC) #12
commit-bot: I haz the power
8 years, 5 months ago (2012-07-21 08:13:46 UTC) #13
Change committed as 147786

Powered by Google App Engine
This is Rietveld 408576698