OLD | NEW |
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 'dart:sky' as sky; | 5 import 'dart:sky' as sky; |
6 import 'rendering/box.dart'; | 6 |
7 import 'rendering/object.dart'; | 7 import '../rendering/box.dart'; |
| 8 import '../rendering/object.dart'; |
8 import 'scheduler.dart' as scheduler; | 9 import 'scheduler.dart' as scheduler; |
9 | 10 |
10 class PointerState { | 11 class PointerState { |
11 HitTestResult result; | 12 HitTestResult result; |
12 Point lastPosition; | 13 Point lastPosition; |
13 | 14 |
14 PointerState({ this.result, this.lastPosition }); | 15 PointerState({ this.result, this.lastPosition }); |
15 } | 16 } |
16 | 17 |
17 class AppView { | 18 class AppView { |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 entry.target.handleEvent(event, entry); | 116 entry.target.handleEvent(event, entry); |
116 } | 117 } |
117 | 118 |
118 String toString() => 'Render Tree:\n${_renderView}'; | 119 String toString() => 'Render Tree:\n${_renderView}'; |
119 | 120 |
120 void debugDumpRenderTree() { | 121 void debugDumpRenderTree() { |
121 toString().split('\n').forEach(print); | 122 toString().split('\n').forEach(print); |
122 } | 123 } |
123 | 124 |
124 } | 125 } |
OLD | NEW |