| 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 source_inset_element; | 5 library source_inset_element; |
| 6 | 6 |
| 7 import 'dart:html'; | 7 import 'dart:html'; |
| 8 import 'dart:async'; | 8 import 'dart:async'; |
| 9 import 'package:observatory/models.dart' as M; | 9 import 'package:observatory/models.dart' as M; |
| 10 import 'package:observatory/src/elements/helpers/rendering_scheduler.dart'; | 10 import 'package:observatory/src/elements/helpers/rendering_scheduler.dart'; |
| 11 import 'package:observatory/src/elements/helpers/tag.dart'; | 11 import 'package:observatory/src/elements/helpers/tag.dart'; |
| 12 import 'package:observatory/src/elements/script_inset.dart'; | 12 import 'package:observatory/src/elements/script_inset.dart'; |
| 13 | 13 |
| 14 class SourceInsetElement extends HtmlElement implements Renderable { | 14 class SourceInsetElement extends HtmlElement implements Renderable { |
| 15 static const tag = const Tag<SourceInsetElement>('source-inset-wrapped'); | 15 static const tag = const Tag<SourceInsetElement>('source-inset'); |
| 16 | 16 |
| 17 RenderingScheduler _r; | 17 RenderingScheduler _r; |
| 18 | 18 |
| 19 Stream<RenderedEvent<SourceInsetElement>> get onRendered => _r.onRendered; | 19 Stream<RenderedEvent<SourceInsetElement>> get onRendered => _r.onRendered; |
| 20 | 20 |
| 21 | 21 |
| 22 M.IsolateRef _isolate; | 22 M.IsolateRef _isolate; |
| 23 M.SourceLocation _location; | 23 M.SourceLocation _location; |
| 24 M.ScriptRepository _scripts; | 24 M.ScriptRepository _scripts; |
| 25 M.InstanceRepository _instances; | 25 M.InstanceRepository _instances; |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 _scripts, _instances, _events, | 80 _scripts, _instances, _events, |
| 81 startPos: _location.tokenPos, | 81 startPos: _location.tokenPos, |
| 82 endPos: _location.endTokenPos, | 82 endPos: _location.endTokenPos, |
| 83 currentPos: _currentPos, | 83 currentPos: _currentPos, |
| 84 inDebuggerContext: _inDebuggerContext, | 84 inDebuggerContext: _inDebuggerContext, |
| 85 variables: _variables, | 85 variables: _variables, |
| 86 queue: _r.queue) | 86 queue: _r.queue) |
| 87 ]; | 87 ]; |
| 88 } | 88 } |
| 89 } | 89 } |
| OLD | NEW |