| OLD | NEW |
| 1 | 1 |
| 2 import 'package:sky/framework/rendering/render_node.dart'; | 2 import 'package:sky/framework/rendering/node.dart'; |
| 3 import 'package:sky/framework/rendering/render_box.dart'; | 3 import 'package:sky/framework/rendering/box.dart'; |
| 4 import 'dart:sky' as sky; | 4 import 'dart:sky' as sky; |
| 5 | 5 |
| 6 typedef void Logger (String s); | 6 typedef void Logger (String s); |
| 7 | 7 |
| 8 class TestDisplayList extends RenderNodeDisplayList { | 8 class TestDisplayList extends RenderNodeDisplayList { |
| 9 TestDisplayList(double width, double height, this.logger, { this.indent: '' })
: | 9 TestDisplayList(double width, double height, this.logger, { this.indent: '' })
: |
| 10 this.width = width, | 10 this.width = width, |
| 11 this.height = height, | 11 this.height = height, |
| 12 super(width, height) { | 12 super(width, height) { |
| 13 log("TestDisplayList() constructor: $width x $height"); | 13 log("TestDisplayList() constructor: $width x $height"); |
| (...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 136 void set root(RenderBox value) { | 136 void set root(RenderBox value) { |
| 137 _renderView.child = value; | 137 _renderView.child = value; |
| 138 } | 138 } |
| 139 void _beginFrame(double timeStamp) { | 139 void _beginFrame(double timeStamp) { |
| 140 RenderNode.flushLayout(); | 140 RenderNode.flushLayout(); |
| 141 _renderView.paintFrame(); | 141 _renderView.paintFrame(); |
| 142 print(_renderView.lastPaint); // TODO(ianh): figure out how to make this fit
the unit testing framework better | 142 print(_renderView.lastPaint); // TODO(ianh): figure out how to make this fit
the unit testing framework better |
| 143 } | 143 } |
| 144 | 144 |
| 145 } | 145 } |
| OLD | NEW |