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

Side by Side Diff: sky/sdk/lib/rendering/box.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/block.dart ('k') | sky/sdk/lib/rendering/flex.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 7
8 import 'package:sky/framework/net/image_cache.dart' as image_cache;
9 import 'package:vector_math/vector_math.dart'; 8 import 'package:vector_math/vector_math.dart';
10 9
11 import '../debug/utils.dart'; 10 import '../framework/debug/utils.dart';
11 import '../framework/net/image_cache.dart' as image_cache;
12 import '../painting/box_painter.dart'; 12 import '../painting/box_painter.dart';
13 import 'object.dart'; 13 import 'object.dart';
14 14
15 export '../painting/box_painter.dart'; 15 export '../painting/box_painter.dart';
16 16
17 // GENERIC BOX RENDERING 17 // GENERIC BOX RENDERING
18 // Anything that has a concept of x, y, width, height is going to derive from th is 18 // Anything that has a concept of x, y, width, height is going to derive from th is
19 19
20 // This class should only be used in debug builds 20 // This class should only be used in debug builds
21 class _DebugSize extends Size { 21 class _DebugSize extends Size {
(...skipping 1056 matching lines...) Expand 10 before | Expand all | Expand 10 after
1078 1078
1079 void defaultPaint(RenderObjectDisplayList canvas) { 1079 void defaultPaint(RenderObjectDisplayList canvas) {
1080 RenderBox child = firstChild; 1080 RenderBox child = firstChild;
1081 while (child != null) { 1081 while (child != null) {
1082 assert(child.parentData is ParentDataType); 1082 assert(child.parentData is ParentDataType);
1083 canvas.paintChild(child, child.parentData.position); 1083 canvas.paintChild(child, child.parentData.position);
1084 child = child.parentData.nextSibling; 1084 child = child.parentData.nextSibling;
1085 } 1085 }
1086 } 1086 }
1087 } 1087 }
OLDNEW
« no previous file with comments | « sky/sdk/lib/rendering/block.dart ('k') | sky/sdk/lib/rendering/flex.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698