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

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

Issue 11233061: Revert "Parts must start with 'part of'" and "Attempt to fix VM build" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: 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 | « dart/samples/ui_lib/view/SliderMenu.dart ('k') | dart/tests/co19/co19-compiler.status » ('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' as Math; 8 #import('dart:math', prefix: '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 part 'CompositeView.dart'; 15 #source('CompositeView.dart');
16 part 'ConveyorView.dart'; 16 #source('ConveyorView.dart');
17 part 'MeasureText.dart'; 17 #source('MeasureText.dart');
18 part 'PagedViews.dart'; 18 #source('PagedViews.dart');
19 part 'SliderMenu.dart'; 19 #source('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 | « dart/samples/ui_lib/view/SliderMenu.dart ('k') | dart/tests/co19/co19-compiler.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698