summaryrefslogtreecommitdiffstats
path: root/ash/wm/window_resizer.cc
diff options
context:
space:
mode:
authoryusukes@chromium.org <yusukes@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-10 17:41:41 +0000
committeryusukes@chromium.org <yusukes@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-10 17:41:41 +0000
commit4b058b24ae58375119cc10a59c349f3ce19083eb (patch)
treee896d309b78e23b65840cd363fd8a1689766cbd9 /ash/wm/window_resizer.cc
parent924f86d56139b76a8c9c0ae58aca54317177917e (diff)
downloadchromium_src-4b058b24ae58375119cc10a59c349f3ce19083eb.zip
chromium_src-4b058b24ae58375119cc10a59c349f3ce19083eb.tar.gz
chromium_src-4b058b24ae58375119cc10a59c349f3ce19083eb.tar.bz2
While dragging a window, show a semi-transparent aura window instead of the standard gray phantom window.
BUG=136816 TEST=new unit tests passed on try Review URL: https://chromiumcodereview.appspot.com/10823199 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151073 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/wm/window_resizer.cc')
-rw-r--r--ash/wm/window_resizer.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/ash/wm/window_resizer.cc b/ash/wm/window_resizer.cc
index 9875106..623be33 100644
--- a/ash/wm/window_resizer.cc
+++ b/ash/wm/window_resizer.cc
@@ -113,6 +113,7 @@ WindowResizer::Details::Details(aura::Window* window,
: window(window),
initial_bounds(window->bounds()),
initial_location_in_parent(location),
+ initial_opacity(window->layer()->opacity()),
window_component(window_component),
bounds_change(GetBoundsChangeForWindowComponent(window_component)),
position_change_direction(