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

Side by Side Diff: sky/sdk/lib/framework/layouts/block.dart

Issue 1132063007: Rationalize Dart mojo and sky package structure (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 7 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/framework/layout.dart ('k') | sky/sdk/lib/framework/net/fetch.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 1
2 import 'dart:sky' as sky; 2 import 'dart:sky' as sky;
3 import '../fn.dart'; 3 import '../fn.dart';
4 4
5 class BlockLayout extends LayoutContainer { 5 class BlockLayout extends LayoutContainer {
6 6
7 BlockLayout({ 7 BlockLayout({
8 Object key, 8 Object key,
9 List<UINode> children, 9 List<UINode> children,
10 Style style, 10 Style style,
(...skipping 10 matching lines...) Expand all
21 skyNode.width = skyNode.parentNode.width; 21 skyNode.width = skyNode.parentNode.width;
22 skyNode.getChildNodes().forEach((child) { 22 skyNode.getChildNodes().forEach((child) {
23 child.layout(); 23 child.layout();
24 child.x = 0.0; 24 child.x = 0.0;
25 child.y = y; 25 child.y = y;
26 y += child.height; 26 y += child.height;
27 }); 27 });
28 skyNode.height = y; 28 skyNode.height = y;
29 } 29 }
30 } 30 }
OLDNEW
« no previous file with comments | « sky/sdk/lib/framework/layout.dart ('k') | sky/sdk/lib/framework/net/fetch.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698