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

Unified Diff: LayoutTests/fast/forms/resources/picker-common.js

Issue 618193003: Rename page-popup helper functions. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 2 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: LayoutTests/fast/forms/resources/picker-common.js
diff --git a/LayoutTests/fast/forms/resources/picker-common.js b/LayoutTests/fast/forms/resources/picker-common.js
index 4956b74947dd718e40b97778fd10fd28473985fb..b541fd2391a4d3c1dd1b9f6befca192b3db27f30 100644
--- a/LayoutTests/fast/forms/resources/picker-common.js
+++ b/LayoutTests/fast/forms/resources/picker-common.js
@@ -3,7 +3,8 @@ window.jsTestIsAsync = true;
var popupWindow = null;
var popupOpenCallback = null;
-function openPicker(input, callback) {
+
+function openPickerWithMock(input, callback) {
if (window.internals)
internals.setEnableMockPagePopup(true);
input.offsetTop; // Force to lay out
@@ -35,7 +36,7 @@ function sendKey(input, keyName, ctrlKey, altKey) {
input.dispatchEvent(event);
}
-function openPickerWithoutMock(input, callback) {
+function openPicker(input, callback) {
window.moveTo();
input.offsetTop; // Force to lay out
if (input.type === "color") {

Powered by Google App Engine
This is Rietveld 408576698