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

Issue 9414028: Aura: New window shadows, desktop background debug toggle (Closed)

Created:
8 years, 10 months ago by James Cook
Modified:
8 years, 10 months ago
Reviewers:
Daniel Erat
CC:
chromium-reviews, dhollowa+watch_chromium.org, sadrul, ben+watch_chromium.org
Visibility:
Public.

Description

Aura: New window shadows, desktop background debug toggle + Shadows support different appearances for active and inactive states. + Shadow opacity animates on activation change. + ImageGrid supports changing its images, allowing us to maintain our use of a single set of shadow layers per window. + Press control-alt-B in a debug build to reset the desktop background to a solid color, useful with a white background for testing shadows. + Window shadow art assets were added in an earlier revision. After this change lands I will delete the previous art assets, ui/resources/aura/shadow_rect_* BUG=113075 TEST=aura_shell_unittests, added to ShadowControllerTest and ImageGridTest TBR=sky@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=122547 Reverted: https://src.chromium.org/viewvc/chrome?view=rev&revision=122551 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=122618

Patch Set 1 #

Total comments: 6

Patch Set 2 : review feedback #

Patch Set 3 : rebase #

Patch Set 4 : fix clang #

Unified diffs Side-by-side diffs Delta from patch set Stats (+387 lines, -100 lines) Patch
M ash/accelerators/accelerator_controller.cc View 1 2 3 4 chunks +14 lines, -0 lines 0 comments Download
M ash/accelerators/accelerator_controller_unittest.cc View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M ash/shell.h View 5 chunks +18 lines, -0 lines 0 comments Download
M ash/shell.cc View 1 2 3 4 chunks +24 lines, -11 lines 0 comments Download
M ash/shell/window_type_launcher.cc View 1 chunk +1 line, -1 line 0 comments Download
M ash/wm/image_grid.h View 2 chunks +18 lines, -16 lines 0 comments Download
M ash/wm/image_grid.cc View 4 chunks +34 lines, -24 lines 0 comments Download
M ash/wm/image_grid_unittest.cc View 1 2 3 6 chunks +50 lines, -11 lines 0 comments Download
M ash/wm/shadow.h View 1 2 3 4 chunks +31 lines, -5 lines 0 comments Download
M ash/wm/shadow.cc View 1 2 3 3 chunks +114 lines, -18 lines 0 comments Download
M ash/wm/shadow_controller.h View 1 chunk +3 lines, -0 lines 0 comments Download
M ash/wm/shadow_controller.cc View 1 6 chunks +24 lines, -4 lines 0 comments Download
M ash/wm/shadow_controller_unittest.cc View 2 chunks +37 lines, -2 lines 0 comments Download
M ui/resources/ui_resources.grd View 1 chunk +16 lines, -8 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
James Cook
Dan, PTAL.
8 years, 10 months ago (2012-02-16 23:57:00 UTC) #1
Daniel Erat
LGTM w/nits http://codereview.chromium.org/9414028/diff/1/ash/wm/shadow.cc File ash/wm/shadow.cc (right): http://codereview.chromium.org/9414028/diff/1/ash/wm/shadow.cc#newcode39 ash/wm/shadow.cc:39: style_ == STYLE_ACTIVE ? kActiveShadowOpacity : kInactiveShadowOpacity); ...
8 years, 10 months ago (2012-02-17 00:18:31 UTC) #2
James Cook
http://codereview.chromium.org/9414028/diff/1/ash/wm/shadow.cc File ash/wm/shadow.cc (right): http://codereview.chromium.org/9414028/diff/1/ash/wm/shadow.cc#newcode39 ash/wm/shadow.cc:39: style_ == STYLE_ACTIVE ? kActiveShadowOpacity : kInactiveShadowOpacity); On 2012/02/17 ...
8 years, 10 months ago (2012-02-17 03:41:27 UTC) #3
James Cook
Scott, can you OWNERS rubber-stamp the change to ui/resources/ui_resources.grd? I added the images yesterday, and ...
8 years, 10 months ago (2012-02-17 20:26:51 UTC) #4
Daniel Erat
(I think it's fine to TBR for rubber-stamp approval like this.) On Fri, Feb 17, ...
8 years, 10 months ago (2012-02-17 21:18:40 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jamescook@chromium.org/9414028/8001
8 years, 10 months ago (2012-02-17 21:25:16 UTC) #6
James Cook
OK, will TBR. Sorry Scott.
8 years, 10 months ago (2012-02-17 21:25:24 UTC) #7
commit-bot: I haz the power
8 years, 10 months ago (2012-02-17 23:05:55 UTC) #8
Change committed as 122618

Powered by Google App Engine
This is Rietveld 408576698