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

Side by Side Diff: sky/sdk/lib/framework/components/scrollable.dart

Issue 1150433002: Add library names to many sky libraries (Closed) Base URL: git@github.com:domokit/mojo.git@fix_shelldb
Patch Set: Created 5 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 library components_scrollable;
6
5 import '../animation/generators.dart'; 7 import '../animation/generators.dart';
6 import '../animation/mechanics.dart'; 8 import '../animation/mechanics.dart';
7 import '../animation/scroll_behavior.dart'; 9 import '../animation/scroll_behavior.dart';
8 import '../fn.dart'; 10 import '../fn.dart';
9 import '../theme/view_configuration.dart' as config; 11 import '../theme/view_configuration.dart' as config;
10 import 'dart:math' as math; 12 import 'dart:math' as math;
11 import 'dart:sky' as sky; 13 import 'dart:sky' as sky;
12 14
13 const double _kMillisecondsPerSecond = 1000.0; 15 const double _kMillisecondsPerSecond = 1000.0;
14 16
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 } 139 }
138 140
139 void _handleFlingCancel(sky.GestureEvent event) { 141 void _handleFlingCancel(sky.GestureEvent event) {
140 _startSimulation(_createParticle()); 142 _startSimulation(_createParticle());
141 } 143 }
142 144
143 void _handleWheel(sky.WheelEvent event) { 145 void _handleWheel(sky.WheelEvent event) {
144 scrollBy(-event.offsetY); 146 scrollBy(-event.offsetY);
145 } 147 }
146 } 148 }
OLDNEW
« no previous file with comments | « sky/sdk/lib/framework/components/scaffold.dart ('k') | sky/sdk/lib/framework/debug/tracing.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698