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

Unified Diff: ui/file_manager/file_manager/background/js/test_util.js

Issue 307053002: Revert of Change directory if the active list item on navigation list is changed. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
Index: ui/file_manager/file_manager/background/js/test_util.js
diff --git a/ui/file_manager/file_manager/background/js/test_util.js b/ui/file_manager/file_manager/background/js/test_util.js
index 62aec6e9525627102c2ed3fc85c2161feea85e9f..c1cc448e28ea5af9d48113c751091759658bb484 100644
--- a/ui/file_manager/file_manager/background/js/test_util.js
+++ b/ui/file_manager/file_manager/background/js/test_util.js
@@ -410,24 +410,6 @@
};
/**
- * Simulates a fake mouse click (right button, single click) on the element
- * specified by |targetQuery|.
- *
- * @param {Window} contentWindow Window to be tested.
- * @param {string} targetQuery Query to specify the element.
- * @param {string=} opt_iframeQuery Optional iframe selector.
- * @return {boolean} True if the event is sent to the target, false
- * otherwise.
- */
-test.util.sync.fakeMouseRightClick = function(
- contentWindow, targetQuery, opt_iframeQuery) {
- var contextMenuEvent = new MouseEvent('contextmenu', {bubbles: true});
- var result = test.util.sync.sendEvent(
- contentWindow, targetQuery, contextMenuEvent, opt_iframeQuery);
- return result;
-};
-
-/**
* Simulates a fake double click event (left button) to the element specified by
* |targetQuery|.
*

Powered by Google App Engine
This is Rietveld 408576698