summaryrefslogtreecommitdiffstats
path: root/ui/aura/client
diff options
context:
space:
mode:
authoroshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-09-10 18:23:02 +0000
committeroshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-09-10 18:23:02 +0000
commit01ba68876697c812af59ae26503db7fe72b52677 (patch)
treea601fdb4391ccd3d03d72d8af30e891dfcddfb86 /ui/aura/client
parent4a007aac63e4f16a6d473b5a17903d66258e30d2 (diff)
downloadchromium_src-01ba68876697c812af59ae26503db7fe72b52677.zip
chromium_src-01ba68876697c812af59ae26503db7fe72b52677.tar.gz
chromium_src-01ba68876697c812af59ae26503db7fe72b52677.tar.bz2
Revert r14457 "Cancel drag if display configuration changes."
This reverts commit 116e78b0600dd591d2b54390e290e95b8ea0355b. link error in win_aura TBR=oshima@chromium.org BUG=14457 TEST=none Review URL: https://chromiumcodereview.appspot.com/10913174 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155770 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/aura/client')
-rw-r--r--ui/aura/client/window_move_client.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/ui/aura/client/window_move_client.h b/ui/aura/client/window_move_client.h
index 2d2a8cb..048e572 100644
--- a/ui/aura/client/window_move_client.h
+++ b/ui/aura/client/window_move_client.h
@@ -15,21 +15,13 @@ namespace aura {
class Window;
namespace client {
-enum WindowMoveResult {
- MOVE_SUCCESSFUL, // Moving window was successful.
- MOVE_CANCELED // Moving window was canceled.
-};
-
// An interface implemented by an object that manages programatically keyed
// window moving.
class AURA_EXPORT WindowMoveClient {
public:
// Starts a nested message loop for moving the window. |drag_offset| is the
// offset from the window origin to the cursor when the drag was started.
- // Returns MOVE_SUCCESSFUL if the move has completed successfully, or
- // MOVE_CANCELED otherwise.
- virtual WindowMoveResult RunMoveLoop(Window* window,
- const gfx::Point& drag_offset) = 0;
+ virtual void RunMoveLoop(Window* window, const gfx::Point& drag_offset) = 0;
// Ends a previously started move loop.
virtual void EndMoveLoop() = 0;