Use WorkspaceWindowResizer in TwoFingerDragHandler instead of DefaultWindowResizer.
commit8ccddf61312b0f0c514be035cd7754b3474c6aef
authormazda@chromium.org <mazda@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Tue, 23 Oct 2012 04:31:27 +0000 (23 04:31 +0000)
committermazda@chromium.org <mazda@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Tue, 23 Oct 2012 04:31:27 +0000 (23 04:31 +0000)
tree47a1ae32621e4bc53bfdbde8c2dd1abcfa6e4093
parent98c6b0021366e91f543726ad803fae4e179224ab
Use WorkspaceWindowResizer in TwoFingerDragHandler instead of DefaultWindowResizer.

This will make a window contained in the work area, which is consistent with
window move by single finger.

BUG=156717
TEST=Check window is not moved beneath the launcher by two finger window move on device.

Review URL: https://chromiumcodereview.appspot.com/11183074

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@163500 0039d316-1c4b-4281-b951-d872f2087c98
ash/wm/gestures/two_finger_drag_handler.cc
ash/wm/gestures/two_finger_drag_handler.h
ash/wm/window_resizer.h
ash/wm/workspace/workspace_window_resizer.cc