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

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

Issue 1189603003: Remove RenderSizedBox. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: 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
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 '../app/scheduler.dart' as scheduler; 9 import '../app/scheduler.dart' as scheduler;
10 import '../framework/node.dart'; 10 import '../framework/node.dart';
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 } 243 }
244 header += ' relayoutSubtreeRoot=up$count'; 244 header += ' relayoutSubtreeRoot=up$count';
245 } 245 }
246 if (_needsLayout) 246 if (_needsLayout)
247 header += ' NEEDS-LAYOUT'; 247 header += ' NEEDS-LAYOUT';
248 if (!attached) 248 if (!attached)
249 header += ' DETACHED'; 249 header += ' DETACHED';
250 prefix += ' '; 250 prefix += ' ';
251 return '${header}\n${debugDescribeSettings(prefix)}${debugDescribeChildren(p refix)}'; 251 return '${header}\n${debugDescribeSettings(prefix)}${debugDescribeChildren(p refix)}';
252 } 252 }
253 String debugDescribeSettings(String prefix) => '${prefix}parentData: ${parentD ata}\n'; 253 String debugDescribeSettings(String prefix) => '${prefix}parentData: ${parentD ata}\n${prefix}constraints: ${constraints}\n';
254 String debugDescribeChildren(String prefix) => ''; 254 String debugDescribeChildren(String prefix) => '';
255 255
256 } 256 }
257 257
258 class HitTestEntry { 258 class HitTestEntry {
259 const HitTestEntry(this.target); 259 const HitTestEntry(this.target);
260 260
261 final RenderObject target; 261 final RenderObject target;
262 } 262 }
263 263
(...skipping 193 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

Powered by Google App Engine
This is Rietveld 408576698