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 import 'dart:html'; | 5 import 'dart:html'; |
6 import 'dart:async'; | 6 import 'dart:async'; |
7 import 'package:observatory/models.dart' as M; | 7 import 'package:observatory/models.dart' as M; |
8 import 'package:observatory/src/elements/curly_block.dart'; | 8 import 'package:observatory/src/elements/curly_block.dart'; |
9 import 'package:observatory/src/elements/field_ref.dart'; | 9 import 'package:observatory/src/elements/field_ref.dart'; |
10 import 'package:observatory/src/elements/helpers/any_ref.dart'; | 10 import 'package:observatory/src/elements/helpers/any_ref.dart'; |
11 import 'package:observatory/src/elements/helpers/rendering_scheduler.dart'; | 11 import 'package:observatory/src/elements/helpers/rendering_scheduler.dart'; |
12 import 'package:observatory/src/elements/helpers/tag.dart'; | 12 import 'package:observatory/src/elements/helpers/tag.dart'; |
13 import 'package:observatory/src/elements/helpers/uris.dart'; | 13 import 'package:observatory/src/elements/helpers/uris.dart'; |
14 import 'package:observatory/src/elements/sentinel_value.dart'; | |
15 import 'package:observatory/utils.dart'; | 14 import 'package:observatory/utils.dart'; |
16 | 15 |
17 class InstanceRefElement extends HtmlElement implements Renderable { | 16 class InstanceRefElement extends HtmlElement implements Renderable { |
18 static const tag = const Tag<InstanceRefElement>('instance-ref'); | 17 static const tag = const Tag<InstanceRefElement>('instance-ref'); |
19 | 18 |
20 RenderingScheduler<InstanceRefElement> _r; | 19 RenderingScheduler<InstanceRefElement> _r; |
21 | 20 |
22 Stream<RenderedEvent<InstanceRefElement>> get onRendered => _r.onRendered; | 21 Stream<RenderedEvent<InstanceRefElement>> get onRendered => _r.onRendered; |
23 | 22 |
24 M.IsolateRef _isolate; | 23 M.IsolateRef _isolate; |
(...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
304 new BRElement(), | 303 new BRElement(), |
305 new SpanElement()..text = '<value> : ', | 304 new SpanElement()..text = '<value> : ', |
306 new InstanceRefElement(_isolate, _loadedInstance.value, _instances, | 305 new InstanceRefElement(_isolate, _loadedInstance.value, _instances, |
307 queue: _r.queue), | 306 queue: _r.queue), |
308 ]; | 307 ]; |
309 default: | 308 default: |
310 return []; | 309 return []; |
311 } | 310 } |
312 } | 311 } |
313 } | 312 } |
OLD | NEW |