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

Issue 9233044: Acquire all layers when hiding window gets destroyed. (Closed)

Created:
8 years, 10 months ago by oshima
Modified:
8 years, 10 months ago
CC:
chromium-reviews, dhollowa+watch_chromium.org, sadrul, tfarina, ben+watch_chromium.org
Visibility:
Public.

Description

Acquire all layers when hiding window gets destroyed. Add duration to show/hide animation (lock screen has longer animation) Window can now specify in which visibility change phrase it wants to animate (login screen and lock screen should animate only when hiding) BUG=none TEST=none Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=119949

Patch Set 1 #

Patch Set 2 : cleanup #

Patch Set 3 : rename #

Total comments: 10

Patch Set 4 : . #

Patch Set 5 : dcheck #

Unified diffs Side-by-side diffs Delta from patch set Stats (+103 lines, -22 lines) Patch
M ash/shell.cc View 1 chunk +1 line, -0 lines 0 comments Download
M ash/wm/visibility_controller.cc View 1 chunk +1 line, -2 lines 0 comments Download
M ash/wm/window_animations.h View 1 2 3 2 chunks +21 lines, -1 line 0 comments Download
M ash/wm/window_animations.cc View 1 2 3 4 9 chunks +80 lines, -19 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
oshima
8 years, 10 months ago (2012-01-31 00:35:33 UTC) #1
Ben Goodger (Google)
http://codereview.chromium.org/9233044/diff/4005/ash/wm/window_animations.cc File ash/wm/window_animations.cc (right): http://codereview.chromium.org/9233044/diff/4005/ash/wm/window_animations.cc#newcode118 ash/wm/window_animations.cc:118: DCHECK_EQ(0u, layers_.size()); or layers_.empty() http://codereview.chromium.org/9233044/diff/4005/ash/wm/window_animations.cc#newcode126 ash/wm/window_animations.cc:126: if (layer) can ...
8 years, 10 months ago (2012-01-31 00:50:19 UTC) #2
oshima
http://codereview.chromium.org/9233044/diff/4005/ash/wm/window_animations.cc File ash/wm/window_animations.cc (right): http://codereview.chromium.org/9233044/diff/4005/ash/wm/window_animations.cc#newcode118 ash/wm/window_animations.cc:118: DCHECK_EQ(0u, layers_.size()); On 2012/01/31 00:50:19, Ben Goodger (Google) wrote: ...
8 years, 10 months ago (2012-01-31 01:52:32 UTC) #3
Ben Goodger (Google)
LGTM. We should probably DCHECK in AcquireLayer that it is not called twice.
8 years, 10 months ago (2012-01-31 17:35:44 UTC) #4
oshima
8 years, 10 months ago (2012-01-31 17:48:30 UTC) #5
On 2012/01/31 17:35:44, Ben Goodger (Google) wrote:
> LGTM. We should probably DCHECK in AcquireLayer that it is not called twice.

done.

Powered by Google App Engine
This is Rietveld 408576698