Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(228)

Side by Side Diff: runtime/observatory/lib/src/elements/field_ref.dart

Issue 2310003004: Removed polymer & mirror from Observatory (Closed)
Patch Set: Fixed crash in heap-map page Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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/helpers/rendering_scheduler.dart'; 8 import 'package:observatory/src/elements/helpers/rendering_scheduler.dart';
9 import 'package:observatory/src/elements/helpers/tag.dart'; 9 import 'package:observatory/src/elements/helpers/tag.dart';
10 import 'package:observatory/src/elements/helpers/uris.dart'; 10 import 'package:observatory/src/elements/helpers/uris.dart';
11 import 'package:observatory/src/elements/instance_ref.dart'; 11 import 'package:observatory/src/elements/instance_ref.dart';
12 12
13 class FieldRefElement extends HtmlElement implements Renderable { 13 class FieldRefElement extends HtmlElement implements Renderable {
14 static const tag = const Tag<FieldRefElement>('field-ref-wrapped', 14 static const tag = const Tag<FieldRefElement>('field-ref',
15 dependencies: const [ 15 dependencies: const [
16 InstanceRefElement.tag 16 InstanceRefElement.tag
17 ]); 17 ]);
18 18
19 RenderingScheduler<FieldRefElement> _r; 19 RenderingScheduler<FieldRefElement> _r;
20 20
21 Stream<RenderedEvent<FieldRefElement>> get onRendered => _r.onRendered; 21 Stream<RenderedEvent<FieldRefElement>> get onRendered => _r.onRendered;
22 22
23 M.IsolateRef _isolate; 23 M.IsolateRef _isolate;
24 M.FieldRef _field; 24 M.FieldRef _field;
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 new SpanElement()..text = header, 82 new SpanElement()..text = header,
83 new InstanceRefElement(_isolate, _field.declaredType, _instances, 83 new InstanceRefElement(_isolate, _field.declaredType, _instances,
84 queue: _r.queue), 84 queue: _r.queue),
85 new SpanElement()..text = ' ', 85 new SpanElement()..text = ' ',
86 new AnchorElement(href: Uris.inspect(_isolate, object: _field)) 86 new AnchorElement(href: Uris.inspect(_isolate, object: _field))
87 ..text = _field.name 87 ..text = _field.name
88 ]; 88 ];
89 } 89 }
90 } 90 }
91 } 91 }
OLDNEW
« no previous file with comments | « runtime/observatory/lib/src/elements/eval_link.html ('k') | runtime/observatory/lib/src/elements/field_ref_wrapper.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698