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

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

Issue 306053004: Revert 273601 "Change directory if the active list item on navig..." (Closed) Base URL: svn://svn.chromium.org/chrome/
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: trunk/src/ui/file_manager/file_manager/background/js/test_util.js
===================================================================
--- trunk/src/ui/file_manager/file_manager/background/js/test_util.js (revision 273722)
+++ trunk/src/ui/file_manager/file_manager/background/js/test_util.js (working copy)
@@ -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