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

Unified Diff: sky/sdk/lib/framework/rendering/stack.dart

Issue 1161323004: Export Point, Size, Rect, Color, Paint, Path, BoxDecoration, Border, BorderSide, EdgeDims, and Flex… (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: without analyser changes 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/sdk/lib/framework/rendering/paragraph.dart ('k') | sky/sdk/lib/framework/theme2/colors.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/sdk/lib/framework/rendering/stack.dart
diff --git a/sky/sdk/lib/framework/rendering/stack.dart b/sky/sdk/lib/framework/rendering/stack.dart
index 80f7bec7b83ebebcfd0e7ea306368e7ba9b31c8d..b22cb69e5224296c07481eeb2500aaec7e68ede7 100644
--- a/sky/sdk/lib/framework/rendering/stack.dart
+++ b/sky/sdk/lib/framework/rendering/stack.dart
@@ -2,7 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-import 'dart:sky' as sky;
import 'box.dart';
import 'object.dart';
@@ -22,17 +21,17 @@ class RenderStack extends RenderBox with ContainerRenderObjectMixin<RenderBox, S
child.parentData = new StackParentData();
}
- sky.Size getIntrinsicDimensions(BoxConstraints constraints) {
- return constraints.constrain(sky.Size.infinite);
+ Size getIntrinsicDimensions(BoxConstraints constraints) {
+ return constraints.constrain(Size.infinite);
}
void performLayout() {
- size = constraints.constrain(sky.Size.infinite);
+ size = constraints.constrain(Size.infinite);
assert(size.width < double.INFINITY);
assert(size.height < double.INFINITY);
BoxConstraints innerConstraints = new BoxConstraints.loose(size);
- sky.Point origin = new sky.Point(0.0, 0.0);
+ Point origin = new Point(0.0, 0.0);
RenderBox child = firstChild;
while (child != null) {
child.layout(innerConstraints);
@@ -42,7 +41,7 @@ class RenderStack extends RenderBox with ContainerRenderObjectMixin<RenderBox, S
}
}
- void hitTestChildren(HitTestResult result, { sky.Point position }) {
+ void hitTestChildren(HitTestResult result, { Point position }) {
defaultHitTestChildren(result, position: position);
}
« no previous file with comments | « sky/sdk/lib/framework/rendering/paragraph.dart ('k') | sky/sdk/lib/framework/theme2/colors.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698