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

Issue 8785005: aura: Make shadows be children of window layers. (Closed)

Created:
9 years ago by Daniel Erat
Modified:
9 years ago
CC:
chromium-reviews, dhollowa+watch_chromium.org, Paweł Hajdan Jr., sadrul, ben+watch_chromium.org
Visibility:
Public.

Description

aura: Make shadows be children of window layers. They used to be children of the root. This change makes shadows track their windows' transforms and simplifies the code (as we no longer need to track stacking or parenting changes). I am still slightly worried that shadows will look strange if we scale windows up or down, but we can figure out how to deal with that when we need to. BUG=101977 TEST=added; also hacked up StackingController to rotate and scale windows and checked that shadows were drawn as expected Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=112823

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+24 lines, -120 lines) Patch
M ui/aura_shell/shadow_controller.h View 2 chunks +1 line, -9 lines 0 comments Download
M ui/aura_shell/shadow_controller.cc View 4 chunks +7 lines, -54 lines 0 comments Download
M ui/aura_shell/shadow_controller_unittest.cc View 2 chunks +16 lines, -57 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
Daniel Erat
9 years ago (2011-12-02 22:43:27 UTC) #1
Ben Goodger (Google)
9 years ago (2011-12-02 23:21:24 UTC) #2
lgtm

Powered by Google App Engine
This is Rietveld 408576698