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

Unified Diff: ui/file_manager/file_manager/foreground/js/drag_selector.js

Issue 307863003: Listen to 'drag' to detect actual start of drag operation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Modified handler name to avoid confusion. Created 6 years, 7 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
« no previous file with comments | « no previous file | ui/file_manager/file_manager/foreground/js/file_manager.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/file_manager/file_manager/foreground/js/drag_selector.js
diff --git a/ui/file_manager/file_manager/foreground/js/drag_selector.js b/ui/file_manager/file_manager/foreground/js/drag_selector.js
index a57528eeff3e067da2bfde17418b678eee380b93..3288004e617329444a913a7ee572dbc490f89c1a 100644
--- a/ui/file_manager/file_manager/foreground/js/drag_selector.js
+++ b/ui/file_manager/file_manager/foreground/js/drag_selector.js
@@ -136,6 +136,7 @@ DragSelector.prototype.startDragSelection = function(list, event) {
'mousemove', this.onMouseMoveBound_, true);
this.target_.ownerDocument.addEventListener(
'mouseup', this.onMouseUpBound_, true);
+ cr.dispatchSimpleEvent(this.target_, 'dragselectionstart');
};
/**
« no previous file with comments | « no previous file | ui/file_manager/file_manager/foreground/js/file_manager.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698