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

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

Issue 1232313002: Use package:sky imports consistently (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: fix BUILD.gn Created 5 years, 5 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/auto_layout.dart ('k') | sky/sdk/lib/rendering/box.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 6
7 import 'box.dart'; 7 import 'package:sky/rendering/box.dart';
8 import 'object.dart'; 8 import 'package:sky/rendering/object.dart';
9 9
10 class BlockParentData extends BoxParentData with ContainerParentDataMixin<Render Box> { } 10 class BlockParentData extends BoxParentData with ContainerParentDataMixin<Render Box> { }
11 11
12 abstract class RenderBlockBase extends RenderBox with ContainerRenderObjectMixin <RenderBox, BlockParentData>, 12 abstract class RenderBlockBase extends RenderBox with ContainerRenderObjectMixin <RenderBox, BlockParentData>,
13 RenderBoxContainerDefaults Mixin<RenderBox, BlockParentData> { 13 RenderBoxContainerDefaults Mixin<RenderBox, BlockParentData> {
14 14
15 // lays out RenderBox children in a vertical stack 15 // lays out RenderBox children in a vertical stack
16 // uses the maximum width provided by the parent 16 // uses the maximum width provided by the parent
17 17
18 RenderBlockBase({ 18 RenderBlockBase({
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 canvas.clipRect(offset & size); 207 canvas.clipRect(offset & size);
208 defaultPaint(canvas, offset.translate(0.0, startOffset)); 208 defaultPaint(canvas, offset.translate(0.0, startOffset));
209 canvas.restore(); 209 canvas.restore();
210 } 210 }
211 211
212 void hitTestChildren(HitTestResult result, { Point position }) { 212 void hitTestChildren(HitTestResult result, { Point position }) {
213 defaultHitTestChildren(result, position: position + new Offset(0.0, -startOf fset)); 213 defaultHitTestChildren(result, position: position + new Offset(0.0, -startOf fset));
214 } 214 }
215 215
216 } 216 }
217
OLDNEW
« no previous file with comments | « sky/sdk/lib/rendering/auto_layout.dart ('k') | sky/sdk/lib/rendering/box.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698