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

Issue 2141133002: [ash-md] Animates overview shield in and out (Closed)

Created:
4 years, 5 months ago by varkha
Modified:
4 years, 5 months ago
Reviewers:
bruthig
CC:
chromium-reviews, kalyank, sadrul
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Initializes overview shield with the same opacity as the shelf. Completes shield opacity animation after overview closes. This CL deals with the transition into and out of the overview mode. When the shelf is in SHELF_BACKGROUND_MAXIMIZED state the shield starts black and animates to 70% black. When the shelf is transparent or semi-transparent the shield starts transparent and animates to 70% black. When overview mode finishes an observer is installed on the shield widget that deletes itself and the widget once the opacity animation completes. BUG=624443 Committed: https://crrev.com/35147c4bd5de5e684c3478ab9ce92cff74cb1b87 Cr-Commit-Position: refs/heads/master@{#406122}

Patch Set 1 #

Patch Set 2 : [ash-md] Completes shield opacity animation after overview closes #

Total comments: 2

Patch Set 3 : [ash-md] Completes shield opacity animation after overview closes (fixed non-MD case) #

Patch Set 4 : [ash-md] Completes shield opacity animation after overview closes (nits) #

Patch Set 5 : [ash-md] Completes shield opacity animation after overview closes (avoids crashes with delayed anim… #

Total comments: 14

Patch Set 6 : [ash-md] Completes shield opacity animation after overview closes (comments) #

Patch Set 7 : [ash-md] Completes shield opacity animation after overview closes (unit test) #

Patch Set 8 : [ash-md] Completes shield opacity animation after overview closes (rebased) #

Total comments: 6

Patch Set 9 : [ash-md] Completes shield opacity animation after overview closes (nits) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+418 lines, -47 lines) Patch
M ash/ash.gyp View 1 2 3 4 5 6 7 2 chunks +3 lines, -0 lines 0 comments Download
A ash/common/wm/overview/cleanup_animation_observer.h View 1 2 3 4 5 1 chunk +48 lines, -0 lines 0 comments Download
A ash/common/wm/overview/cleanup_animation_observer.cc View 1 2 3 4 5 1 chunk +39 lines, -0 lines 0 comments Download
A ash/common/wm/overview/cleanup_animation_observer_unittest.cc View 1 2 3 4 5 6 7 8 1 chunk +186 lines, -0 lines 0 comments Download
M ash/common/wm/overview/window_grid.h View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M ash/common/wm/overview/window_grid.cc View 1 2 3 4 5 6 7 10 chunks +63 lines, -42 lines 0 comments Download
M ash/common/wm/overview/window_selector.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M ash/common/wm/overview/window_selector.cc View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M ash/common/wm/overview/window_selector_controller.h View 1 2 3 4 5 2 chunks +9 lines, -0 lines 0 comments Download
M ash/common/wm/overview/window_selector_controller.cc View 1 2 3 4 5 2 chunks +33 lines, -1 line 0 comments Download
M ash/common/wm/overview/window_selector_delegate.h View 1 2 3 4 5 1 chunk +29 lines, -4 lines 0 comments Download

Messages

Total messages: 63 (48 generated)
varkha
bruthig@, can you please take a look? Thanks!
4 years, 5 months ago (2016-07-12 18:34:55 UTC) #3
varkha
PS2 deals with both fading in and fading out - seemed simple enough thanks to ...
4 years, 5 months ago (2016-07-12 19:15:56 UTC) #8
bruthig
lgtm https://codereview.chromium.org/2141133002/diff/20001/ash/common/wm/overview/window_grid.cc File ash/common/wm/overview/window_grid.cc (right): https://codereview.chromium.org/2141133002/diff/20001/ash/common/wm/overview/window_grid.cc#newcode820 ash/common/wm/overview/window_grid.cc:820: ->GetBackgroundType() == SHELF_BACKGROUND_MAXIMIZED) nit: This is currently based ...
4 years, 5 months ago (2016-07-12 20:43:37 UTC) #11
varkha
Thanks! https://codereview.chromium.org/2141133002/diff/20001/ash/common/wm/overview/window_grid.cc File ash/common/wm/overview/window_grid.cc (right): https://codereview.chromium.org/2141133002/diff/20001/ash/common/wm/overview/window_grid.cc#newcode820 ash/common/wm/overview/window_grid.cc:820: ->GetBackgroundType() == SHELF_BACKGROUND_MAXIMIZED) On 2016/07/12 20:43:37, bruthig wrote: ...
4 years, 5 months ago (2016-07-12 20:50:10 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2141133002/60001
4 years, 5 months ago (2016-07-12 20:52:59 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/243770)
4 years, 5 months ago (2016-07-12 22:12:01 UTC) #17
varkha
bruthig@, I feel that this would benefit from another review pass over the changes in ...
4 years, 5 months ago (2016-07-13 07:11:55 UTC) #23
bruthig
https://codereview.chromium.org/2141133002/diff/140001/ash/common/wm/overview/window_grid.cc File ash/common/wm/overview/window_grid.cc (right): https://codereview.chromium.org/2141133002/diff/140001/ash/common/wm/overview/window_grid.cc#newcode55 ash/common/wm/overview/window_grid.cc:55: class CleanupWidgetAfterAnimationObserver Although this is a pretty small class ...
4 years, 5 months ago (2016-07-15 17:05:38 UTC) #32
varkha
https://codereview.chromium.org/2141133002/diff/140001/ash/common/wm/overview/window_grid.cc File ash/common/wm/overview/window_grid.cc (right): https://codereview.chromium.org/2141133002/diff/140001/ash/common/wm/overview/window_grid.cc#newcode55 ash/common/wm/overview/window_grid.cc:55: class CleanupWidgetAfterAnimationObserver On 2016/07/15 17:05:38, bruthig wrote: > Although ...
4 years, 5 months ago (2016-07-15 18:53:36 UTC) #33
bruthig
Some nits otherwise, lgtm https://codereview.chromium.org/2141133002/diff/240001/ash/common/wm/overview/cleanup_animation_observer_unittest.cc File ash/common/wm/overview/cleanup_animation_observer_unittest.cc (right): https://codereview.chromium.org/2141133002/diff/240001/ash/common/wm/overview/cleanup_animation_observer_unittest.cc#newcode45 ash/common/wm/overview/cleanup_animation_observer_unittest.cc:45: class IsEqual { It would ...
4 years, 5 months ago (2016-07-18 18:49:09 UTC) #54
varkha
https://codereview.chromium.org/2141133002/diff/240001/ash/common/wm/overview/cleanup_animation_observer_unittest.cc File ash/common/wm/overview/cleanup_animation_observer_unittest.cc (right): https://codereview.chromium.org/2141133002/diff/240001/ash/common/wm/overview/cleanup_animation_observer_unittest.cc#newcode45 ash/common/wm/overview/cleanup_animation_observer_unittest.cc:45: class IsEqual { On 2016/07/18 18:49:09, bruthig wrote: > ...
4 years, 5 months ago (2016-07-18 20:57:57 UTC) #55
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2141133002/260001
4 years, 5 months ago (2016-07-18 20:59:08 UTC) #58
commit-bot: I haz the power
Committed patchset #9 (id:260001)
4 years, 5 months ago (2016-07-18 22:34:01 UTC) #60
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-18 22:34:12 UTC) #61
commit-bot: I haz the power
4 years, 5 months ago (2016-07-18 22:35:30 UTC) #63
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/35147c4bd5de5e684c3478ab9ce92cff74cb1b87
Cr-Commit-Position: refs/heads/master@{#406122}

Powered by Google App Engine
This is Rietveld 408576698