Index: ui/aura/client/window_drag_drop_delegate.h |
diff --git a/ui/aura/client/window_drag_drop_delegate.h b/ui/aura/client/window_drag_drop_delegate.h |
index 866035b5804da3f96c8962f445891b966481c62c..8e9895ae219681c2f72b27a81800ab63e7ebce1b 100644 |
--- a/ui/aura/client/window_drag_drop_delegate.h |
+++ b/ui/aura/client/window_drag_drop_delegate.h |
@@ -15,14 +15,9 @@ class DropTargetEvent; |
// Delegate interface for drag and drop actions on aura::Window. |
class AURA_EXPORT WindowDragDropDelegate { |
public: |
- // A window that supports drag and drop must override this and return true if |
- // data contains a type that may be dropped on this window. |
- virtual bool CanDrop(const DropTargetEvent& event) = 0; |
- |
// OnDragEntered is invoked when the mouse enters this window during a drag & |
- // drop session and CanDrop returns true. This is immediately |
- // followed by an invocation of OnDragUpdated, and eventually one of |
- // OnDragExited or OnPerformDrop. |
+ // drop session. This is immediately followed by an invocation of |
+ // OnDragUpdated, and eventually one of OnDragExited or OnPerformDrop. |
virtual void OnDragEntered(const DropTargetEvent& event) = 0; |
// Invoked during a drag and drop session while the mouse is over the window. |