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

Unified Diff: client/touch/Scroller.dart

Issue 8680038: Revert initializing formals change in client code (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
« no previous file with comments | « client/touch/Geometry.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/touch/Scroller.dart
===================================================================
--- client/touch/Scroller.dart (revision 1822)
+++ client/touch/Scroller.dart (working copy)
@@ -134,16 +134,14 @@
bool _activeGesture = false;
ScrollWatcher _scrollWatcher;
- Scroller(Element scrollableElem, [verticalEnabled = false,
- horizontalEnabled = false,
+ Scroller(Element scrollableElem, [this.verticalEnabled = false,
+ this.horizontalEnabled = false,
momentumEnabled = true,
lookupContentSizeDelegate = null,
num defaultDecelerationFactor = 1,
int scrollTechnique = null, bool capture = false])
- : this.verticalEnabled = verticalEnabled,
- this.horizontalEnabled = horizontalEnabled,
- this._momentumEnabled = momentumEnabled,
- this._lookupContentSizeDelegate = lookupContentSizeDelegate,
+ : _momentumEnabled = momentumEnabled,
+ _lookupContentSizeDelegate = lookupContentSizeDelegate,
_element = scrollableElem,
_frame = scrollableElem.parent,
_scrollTechnique = scrollTechnique !== null
« no previous file with comments | « client/touch/Geometry.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698