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

Side by Side Diff: LayoutTests/fast/forms/calendar-picker/resources/calendar-picker-common.js

Issue 14120003: Move LayoutTests from platform/chromium/... to generic location (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 function currentMonth() { 1 function currentMonth() {
2 return popupWindow.global.picker.currentMonth().toString(); 2 return popupWindow.global.picker.currentMonth().toString();
3 } 3 }
4 4
5 function availableDayCells() { 5 function availableDayCells() {
6 skipAnimation(); 6 skipAnimation();
7 return Array.prototype.map.call(popupWindow.document.querySelectorAll(".day- cell:not(.disabled):not(.hidden)"), function(element) { 7 return Array.prototype.map.call(popupWindow.document.querySelectorAll(".day- cell:not(.disabled):not(.hidden)"), function(element) {
8 return element.$view.day.toString(); 8 return element.$view.day.toString();
9 }).sort().join(); 9 }).sort().join();
10 } 10 }
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 lastYearListViewScrollOffset = scrollOffset; 152 lastYearListViewScrollOffset = scrollOffset;
153 return change; 153 return change;
154 } 154 }
155 155
156 function isCalendarTableScrollingWithAnimation() { 156 function isCalendarTableScrollingWithAnimation() {
157 var animator = popupWindow.global.picker.calendarTableView.scrollView.scroll Animator(); 157 var animator = popupWindow.global.picker.calendarTableView.scrollView.scroll Animator();
158 if (!animator) 158 if (!animator)
159 return false; 159 return false;
160 return animator.isRunning(); 160 return animator.isRunning();
161 } 161 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698