| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 library isolate_view_element; | 5 library isolate_view_element; |
| 6 | 6 |
| 7 import 'dart:async'; | 7 import 'dart:async'; |
| 8 import 'dart:html'; | 8 import 'dart:html'; |
| 9 import 'package:observatory/models.dart' as M; | 9 import 'package:observatory/models.dart' as M; |
| 10 import 'package:observatory/src/elements/curly_block.dart'; | 10 import 'package:observatory/src/elements/curly_block.dart'; |
| (...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 177 ] | 177 ] |
| 178 ], | 178 ], |
| 179 new DivElement() | 179 new DivElement() |
| 180 ..children = _function != null | 180 ..children = _function != null |
| 181 ? [ | 181 ? [ |
| 182 new BRElement(), | 182 new BRElement(), |
| 183 new SourceInsetElement(_isolate, _function.location, | 183 new SourceInsetElement(_isolate, _function.location, |
| 184 _scripts, _instances, _events, | 184 _scripts, _instances, _events, |
| 185 currentPos: | 185 currentPos: |
| 186 M.topFrame(isolate.pauseEvent).location.tokenPos, | 186 M.topFrame(isolate.pauseEvent).location.tokenPos, |
| 187 queue: _r.queue)..classes = ['header_inset'] | 187 queue: _r.queue) |
| 188 ..classes = ['header_inset'] |
| 188 ] | 189 ] |
| 189 : const [], | 190 : const [], |
| 190 new HRElement(), | 191 new HRElement(), |
| 191 new IsolateSharedSummaryElement(_isolate, _events, queue: _r.queue), | 192 new IsolateSharedSummaryElement(_isolate, _events, queue: _r.queue), |
| 192 new HRElement(), | 193 new HRElement(), |
| 193 new DivElement() | 194 new DivElement() |
| 194 ..classes = ['memberList'] | 195 ..classes = ['memberList'] |
| 195 ..children = [ | 196 ..children = [ |
| 196 new DivElement() | 197 new DivElement() |
| 197 ..classes = ['memberItem'] | 198 ..classes = ['memberItem'] |
| (...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 395 _function = await _functions.get(_isolate, frame.function.id); | 396 _function = await _functions.get(_isolate, frame.function.id); |
| 396 } | 397 } |
| 397 if (_isolate.rootLibrary != null) { | 398 if (_isolate.rootLibrary != null) { |
| 398 final rootLibrary = | 399 final rootLibrary = |
| 399 await _libraries.get(_isolate, _isolate.rootLibrary.id); | 400 await _libraries.get(_isolate, _isolate.rootLibrary.id); |
| 400 _rootScript = rootLibrary.rootScript; | 401 _rootScript = rootLibrary.rootScript; |
| 401 } | 402 } |
| 402 _r.dirty(); | 403 _r.dirty(); |
| 403 } | 404 } |
| 404 } | 405 } |
| OLD | NEW |