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

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

Issue 2005983002: Make the object store visible in Observatory. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: add missing files Created 4 years, 6 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 library service_ref_element; 5 library service_ref_element;
6 6
7 import 'dart:html'; 7 import 'dart:html';
8 8
9 import 'package:logging/logging.dart'; 9 import 'package:logging/logging.dart';
10 import 'package:observatory/service.dart'; 10 import 'package:observatory/service.dart';
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 return element; 118 return element;
119 case 'Library': 119 case 'Library':
120 LibraryRefElement element = new Element.tag('library-ref'); 120 LibraryRefElement element = new Element.tag('library-ref');
121 element.ref = ref; 121 element.ref = ref;
122 element.asValue = asValue; 122 element.asValue = asValue;
123 return element; 123 return element;
124 case 'Object': 124 case 'Object':
125 ServiceRefElement element = new Element.tag('object-ref'); 125 ServiceRefElement element = new Element.tag('object-ref');
126 element.ref = ref; 126 element.ref = ref;
127 return element; 127 return element;
128 case '_ObjectStore':
129 ServiceRefElement element = new Element.tag('objectstore-ref');
130 element.ref = ref;
131 return element;
128 case 'Script': 132 case 'Script':
129 ServiceRefElement element = new Element.tag('script-ref'); 133 ServiceRefElement element = new Element.tag('script-ref');
130 element.ref = ref; 134 element.ref = ref;
131 return element; 135 return element;
132 case 'Instance': 136 case 'Instance':
133 case 'Sentinel': 137 case 'Sentinel':
134 ServiceRefElement element = new Element.tag('instance-ref'); 138 ServiceRefElement element = new Element.tag('instance-ref');
135 element.ref = ref; 139 element.ref = ref;
136 if (expandKey != null) { 140 if (expandKey != null) {
137 element.expandKey = expandKey; 141 element.expandKey = expandKey;
(...skipping 20 matching lines...) Expand all
158 return; 162 return;
159 } 163 }
160 children.add(element); 164 children.add(element);
161 } 165 }
162 } 166 }
163 167
164 @CustomTag('object-ref') 168 @CustomTag('object-ref')
165 class ObjectRefElement extends ServiceRefElement { 169 class ObjectRefElement extends ServiceRefElement {
166 ObjectRefElement.created() : super.created(); 170 ObjectRefElement.created() : super.created();
167 } 171 }
OLDNEW
« no previous file with comments | « runtime/observatory/lib/src/elements/objectstore_view.html ('k') | runtime/observatory/lib/src/elements/service_view.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698