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

Unified Diff: client/touch/Scroller.dart

Issue 8666012: Partial fix to client breakage (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 9 years, 1 month 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: client/touch/Scroller.dart
===================================================================
--- client/touch/Scroller.dart (revision 1770)
+++ client/touch/Scroller.dart (working copy)
@@ -134,13 +134,17 @@
bool _activeGesture = false;
ScrollWatcher _scrollWatcher;
- Scroller(Element scrollableElem, [this.verticalEnabled = false,
- this.horizontalEnabled = false,
- this._momentumEnabled = true,
- this._lookupContentSizeDelegate = null,
+ Scroller(Element scrollableElem, [verticalEnabled = false,
+ horizontalEnabled = false,
+ momentumEnabled = true,
+ lookupContentSizeDelegate = null,
num defaultDecelerationFactor = 1,
int scrollTechnique = null, bool capture = false])
- : _element = scrollableElem,
+ : this.verticalEnabled = verticalEnabled,
+ this.horizontalEnabled = horizontalEnabled,
+ this._momentumEnabled = momentumEnabled,
+ this._lookupContentSizeDelegate = lookupContentSizeDelegate,
+ _element = scrollableElem,
_frame = scrollableElem.parent,
_scrollTechnique = scrollTechnique !== null
? scrollTechnique : ScrollerScrollTechnique.TRANSFORM_3D,

Powered by Google App Engine
This is Rietveld 408576698