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

Side by Side Diff: sky/examples/stocks2/lib/stock_app.dart

Issue 1175423007: Create an example app that demonstrates interactive coordination of an fn tree and a raw RenderObje… (Closed) Base URL: https://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/examples/rendering/sector_layout.dart ('k') | sky/examples/widgets/sector.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 'package:sky/editing2/input.dart'; 5 import 'package:sky/editing2/input.dart';
6 import 'package:sky/rendering/box.dart'; 6 import 'package:sky/rendering/box.dart';
7 import 'package:sky/rendering/paragraph.dart'; 7 import 'package:sky/rendering/paragraph.dart';
8 import 'package:sky/theme2/colors.dart' as colors; 8 import 'package:sky/theme2/colors.dart' as colors;
9 import 'package:sky/theme2/typography.dart' as typography; 9 import 'package:sky/theme2/typography.dart' as typography;
10 import 'package:sky/widgets/basic.dart'; 10 import 'package:sky/widgets/basic.dart';
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 addMenuToOverlays(overlays); 209 addMenuToOverlays(overlays);
210 return new Stack(overlays); 210 return new Stack(overlays);
211 } 211 }
212 } 212 }
213 213
214 void main() { 214 void main() {
215 print("starting stocks app!"); 215 print("starting stocks app!");
216 App app = new StocksApp(); 216 App app = new StocksApp();
217 UINodeAppView.appView.onFrame = () { 217 UINodeAppView.appView.onFrame = () {
218 // uncomment this for debugging: 218 // uncomment this for debugging:
219 // app.appView.debugDumpRenderTree(); 219 // UINodeAppView.appView.debugDumpRenderTree();
220 }; 220 };
221 } 221 }
OLDNEW
« no previous file with comments | « sky/examples/rendering/sector_layout.dart ('k') | sky/examples/widgets/sector.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698