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

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

Issue 900743002: Move preview panel's components to toolbar and footer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add a TODO comment about customized CommandButton. Created 5 years, 10 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
Index: ui/file_manager/file_manager/foreground/js/ui/drag_selector.js
diff --git a/ui/file_manager/file_manager/foreground/js/ui/drag_selector.js b/ui/file_manager/file_manager/foreground/js/ui/drag_selector.js
index f2fafbf8bd56512448ead069246628f139dcec58..544ad809d394b1a9ad5ac126695f313969aa2ca2 100644
--- a/ui/file_manager/file_manager/foreground/js/ui/drag_selector.js
+++ b/ui/file_manager/file_manager/foreground/js/ui/drag_selector.js
@@ -133,7 +133,6 @@ DragSelector.prototype.startDragSelection = function(list, event) {
'mousemove', this.onMouseMoveBound_, true);
this.target_.ownerDocument.addEventListener(
'mouseup', this.onMouseUpBound_, true);
- cr.dispatchSimpleEvent(this.target_, 'dragselectionstart');
};
/**
@@ -232,7 +231,6 @@ DragSelector.prototype.onMouseUp_ = function(event) {
'mousemove', this.onMouseMoveBound_, true);
this.target_.ownerDocument.removeEventListener(
'mouseup', this.onMouseUpBound_, true);
- cr.dispatchSimpleEvent(this.target_, 'dragselectionend');
this.target_.cachedBounds = null;
this.target_ = null;
// The target may select an item by reacting to the mouseup event.

Powered by Google App Engine
This is Rietveld 408576698