summaryrefslogtreecommitdiffstats
path: root/ui/aura_shell/aura_shell.gyp
diff options
context:
space:
mode:
authorderat@chromium.org <derat@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-21 22:03:34 +0000
committerderat@chromium.org <derat@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-21 22:03:34 +0000
commita54e65be68a438559f1c11c6ac1cbcc8999528cf (patch)
treefa15db2b97e60f247b60b97f63b49e1410c90020 /ui/aura_shell/aura_shell.gyp
parent844b10080bdf0658c1535141d4f24380d7625c7a (diff)
downloadchromium_src-a54e65be68a438559f1c11c6ac1cbcc8999528cf.zip
chromium_src-a54e65be68a438559f1c11c6ac1cbcc8999528cf.tar.gz
chromium_src-a54e65be68a438559f1c11c6ac1cbcc8999528cf.tar.bz2
aura: Draw drop shadows under browsers and menus.
This is largely a port of the existing X window manager's code for drawing shadows around windows. It adds an ImageGrid class for drawing a scaled 3x3 grid of gfx::Images and a Shadow class (managed by aura_shell::ShadowController) that uses ImageGrid to draw a shadow. Shadows can be disabled via --aura-no-shadows. BUG=101977 TEST=added unit tests; also manually checked that shadows get drawn Review URL: http://codereview.chromium.org/8555025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111009 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/aura_shell/aura_shell.gyp')
-rw-r--r--ui/aura_shell/aura_shell.gyp8
1 files changed, 8 insertions, 0 deletions
diff --git a/ui/aura_shell/aura_shell.gyp b/ui/aura_shell/aura_shell.gyp
index 5639feb..345b999 100644
--- a/ui/aura_shell/aura_shell.gyp
+++ b/ui/aura_shell/aura_shell.gyp
@@ -49,6 +49,8 @@
'drag_drop_controller.h',
'drag_image_view.cc',
'drag_image_view.h',
+ 'image_grid.cc',
+ 'image_grid.h',
'launcher/app_launcher_button.cc',
'launcher/app_launcher_button.h',
'launcher/launcher.cc',
@@ -72,6 +74,10 @@
'modality_event_filter_delegate.h',
'property_util.cc',
'property_util.h',
+ 'shadow.cc',
+ 'shadow.h',
+ 'shadow_controller.cc',
+ 'shadow_controller.h',
'shelf_layout_controller.cc',
'shelf_layout_controller.h',
'shell.cc',
@@ -129,11 +135,13 @@
'default_container_layout_manager_unittest.cc',
'desktop_event_filter_unittest.cc',
'drag_drop_controller_unittest.cc',
+ 'image_grid_unittest.cc',
'launcher/launcher_model_unittest.cc',
'launcher/view_model_unittest.cc',
'launcher/view_model_utils_unittest.cc',
'modal_container_layout_manager_unittest.cc',
'run_all_unittests.cc',
+ 'shadow_controller_unittest.cc',
'shell_unittest.cc',
'stacking_controller_unittest.cc',
'test_suite.cc',