| OLD | NEW |
| 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, 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('../base/base.dart'); | 7 #import('../base/base.dart'); |
| 8 #import('../observable/observable.dart'); | 8 #import('../observable/observable.dart'); |
| 9 #import('../touch/touch.dart'); | 9 #import('../touch/touch.dart'); |
| 10 #import('dart:html'); | 10 #import('../html/html.dart'); |
| 11 #import('../layout/layout.dart'); | 11 #import('../layout/layout.dart'); |
| 12 | 12 |
| 13 #source('CompositeView.dart'); | 13 #source('CompositeView.dart'); |
| 14 #source('ConveyorView.dart'); | 14 #source('ConveyorView.dart'); |
| 15 #source('MeasureText.dart'); | 15 #source('MeasureText.dart'); |
| 16 #source('PagedViews.dart'); | 16 #source('PagedViews.dart'); |
| 17 #source('SliderMenu.dart'); | 17 #source('SliderMenu.dart'); |
| 18 | 18 |
| 19 // TODO(rnystrom): Note! This class is undergoing heavy construction. It will | 19 // TODO(rnystrom): Note! This class is undergoing heavy construction. It will |
| 20 // temporary support both some old and some new ways of doing things until all | 20 // temporary support both some old and some new ways of doing things until all |
| (...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 344 } | 344 } |
| 345 } | 345 } |
| 346 | 346 |
| 347 void _applyLayout() { | 347 void _applyLayout() { |
| 348 if (_layout != null) { | 348 if (_layout != null) { |
| 349 _layout.applyLayout(); | 349 _layout.applyLayout(); |
| 350 } | 350 } |
| 351 _applyLayoutToChildren(); | 351 _applyLayoutToChildren(); |
| 352 } | 352 } |
| 353 } | 353 } |
| OLD | NEW |