Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2385)

Unified Diff: ash/drag_drop/drag_drop_controller.h

Issue 10855159: Support Drag and Drop across displays. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Disable DragDropTrackerTest on Win Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ash/drag_drop/drag_drop_controller.h
diff --git a/ash/drag_drop/drag_drop_controller.h b/ash/drag_drop/drag_drop_controller.h
index 468ba589c68333107116aafd3ea2fb464b4ff933..dabcbc12d74f904b98559591d30c179cc3613eb3 100644
--- a/ash/drag_drop/drag_drop_controller.h
+++ b/ash/drag_drop/drag_drop_controller.h
@@ -16,6 +16,7 @@
#include "ui/gfx/point.h"
namespace aura {
+class RootWindow;
class Window;
}
@@ -31,6 +32,7 @@ class DragDropControllerTest;
namespace internal {
+class DragDropTracker;
class DragImageView;
class ASH_EXPORT DragDropController
@@ -48,6 +50,7 @@ class ASH_EXPORT DragDropController
// Overridden from aura::client::DragDropClient:
virtual int StartDragAndDrop(const ui::OSExchangeData& data,
+ aura::RootWindow* root_window,
const gfx::Point& root_location,
int operation) OVERRIDE;
virtual void DragUpdate(aura::Window* target,
@@ -95,8 +98,6 @@ class ASH_EXPORT DragDropController
aura::Window* drag_window_;
gfx::Point drag_start_location_;
- bool drag_drop_in_progress_;
-
// Indicates whether the caller should be blocked on a drag/drop session.
// Only be used for tests.
bool should_block_during_drag_drop_;
@@ -104,6 +105,8 @@ class ASH_EXPORT DragDropController
// Closure for quitting nested message loop.
base::Closure quit_closure_;
+ scoped_ptr<ash::internal::DragDropTracker> drag_drop_tracker_;
+
DISALLOW_COPY_AND_ASSIGN(DragDropController);
};

Powered by Google App Engine
This is Rietveld 408576698