OLD | NEW |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 library view; | 5 library view; |
6 | 6 |
| 7 import 'dart:async'; |
7 import 'dart:html'; | 8 import 'dart:html'; |
8 import 'dart:math' as Math; | 9 import 'dart:math' as Math; |
9 | 10 |
10 import '../base/base.dart'; | 11 import '../base/base.dart'; |
11 import '../observable/observable.dart'; | 12 import '../observable/observable.dart'; |
12 import '../touch/touch.dart'; | 13 import '../touch/touch.dart'; |
13 import '../layout/layout.dart'; | 14 import '../layout/layout.dart'; |
14 | 15 |
15 part 'CompositeView.dart'; | 16 part 'CompositeView.dart'; |
16 part 'ConveyorView.dart'; | 17 part 'ConveyorView.dart'; |
(...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
364 } | 365 } |
365 } | 366 } |
366 | 367 |
367 void _applyLayout() { | 368 void _applyLayout() { |
368 if (_layout != null) { | 369 if (_layout != null) { |
369 _layout.applyLayout(); | 370 _layout.applyLayout(); |
370 } | 371 } |
371 _applyLayoutToChildren(); | 372 _applyLayoutToChildren(); |
372 } | 373 } |
373 } | 374 } |
OLD | NEW |