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

Unified Diff: ui/views/view.h

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
« no previous file with comments | « ui/views/drag_utils.cc ('k') | ui/views/view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/view.h
diff --git a/ui/views/view.h b/ui/views/view.h
index 7e663c9712268b012e93b2b93b412413493e0e37..f379eaa6613534052d514ba9e23276a16393a761 100644
--- a/ui/views/view.h
+++ b/ui/views/view.h
@@ -17,6 +17,7 @@
#include "base/memory/scoped_ptr.h"
#include "build/build_config.h"
#include "ui/base/accelerators/accelerator.h"
+#include "ui/base/dragdrop/drag_drop_types.h"
#include "ui/base/dragdrop/os_exchange_data.h"
#include "ui/base/events/event.h"
#include "ui/base/events/event_target.h"
@@ -1334,7 +1335,9 @@ class VIEWS_EXPORT View : public ui::LayerDelegate,
// supported drag operations. When done, OnDragDone is invoked. |press_pt| is
// in the view's coordinate system.
// Returns true if a drag was started.
- bool DoDrag(const ui::LocatedEvent& event, const gfx::Point& press_pt);
+ bool DoDrag(const ui::LocatedEvent& event,
+ const gfx::Point& press_pt,
+ ui::DragDropTypes::DragEventSource source);
//////////////////////////////////////////////////////////////////////////////
« no previous file with comments | « ui/views/drag_utils.cc ('k') | ui/views/view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698