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

Unified Diff: ui/file_manager/file_manager/common/js/util.js

Issue 962103002: Files.app: Introduce check-select mode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove remaining debug log. 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
« no previous file with comments | « no previous file | ui/file_manager/file_manager/foreground/css/file_manager.css » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/file_manager/file_manager/common/js/util.js
diff --git a/ui/file_manager/file_manager/common/js/util.js b/ui/file_manager/file_manager/common/js/util.js
index 3f80fde304b05b22c32eddc6532a80c36b0d296c..821407c8ef4e6a7573800591e85f25f13fb26d89 100644
--- a/ui/file_manager/file_manager/common/js/util.js
+++ b/ui/file_manager/file_manager/common/js/util.js
@@ -1037,24 +1037,3 @@ util.addEventListenerToBackgroundComponent = function(target, type, handler) {
target.removeEventListener(type, handler);
});
};
-
-/**
- * Repeats a given event to a given target with event.ctrlKey set true.
- * @param {!EventTarget} target Event target which receives the repeated event.
- * @param {!Event} event Original mouse event.
- */
-util.repeatMouseEventWithCtrlKey = function(target, event) {
- event.stopPropagation();
- event.preventDefault();
- event = assertInstanceof(event, MouseEvent);
- var eventWithCtrl = new MouseEvent(event.type, {
- bubbles: event.bubbles,
- button: event.button,
- clientX: event.clientX,
- clientY: event.clientY,
- ctrlKey: true,
- shiftKey: event.shiftKey,
- target: event.target
- });
- target.dispatchEvent(eventWithCtrl);
-};
« no previous file with comments | « no previous file | ui/file_manager/file_manager/foreground/css/file_manager.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698