Chromium Code Reviews| Index: ui/base/dragdrop/drag_source_win.h |
| diff --git a/ui/base/dragdrop/drag_source_win.h b/ui/base/dragdrop/drag_source_win.h |
| index 7c03b6cb59152e5459cc6f849d3b1b054384260c..15447c3fa85b02a1be3e69f9edba79af795dd96b 100644 |
| --- a/ui/base/dragdrop/drag_source_win.h |
| +++ b/ui/base/dragdrop/drag_source_win.h |
| @@ -9,6 +9,7 @@ |
| #include "base/basictypes.h" |
| #include "base/memory/ref_counted.h" |
| +#include "ui/base/dragdrop/drag_drop_types.h" |
| #include "ui/base/ui_export.h" |
| namespace ui { |
| @@ -22,6 +23,7 @@ class UI_EXPORT DragSourceWin |
| public base::RefCountedThreadSafe<DragSourceWin> { |
| public: |
| DragSourceWin(); |
| + DragSourceWin(DragDropTypes::DragEventSource event_source); |
|
sky
2013/06/07 21:29:50
explicit, and nuke the other constructors.
Hongbo Min
2013/06/08 03:08:49
Done.
|
| virtual ~DragSourceWin() {} |
| // Stop the drag operation at the next chance we get. This doesn't |
| @@ -49,6 +51,9 @@ class UI_EXPORT DragSourceWin |
| // Set to true if we want to cancel the drag operation. |
| bool cancel_drag_; |
| + // Indicate the drag initiator, mouse or touch. |
| + const DragDropTypes::DragEventSource event_source_; |
| + |
| DISALLOW_COPY_AND_ASSIGN(DragSourceWin); |
| }; |