diff options
author | jamescook@chromium.org <jamescook@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-17 19:06:41 +0000 |
---|---|---|
committer | jamescook@chromium.org <jamescook@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-17 19:06:41 +0000 |
commit | 27a84042eaf11de85667ea58e2da81ef1963a6ac (patch) | |
tree | 83ecac6b6effb2dce4b64991219e43243d08229d /ash/shell | |
parent | 4e8d5c8ada6452b59975f9da496d7c8b4858763e (diff) | |
download | chromium_src-27a84042eaf11de85667ea58e2da81ef1963a6ac.zip chromium_src-27a84042eaf11de85667ea58e2da81ef1963a6ac.tar.gz chromium_src-27a84042eaf11de85667ea58e2da81ef1963a6ac.tar.bz2 |
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
Review URL: https://chromiumcodereview.appspot.com/9414028
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@122547 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/shell')
-rw-r--r-- | ash/shell/window_type_launcher.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ash/shell/window_type_launcher.cc b/ash/shell/window_type_launcher.cc index 0153d1c..63dde99 100644 --- a/ash/shell/window_type_launcher.cc +++ b/ash/shell/window_type_launcher.cc @@ -171,7 +171,7 @@ void InitWindowTypeLauncher() { gfx::Rect(120, 150, 400, 400)); widget->GetNativeView()->SetName("WindowTypeLauncher"); ash::internal::SetShadowType(widget->GetNativeView(), - ash::internal::SHADOW_TYPE_NONE); + ash::internal::SHADOW_TYPE_RECTANGULAR); widget->Show(); } |