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

Issue 10827284: Fix white flash when user sings out and wallpaper animation regression (Closed)

Created:
8 years, 4 months ago by bshe
Modified:
8 years, 4 months ago
Reviewers:
Nikita (slow), sky
CC:
chromium-reviews, sadrul, nkostylev+watch_chromium.org, ben+watch_chromium.org, oshima+watch_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, Denis Kuznetsov (DE-MUC)
Visibility:
Public.

Description

Fix white flash when user signs out and fix wallpaper animation regression When user signs out and transit to the login screen, the wallpaper fade in from a white screen. Described in 141563, this Cl fixed it. Also, after user login, or switch users at login screen. when wallpaper change, the new wallpaper should fade in nicely. There is a regression in recent builds. This fix fixed the regression as well. BUG=141563, 141676, 142042 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=151393

Patch Set 1 #

Patch Set 2 : Merge to trunk. #

Patch Set 3 : #

Patch Set 4 : nits #

Total comments: 2

Patch Set 5 : Sky's review #

Total comments: 8

Patch Set 6 : Nits and less confusing class comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+61 lines, -41 lines) Patch
M ash/desktop_background/desktop_background_controller.cc View 1 2 3 4 5 4 chunks +8 lines, -36 lines 0 comments Download
M ash/desktop_background/desktop_background_view.cc View 1 2 3 4 3 chunks +20 lines, -4 lines 0 comments Download
M ash/desktop_background/desktop_background_widget_controller.h View 1 2 3 4 5 2 chunks +25 lines, -0 lines 0 comments Download
M ash/desktop_background/desktop_background_widget_controller.cc View 1 2 3 4 3 chunks +6 lines, -1 line 0 comments Download
M ash/root_window_controller.cc View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
bshe
could you please take a look? Thanks!
8 years, 4 months ago (2012-08-10 18:32:59 UTC) #1
Nikita (slow)
lgtm
8 years, 4 months ago (2012-08-10 18:55:09 UTC) #2
bshe
+sky Could you please take a look? Thanks!
8 years, 4 months ago (2012-08-10 19:06:19 UTC) #3
sky
https://chromiumcodereview.appspot.com/10827284/diff/3003/ash/desktop_background/desktop_background_controller.h File ash/desktop_background/desktop_background_controller.h (right): https://chromiumcodereview.appspot.com/10827284/diff/3003/ash/desktop_background/desktop_background_controller.h#newcode172 ash/desktop_background/desktop_background_controller.h:172: RootWindowComponentMap root_window_component_map_; You never clean this state as roots ...
8 years, 4 months ago (2012-08-10 19:20:37 UTC) #4
bshe
https://chromiumcodereview.appspot.com/10827284/diff/3003/ash/desktop_background/desktop_background_controller.h File ash/desktop_background/desktop_background_controller.h (right): https://chromiumcodereview.appspot.com/10827284/diff/3003/ash/desktop_background/desktop_background_controller.h#newcode172 ash/desktop_background/desktop_background_controller.h:172: RootWindowComponentMap root_window_component_map_; This map is a place to store ...
8 years, 4 months ago (2012-08-10 19:51:41 UTC) #5
sky
Yes, you can add another property. -Scott On Fri, Aug 10, 2012 at 12:51 PM, ...
8 years, 4 months ago (2012-08-10 22:18:43 UTC) #6
bshe
sky@ Thanks for suggestion. Could you take another look? On 2012/08/10 22:18:43, sky wrote: > ...
8 years, 4 months ago (2012-08-13 16:07:19 UTC) #7
sky
http://codereview.chromium.org/10827284/diff/5005/ash/desktop_background/desktop_background_controller.cc File ash/desktop_background/desktop_background_controller.cc (right): http://codereview.chromium.org/10827284/diff/5005/ash/desktop_background/desktop_background_controller.cc#newcode250 ash/desktop_background/desktop_background_controller.cc:250: if (desktop_background_mode_ != BACKGROUND_IMAGE) { Do you even need ...
8 years, 4 months ago (2012-08-13 17:31:05 UTC) #8
bshe
Done. Thanks! http://codereview.chromium.org/10827284/diff/5005/ash/desktop_background/desktop_background_controller.cc File ash/desktop_background/desktop_background_controller.cc (right): http://codereview.chromium.org/10827284/diff/5005/ash/desktop_background/desktop_background_controller.cc#newcode250 ash/desktop_background/desktop_background_controller.cc:250: if (desktop_background_mode_ != BACKGROUND_IMAGE) { No need. ...
8 years, 4 months ago (2012-08-13 18:28:22 UTC) #9
sky
LGTM
8 years, 4 months ago (2012-08-13 20:57:33 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bshe@chromium.org/10827284/4004
8 years, 4 months ago (2012-08-13 21:02:45 UTC) #11
commit-bot: I haz the power
8 years, 4 months ago (2012-08-13 23:50:44 UTC) #12
Change committed as 151393

Powered by Google App Engine
This is Rietveld 408576698