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

Issue 10909008: Improve existing lock transition - remove black splash. (Closed)

Created:
8 years, 3 months ago by Nikita (slow)
Modified:
8 years, 3 months ago
CC:
chromium-reviews, sadrul, Ben Goodger (Google)
Visibility:
Public.

Description

Improve existing lock transition - remove black splash. During screen lock we move wallpaper from normal background layer to screen lock background layer. That means that both these layers should be excluded from the lock animations. Lock background layer (with wallpaper, not black solid color layer) is included in shutdown animation though. BUG=144737 TEST=Manual: Lock/Shutdown from login screen/user session using power button / shortcut / UI controls. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=154936

Patch Set 1 #

Patch Set 2 : +comment #

Total comments: 6

Patch Set 3 : refactor #

Patch Set 4 : fix #

Total comments: 25

Patch Set 5 : review #

Total comments: 2

Patch Set 6 : nit + m #

Unified diffs Side-by-side diffs Delta from patch set Stats (+271 lines, -236 lines) Patch
M ash/root_window_controller.cc View 1 2 3 4 3 chunks +20 lines, -14 lines 0 comments Download
M ash/wm/power_button_controller.h View 1 2 3 4 9 chunks +48 lines, -31 lines 0 comments Download
M ash/wm/power_button_controller.cc View 1 2 3 4 16 chunks +98 lines, -96 lines 0 comments Download
M ash/wm/power_button_controller_unittest.cc View 1 2 3 4 5 20 chunks +105 lines, -95 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
Nikita (slow)
Dan, please review whole CL. I'm planning to merge this into M22 since it is ...
8 years, 3 months ago (2012-08-30 14:11:17 UTC) #1
Daniel Erat
http://codereview.chromium.org/10909008/diff/3001/ash/wm/power_button_controller.h File ash/wm/power_button_controller.h (right): http://codereview.chromium.org/10909008/diff/3001/ash/wm/power_button_controller.h#newcode60 ash/wm/power_button_controller.h:60: SCREEN_LOCKER_CONTAINERS_EXCEPT_WALLPAPER, I find this confusing. The containers that each ...
8 years, 3 months ago (2012-08-30 16:04:53 UTC) #2
Nikita (slow)
Other than that do you have any other comments for changes in ash/root_window_controller.cc? On 2012/08/30 ...
8 years, 3 months ago (2012-08-30 16:56:49 UTC) #3
Daniel Erat
It seems a bit dangerous to me to have some of the top-level windows be ...
8 years, 3 months ago (2012-08-30 17:02:30 UTC) #4
Nikita (slow)
On 2012/08/30 17:02:30, Daniel Erat wrote: > It seems a bit dangerous to me to ...
8 years, 3 months ago (2012-08-30 17:04:45 UTC) #5
Nikita (slow)
http://codereview.chromium.org/10909008/diff/3001/ash/wm/power_button_controller.h File ash/wm/power_button_controller.h (right): http://codereview.chromium.org/10909008/diff/3001/ash/wm/power_button_controller.h#newcode60 ash/wm/power_button_controller.h:60: SCREEN_LOCKER_CONTAINERS_EXCEPT_WALLPAPER, On 2012/08/30 16:04:53, Daniel Erat wrote: > Maybe ...
8 years, 3 months ago (2012-08-30 17:04:51 UTC) #6
Daniel Erat
http://codereview.chromium.org/10909008/diff/3001/ash/wm/power_button_controller.h File ash/wm/power_button_controller.h (right): http://codereview.chromium.org/10909008/diff/3001/ash/wm/power_button_controller.h#newcode60 ash/wm/power_button_controller.h:60: SCREEN_LOCKER_CONTAINERS_EXCEPT_WALLPAPER, On 2012/08/30 17:04:51, Nikita Kostylev wrote: > On ...
8 years, 3 months ago (2012-08-30 17:08:43 UTC) #7
Denis Kuznetsov (DE-MUC)
http://codereview.chromium.org/10909008/diff/3001/ash/wm/power_button_controller.h File ash/wm/power_button_controller.h (right): http://codereview.chromium.org/10909008/diff/3001/ash/wm/power_button_controller.h#newcode60 ash/wm/power_button_controller.h:60: SCREEN_LOCKER_CONTAINERS_EXCEPT_WALLPAPER, On 2012/08/30 16:04:53, Daniel Erat wrote: > I ...
8 years, 3 months ago (2012-08-30 17:15:04 UTC) #8
Nikita (slow)
Relying on ash_unittests + manual testing of these transitions. http://codereview.chromium.org/10909008/diff/3001/ash/root_window_controller.cc File ash/root_window_controller.cc (right): http://codereview.chromium.org/10909008/diff/3001/ash/root_window_controller.cc#newcode140 ash/root_window_controller.cc:140: ...
8 years, 3 months ago (2012-08-31 14:48:12 UTC) #9
Nikita (slow)
These groups seems much cleaner now. http://codereview.chromium.org/10909008/diff/3001/ash/wm/power_button_controller.h File ash/wm/power_button_controller.h (right): http://codereview.chromium.org/10909008/diff/3001/ash/wm/power_button_controller.h#newcode60 ash/wm/power_button_controller.h:60: SCREEN_LOCKER_CONTAINERS_EXCEPT_WALLPAPER, On 2012/08/30 ...
8 years, 3 months ago (2012-09-03 14:50:59 UTC) #10
Daniel Erat
Thanks for changing this -- I agree that it's clearer. http://codereview.chromium.org/10909008/diff/8/ash/wm/power_button_controller.h File ash/wm/power_button_controller.h (left): http://codereview.chromium.org/10909008/diff/8/ash/wm/power_button_controller.h#oldcode218 ...
8 years, 3 months ago (2012-09-04 16:40:18 UTC) #11
Daniel Erat
http://codereview.chromium.org/10909008/diff/8/ash/root_window_controller.cc File ash/root_window_controller.cc (right): http://codereview.chromium.org/10909008/diff/8/ash/root_window_controller.cc#newcode151 ash/root_window_controller.cc:151: aura::Window* lock_background_containers = CreateContainer( Nikita and I discussed this ...
8 years, 3 months ago (2012-09-04 16:58:59 UTC) #12
Nikita (slow)
http://codereview.chromium.org/10909008/diff/8/ash/root_window_controller.cc File ash/root_window_controller.cc (right): http://codereview.chromium.org/10909008/diff/8/ash/root_window_controller.cc#newcode151 ash/root_window_controller.cc:151: aura::Window* lock_background_containers = CreateContainer( On 2012/09/04 16:58:59, Daniel Erat ...
8 years, 3 months ago (2012-09-04 17:36:42 UTC) #13
Daniel Erat
LGTM. Thanks! http://codereview.chromium.org/10909008/diff/9006/ash/wm/power_button_controller_unittest.cc File ash/wm/power_button_controller_unittest.cc (right): http://codereview.chromium.org/10909008/diff/9006/ash/wm/power_button_controller_unittest.cc#newcode187 ash/wm/power_button_controller_unittest.cc:187: // We should re-hide the black black ...
8 years, 3 months ago (2012-09-04 17:42:23 UTC) #14
Nikita (slow)
8 years, 3 months ago (2012-09-04 17:53:09 UTC) #15
http://codereview.chromium.org/10909008/diff/9006/ash/wm/power_button_control...
File ash/wm/power_button_controller_unittest.cc (right):

http://codereview.chromium.org/10909008/diff/9006/ash/wm/power_button_control...
ash/wm/power_button_controller_unittest.cc:187: // We should re-hide the black
black layer after waiting long enough for
On 2012/09/04 17:42:23, Daniel Erat wrote:
> nit: s/black black/black/

Done.

Powered by Google App Engine
This is Rietveld 408576698