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

Unified Diff: ash/drag_drop/drag_drop_controller.cc

Issue 11368072: aura: Add flag to indicate if a drag session is started with touch or mouse. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: patch Created 8 years, 1 month 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.cc
diff --git a/ash/drag_drop/drag_drop_controller.cc b/ash/drag_drop/drag_drop_controller.cc
index 01788dd08822d220da04054f551d6a4c5576ddf5..1ec9c1bedfbe7682d3a6b09e3d14ee9559cf199d 100644
--- a/ash/drag_drop/drag_drop_controller.cc
+++ b/ash/drag_drop/drag_drop_controller.cc
@@ -56,10 +56,12 @@ DragDropController::~DragDropController() {
drag_image_.reset();
}
-int DragDropController::StartDragAndDrop(const ui::OSExchangeData& data,
- aura::RootWindow* root_window,
- const gfx::Point& root_location,
- int operation) {
+int DragDropController::StartDragAndDrop(
+ const ui::OSExchangeData& data,
+ aura::RootWindow* root_window,
+ const gfx::Point& root_location,
+ int operation,
+ ui::DragDropTypes::DragEventSource source) {
DCHECK(!IsDragDropInProgress());
drag_drop_tracker_.reset(new DragDropTracker);

Powered by Google App Engine
This is Rietveld 408576698