Extract the code of showing a dragging window on another display from PhantomWindowCo...
commitc38f941e61d37be52f5527c82312a7d5cd473674
authormazda@chromium.org <mazda@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Tue, 4 Dec 2012 21:18:21 +0000 (4 21:18 +0000)
committermazda@chromium.org <mazda@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Tue, 4 Dec 2012 21:18:21 +0000 (4 21:18 +0000)
tree67e9215708116a469e403330a4510d8a8d5f1ecc
parent793202cbba51adb7f7a72af9f28245ab82a8daa3
Extract the code of showing a dragging window on another display from PhantomWindowController.

PhantomWindowController shows two styles of window, STYLE_SHADOW and STYLE_DRAGGING.
Although STYLE_SHADOW is specific to workspace, STYLE_DRAGGING is not specific to
workspace. This CL separates this feature into two classes so that the
STYLE_DRAGGING part can be used from non-workspace specific code

- Extract the STYLE_DRAGGING part from PhantomWindowController into DragWindowController.
- Move the ownership of the copied window layer from WorkspaceWindowResizer to
  DragWindowController.

BUG=156519

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@171048 0039d316-1c4b-4281-b951-d872f2087c98
ash/ash.gyp
ash/shell_window_ids.h
ash/wm/drag_window_controller.cc [new file with mode: 0644]
ash/wm/drag_window_controller.h [new file with mode: 0644]
ash/wm/gestures/system_pinch_handler.cc
ash/wm/workspace/frame_maximize_button.cc
ash/wm/workspace/phantom_window_controller.cc
ash/wm/workspace/phantom_window_controller.h
ash/wm/workspace/workspace_window_resizer.cc
ash/wm/workspace/workspace_window_resizer.h
ash/wm/workspace/workspace_window_resizer_unittest.cc