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

Side by Side Diff: sky/sdk/lib/rendering/object.dart

Issue 1177383006: Rename all the things (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: fix imports Created 5 years, 6 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
« no previous file with comments | « sky/sdk/lib/rendering/flex.dart ('k') | sky/sdk/lib/rendering/paragraph.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 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 import 'dart:math' as math; 5 import 'dart:math' as math;
6 import 'dart:sky' as sky; 6 import 'dart:sky' as sky;
7 import 'dart:sky' show Point, Size, Rect, Color, Paint, Path; 7 import 'dart:sky' show Point, Size, Rect, Color, Paint, Path;
8 8
9 import '../node.dart'; 9 import '../app/scheduler.dart' as scheduler;
10 import '../scheduler.dart' as scheduler; 10 import '../framework/node.dart';
11 11
12 export 'dart:sky' show Point, Size, Rect, Color, Paint, Path; 12 export 'dart:sky' show Point, Size, Rect, Color, Paint, Path;
13 13
14 class ParentData { 14 class ParentData {
15 void detach() { 15 void detach() {
16 detachSiblings(); 16 detachSiblings();
17 } 17 }
18 void detachSiblings() { } // workaround for lack of inter-class mixins in Dart 18 void detachSiblings() { } // workaround for lack of inter-class mixins in Dart
19 void merge(ParentData other) { 19 void merge(ParentData other) {
20 // override this in subclasses to merge in data from other into this 20 // override this in subclasses to merge in data from other into this
(...skipping 436 matching lines...) Expand 10 before | Expand all | Expand 10 after
457 int count = 1; 457 int count = 1;
458 ChildType child = _firstChild; 458 ChildType child = _firstChild;
459 while (child != null) { 459 while (child != null) {
460 result += '${prefix}child ${count}: ${child.toString(prefix)}'; 460 result += '${prefix}child ${count}: ${child.toString(prefix)}';
461 count += 1; 461 count += 1;
462 child = child.parentData.nextSibling; 462 child = child.parentData.nextSibling;
463 } 463 }
464 return result; 464 return result;
465 } 465 }
466 } 466 }
OLDNEW
« no previous file with comments | « sky/sdk/lib/rendering/flex.dart ('k') | sky/sdk/lib/rendering/paragraph.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698