Index: trunk/src/ash/wm/workspace/workspace_window_resizer.cc |
=================================================================== |
--- trunk/src/ash/wm/workspace/workspace_window_resizer.cc (revision 244088) |
+++ trunk/src/ash/wm/workspace/workspace_window_resizer.cc (working copy) |
@@ -562,6 +562,15 @@ |
instance_ = this; |
} |
+gfx::Rect WorkspaceWindowResizer::GetFinalBounds( |
+ const gfx::Rect& bounds) const { |
+ if (snap_phantom_window_controller_.get() && |
+ snap_phantom_window_controller_->IsShowing()) { |
+ return snap_phantom_window_controller_->bounds_in_screen(); |
+ } |
+ return bounds; |
+} |
+ |
void WorkspaceWindowResizer::LayoutAttachedWindows( |
gfx::Rect* bounds) { |
gfx::Rect work_area(ScreenAsh::GetDisplayWorkAreaBoundsInParent(window())); |