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

Side by Side Diff: samples/ui_lib/view/view.dart

Issue 11364134: Merge libv1. (Closed) Base URL: https://dart.googlecode.com/svn/experimental/lib_v2/dart
Patch Set: Reupload due to error Created 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « samples/ui_lib/util/utilslib.dart ('k') | sdk/lib/_internal/compiler/compiler.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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:html'); 7 import 'dart:html';
8 #import('dart:math', prefix: 'Math'); 8 import 'dart:math' as Math;
9 9
10 #import('../base/base.dart'); 10 import '../base/base.dart';
11 #import('../observable/observable.dart'); 11 import '../observable/observable.dart';
12 #import('../touch/touch.dart'); 12 import '../touch/touch.dart';
13 #import('../layout/layout.dart'); 13 import '../layout/layout.dart';
14 14
15 #source('CompositeView.dart'); 15 part 'CompositeView.dart';
16 #source('ConveyorView.dart'); 16 part 'ConveyorView.dart';
17 #source('MeasureText.dart'); 17 part 'MeasureText.dart';
18 #source('PagedViews.dart'); 18 part 'PagedViews.dart';
19 #source('SliderMenu.dart'); 19 part 'SliderMenu.dart';
20 20
21 21
22 // TODO(rnystrom): Note! This class is undergoing heavy construction. It will 22 // TODO(rnystrom): Note! This class is undergoing heavy construction. It will
23 // temporary support both some old and some new ways of doing things until all 23 // temporary support both some old and some new ways of doing things until all
24 // subclasses are refactored to use the new way. There will be some scaffolding 24 // subclasses are refactored to use the new way. There will be some scaffolding
25 // and construction cones laying around. Try not to freak out. 25 // and construction cones laying around. Try not to freak out.
26 26
27 /** A generic view. */ 27 /** A generic view. */
28 class View implements Positionable { 28 class View implements Positionable {
29 Element _node; 29 Element _node;
(...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after
364 } 364 }
365 } 365 }
366 366
367 void _applyLayout() { 367 void _applyLayout() {
368 if (_layout != null) { 368 if (_layout != null) {
369 _layout.applyLayout(); 369 _layout.applyLayout();
370 } 370 }
371 _applyLayoutToChildren(); 371 _applyLayoutToChildren();
372 } 372 }
373 } 373 }
OLDNEW
« no previous file with comments | « samples/ui_lib/util/utilslib.dart ('k') | sdk/lib/_internal/compiler/compiler.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698