summaryrefslogtreecommitdiffstats
path: root/ash/wm/shadow_controller.cc
diff options
context:
space:
mode:
authorjamescook@chromium.org <jamescook@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-16 22:43:23 +0000
committerjamescook@chromium.org <jamescook@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-16 22:43:23 +0000
commit37167d33709da8f73acd4a8f0e1577ed72a359f2 (patch)
tree22e579808f550d75ff08adef93336ae5e4d010ca /ash/wm/shadow_controller.cc
parent56721c912f3725ab3b7fb341809991ce41dafab5 (diff)
downloadchromium_src-37167d33709da8f73acd4a8f0e1577ed72a359f2.zip
chromium_src-37167d33709da8f73acd4a8f0e1577ed72a359f2.tar.gz
chromium_src-37167d33709da8f73acd4a8f0e1577ed72a359f2.tar.bz2
Revert 127268 - Ash: Add resize border shadow effect
* Add ResizeShadow that uses solid-color layers to draw the resize border shadow effect. * Add ResizeShadowController to create ResizeShadows and track bounds changes for windows. * Wire both into ToplevelWindowEventFilter to track mouse move/enter events near (but not inside) the window frame. BUG=118325 TEST=visual, hover mouse near window edges, drag windows Review URL: https://chromiumcodereview.appspot.com/9677070 TBR=jamescook@chromium.org Review URL: https://chromiumcodereview.appspot.com/9724005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127277 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/wm/shadow_controller.cc')
-rw-r--r--ash/wm/shadow_controller.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/ash/wm/shadow_controller.cc b/ash/wm/shadow_controller.cc
index e467f2c..52de1ce 100644
--- a/ash/wm/shadow_controller.cc
+++ b/ash/wm/shadow_controller.cc
@@ -6,6 +6,7 @@
#include <utility>
+#include "ash/ash_switches.h"
#include "ash/shell.h"
#include "ash/wm/shadow.h"
#include "ash/wm/shadow_types.h"