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

Side by Side Diff: sky/sdk/lib/framework/fn2.dart

Issue 1161003002: Split layout2.dart into several files (Closed) Base URL: git@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
« no previous file with comments | « sky/sdk/lib/framework/components2/tool_bar.dart ('k') | sky/sdk/lib/framework/layout2.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 library fn; 5 library fn;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 import 'dart:collection'; 8 import 'dart:collection';
9 import 'dart:mirrors'; 9 import 'dart:mirrors';
10 import 'dart:sky' as sky; 10 import 'dart:sky' as sky;
11 import 'reflect.dart' as reflect; 11 import 'reflect.dart' as reflect;
12 import 'layout2.dart';
13 import 'app.dart'; 12 import 'app.dart';
13 import 'rendering/render_block.dart';
14 import 'rendering/render_box.dart';
15 import 'rendering/render_flex.dart';
16 import 'rendering/render_node.dart';
17 import 'rendering/render_paragraph.dart';
14 18
15 // final sky.Tracing _tracing = sky.window.tracing; 19 // final sky.Tracing _tracing = sky.window.tracing;
16 20
17 final bool _shouldLogRenderDuration = false; 21 final bool _shouldLogRenderDuration = false;
18 final bool _shouldTrace = false; 22 final bool _shouldTrace = false;
19 23
20 enum _SyncOperation { IDENTICAL, INSERTION, STATEFUL, STATELESS, REMOVAL } 24 enum _SyncOperation { IDENTICAL, INSERTION, STATEFUL, STATELESS, REMOVAL }
21 25
22 /* 26 /*
23 * All Effen nodes derive from UINode. All nodes have a _parent, a _key and 27 * All Effen nodes derive from UINode. All nodes have a _parent, a _key and
(...skipping 934 matching lines...) Expand 10 before | Expand all | Expand 10 after
958 962
959 final int color; 963 final int color;
960 964
961 RenderSolidColor root; 965 RenderSolidColor root;
962 RenderSolidColor createNode() => new RenderSolidColor(color, desiredSize: new sky.Size(40.0, 130.0)); 966 RenderSolidColor createNode() => new RenderSolidColor(color, desiredSize: new sky.Size(40.0, 130.0));
963 967
964 static final Rectangle _emptyRectangle = new Rectangle(0); 968 static final Rectangle _emptyRectangle = new Rectangle(0);
965 RenderNodeWrapper get emptyNode => _emptyRectangle; 969 RenderNodeWrapper get emptyNode => _emptyRectangle;
966 970
967 } 971 }
OLDNEW
« no previous file with comments | « sky/sdk/lib/framework/components2/tool_bar.dart ('k') | sky/sdk/lib/framework/layout2.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698