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

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

Issue 2291233002: Converted Observatory instance-view element (Closed)
Patch Set: Addressed comments 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 show IsolateRef, MegamorphicCacheRef; 8 show IsolateRef, MegamorphicCacheRef;
9 import 'package:observatory/src/elements/helpers/rendering_scheduler.dart'; 9 import 'package:observatory/src/elements/helpers/rendering_scheduler.dart';
10 import 'package:observatory/src/elements/helpers/tag.dart'; 10 import 'package:observatory/src/elements/helpers/tag.dart';
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 void detached() { 48 void detached() {
49 super.detached(); 49 super.detached();
50 _r.disable(notify: true); 50 _r.disable(notify: true);
51 children = []; 51 children = [];
52 } 52 }
53 53
54 void render() { 54 void render() {
55 children = [ 55 children = [
56 new AnchorElement(href: Uris.inspect(_isolate, object: _cache)) 56 new AnchorElement(href: Uris.inspect(_isolate, object: _cache))
57 ..children = [ 57 ..children = [
58 new SpanElement()..classes = ['emphatize'] 58 new SpanElement()..classes = ['emphasize']
59 ..text = 'MegarmorphicCache', 59 ..text = 'MegarmorphicCache',
60 new SpanElement()..text = ' (${_cache.selector})' 60 new SpanElement()..text = ' (${_cache.selector})'
61 ] 61 ]
62 ]; 62 ];
63 } 63 }
64 } 64 }
OLDNEW
« no previous file with comments | « runtime/observatory/lib/src/elements/instance_view.html ('k') | runtime/observatory/lib/src/elements/objectpool_ref.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698