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

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

Issue 2294073003: Converted Observatory class-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
« no previous file with comments | « no previous file | runtime/observatory/lib/elements.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 library observatory_elements; 1 library observatory_elements;
2 2
3 // Export elements. 3 // Export elements.
4 export 'package:observatory/src/elements/action_link.dart'; 4 export 'package:observatory/src/elements/action_link.dart';
5 export 'package:observatory/src/elements/class_ref_as_value.dart'; 5 export 'package:observatory/src/elements/class_ref_as_value.dart';
6 export 'package:observatory/src/elements/class_view.dart';
7 export 'package:observatory/src/elements/code_view.dart'; 6 export 'package:observatory/src/elements/code_view.dart';
8 export 'package:observatory/src/elements/debugger.dart'; 7 export 'package:observatory/src/elements/debugger.dart';
9 export 'package:observatory/src/elements/eval_link.dart'; 8 export 'package:observatory/src/elements/eval_link.dart';
10 export 'package:observatory/src/elements/isolate_reconnect.dart'; 9 export 'package:observatory/src/elements/isolate_reconnect.dart';
11 export 'package:observatory/src/elements/isolate_summary.dart'; 10 export 'package:observatory/src/elements/isolate_summary.dart';
12 export 'package:observatory/src/elements/isolate_view.dart'; 11 export 'package:observatory/src/elements/isolate_view.dart';
13 export 'package:observatory/src/elements/json_view.dart'; 12 export 'package:observatory/src/elements/json_view.dart';
14 export 'package:observatory/src/elements/library_ref_as_value.dart'; 13 export 'package:observatory/src/elements/library_ref_as_value.dart';
15 export 'package:observatory/src/elements/logging.dart'; 14 export 'package:observatory/src/elements/logging.dart';
16 export 'package:observatory/src/elements/metrics.dart'; 15 export 'package:observatory/src/elements/metrics.dart';
17 export 'package:observatory/src/elements/observatory_element.dart'; 16 export 'package:observatory/src/elements/observatory_element.dart';
18 export 'package:observatory/src/elements/service_ref.dart'; 17 export 'package:observatory/src/elements/service_ref.dart';
19 export 'package:observatory/src/elements/service_view.dart'; 18 export 'package:observatory/src/elements/service_view.dart';
20 export 'package:observatory/src/elements/timeline_page.dart'; 19 export 'package:observatory/src/elements/timeline_page.dart';
21 export 'package:observatory/src/elements/vm_connect.dart'; 20 export 'package:observatory/src/elements/vm_connect.dart';
22 export 'package:observatory/src/elements/vm_view.dart'; 21 export 'package:observatory/src/elements/vm_view.dart';
23 22
24 import 'dart:async'; 23 import 'dart:async';
25 24
26 import 'package:observatory/src/elements/allocation_profile.dart'; 25 import 'package:observatory/src/elements/allocation_profile.dart';
26 import 'package:observatory/src/elements/class_allocation_profile.dart';
27 import 'package:observatory/src/elements/class_instances.dart';
27 import 'package:observatory/src/elements/class_ref.dart'; 28 import 'package:observatory/src/elements/class_ref.dart';
28 import 'package:observatory/src/elements/class_ref_wrapper.dart'; 29 import 'package:observatory/src/elements/class_ref_wrapper.dart';
29 import 'package:observatory/src/elements/class_tree.dart'; 30 import 'package:observatory/src/elements/class_tree.dart';
31 import 'package:observatory/src/elements/class_view.dart';
30 import 'package:observatory/src/elements/code_ref.dart'; 32 import 'package:observatory/src/elements/code_ref.dart';
31 import 'package:observatory/src/elements/code_ref_wrapper.dart'; 33 import 'package:observatory/src/elements/code_ref_wrapper.dart';
32 import 'package:observatory/src/elements/context_ref.dart'; 34 import 'package:observatory/src/elements/context_ref.dart';
33 import 'package:observatory/src/elements/context_ref_wrapper.dart'; 35 import 'package:observatory/src/elements/context_ref_wrapper.dart';
34 import 'package:observatory/src/elements/context_view.dart'; 36 import 'package:observatory/src/elements/context_view.dart';
35 import 'package:observatory/src/elements/containers/virtual_collection.dart'; 37 import 'package:observatory/src/elements/containers/virtual_collection.dart';
36 import 'package:observatory/src/elements/containers/virtual_tree.dart'; 38 import 'package:observatory/src/elements/containers/virtual_tree.dart';
37 import 'package:observatory/src/elements/cpu_profile.dart'; 39 import 'package:observatory/src/elements/cpu_profile.dart';
38 import 'package:observatory/src/elements/cpu_profile/virtual_tree.dart'; 40 import 'package:observatory/src/elements/cpu_profile/virtual_tree.dart';
39 import 'package:observatory/src/elements/cpu_profile_table.dart'; 41 import 'package:observatory/src/elements/cpu_profile_table.dart';
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 import 'package:observatory/src/elements/script_ref.dart'; 110 import 'package:observatory/src/elements/script_ref.dart';
109 import 'package:observatory/src/elements/script_ref_wrapper.dart'; 111 import 'package:observatory/src/elements/script_ref_wrapper.dart';
110 import 'package:observatory/src/elements/script_view.dart'; 112 import 'package:observatory/src/elements/script_view.dart';
111 import 'package:observatory/src/elements/sentinel_value.dart'; 113 import 'package:observatory/src/elements/sentinel_value.dart';
112 import 'package:observatory/src/elements/sentinel_view.dart'; 114 import 'package:observatory/src/elements/sentinel_view.dart';
113 import 'package:observatory/src/elements/source_inset.dart'; 115 import 'package:observatory/src/elements/source_inset.dart';
114 import 'package:observatory/src/elements/source_inset_wrapper.dart'; 116 import 'package:observatory/src/elements/source_inset_wrapper.dart';
115 import 'package:observatory/src/elements/source_link.dart'; 117 import 'package:observatory/src/elements/source_link.dart';
116 import 'package:observatory/src/elements/source_link_wrapper.dart'; 118 import 'package:observatory/src/elements/source_link_wrapper.dart';
117 import 'package:observatory/src/elements/stack_trace_tree_config.dart'; 119 import 'package:observatory/src/elements/stack_trace_tree_config.dart';
120 import 'package:observatory/src/elements/strongly_reachable_instances.dart';
118 import 'package:observatory/src/elements/token_stream_ref.dart'; 121 import 'package:observatory/src/elements/token_stream_ref.dart';
119 import 'package:observatory/src/elements/unknown_ref.dart'; 122 import 'package:observatory/src/elements/unknown_ref.dart';
120 import 'package:observatory/src/elements/view_footer.dart'; 123 import 'package:observatory/src/elements/view_footer.dart';
121 import 'package:observatory/src/elements/vm_connect_target.dart'; 124 import 'package:observatory/src/elements/vm_connect_target.dart';
122 import 'package:observatory/src/elements/vm_connect.dart'; 125 import 'package:observatory/src/elements/vm_connect.dart';
123 126
124 export 'package:observatory/src/elements/helpers/rendering_queue.dart'; 127 export 'package:observatory/src/elements/helpers/rendering_queue.dart';
125 128
126 export 'package:observatory/src/elements/allocation_profile.dart'; 129 export 'package:observatory/src/elements/allocation_profile.dart';
130 export 'package:observatory/src/elements/class_allocation_profile.dart';
131 export 'package:observatory/src/elements/class_instances.dart';
127 export 'package:observatory/src/elements/class_ref.dart'; 132 export 'package:observatory/src/elements/class_ref.dart';
128 export 'package:observatory/src/elements/class_tree.dart'; 133 export 'package:observatory/src/elements/class_tree.dart';
134 export 'package:observatory/src/elements/class_view.dart';
129 export 'package:observatory/src/elements/code_ref.dart'; 135 export 'package:observatory/src/elements/code_ref.dart';
130 export 'package:observatory/src/elements/containers/virtual_collection.dart'; 136 export 'package:observatory/src/elements/containers/virtual_collection.dart';
131 export 'package:observatory/src/elements/containers/virtual_tree.dart'; 137 export 'package:observatory/src/elements/containers/virtual_tree.dart';
132 export 'package:observatory/src/elements/context_ref.dart'; 138 export 'package:observatory/src/elements/context_ref.dart';
133 export 'package:observatory/src/elements/context_view.dart'; 139 export 'package:observatory/src/elements/context_view.dart';
134 export 'package:observatory/src/elements/cpu_profile.dart'; 140 export 'package:observatory/src/elements/cpu_profile.dart';
135 export 'package:observatory/src/elements/cpu_profile/virtual_tree.dart'; 141 export 'package:observatory/src/elements/cpu_profile/virtual_tree.dart';
136 export 'package:observatory/src/elements/cpu_profile_table.dart'; 142 export 'package:observatory/src/elements/cpu_profile_table.dart';
137 export 'package:observatory/src/elements/curly_block.dart'; 143 export 'package:observatory/src/elements/curly_block.dart';
138 export 'package:observatory/src/elements/error_ref.dart'; 144 export 'package:observatory/src/elements/error_ref.dart';
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 export 'package:observatory/src/elements/ports.dart'; 188 export 'package:observatory/src/elements/ports.dart';
183 export 'package:observatory/src/elements/sample_buffer_control.dart'; 189 export 'package:observatory/src/elements/sample_buffer_control.dart';
184 export 'package:observatory/src/elements/script_inset.dart'; 190 export 'package:observatory/src/elements/script_inset.dart';
185 export 'package:observatory/src/elements/script_ref.dart'; 191 export 'package:observatory/src/elements/script_ref.dart';
186 export 'package:observatory/src/elements/script_view.dart'; 192 export 'package:observatory/src/elements/script_view.dart';
187 export 'package:observatory/src/elements/sentinel_value.dart'; 193 export 'package:observatory/src/elements/sentinel_value.dart';
188 export 'package:observatory/src/elements/sentinel_view.dart'; 194 export 'package:observatory/src/elements/sentinel_view.dart';
189 export 'package:observatory/src/elements/source_inset.dart'; 195 export 'package:observatory/src/elements/source_inset.dart';
190 export 'package:observatory/src/elements/source_link.dart'; 196 export 'package:observatory/src/elements/source_link.dart';
191 export 'package:observatory/src/elements/stack_trace_tree_config.dart'; 197 export 'package:observatory/src/elements/stack_trace_tree_config.dart';
198 export 'package:observatory/src/elements/strongly_reachable_instances.dart';
192 export 'package:observatory/src/elements/token_stream_ref.dart'; 199 export 'package:observatory/src/elements/token_stream_ref.dart';
193 export 'package:observatory/src/elements/unknown_ref.dart'; 200 export 'package:observatory/src/elements/unknown_ref.dart';
194 export 'package:observatory/src/elements/view_footer.dart'; 201 export 'package:observatory/src/elements/view_footer.dart';
195 export 'package:observatory/src/elements/vm_connect_target.dart'; 202 export 'package:observatory/src/elements/vm_connect_target.dart';
196 export 'package:observatory/src/elements/vm_connect.dart'; 203 export 'package:observatory/src/elements/vm_connect.dart';
197 204
198 // Even though this function does not invoke any asynchronous operation 205 // Even though this function does not invoke any asynchronous operation
199 // it is marked as async to allow future backward compatible changes. 206 // it is marked as async to allow future backward compatible changes.
200 Future initElements() async { 207 Future initElements() async {
201 AllocationProfileElement.tag.ensureRegistration(); 208 AllocationProfileElement.tag.ensureRegistration();
209 ClassAllocationProfileElement.tag.ensureRegistration();
210 ClassInstancesElement.tag.ensureRegistration();
202 ClassRefElement.tag.ensureRegistration(); 211 ClassRefElement.tag.ensureRegistration();
203 ClassRefElementWrapper.tag.ensureRegistration(); 212 ClassRefElementWrapper.tag.ensureRegistration();
204 ClassTreeElement.tag.ensureRegistration(); 213 ClassTreeElement.tag.ensureRegistration();
214 ClassViewElement.tag.ensureRegistration();
205 CodeRefElement.tag.ensureRegistration(); 215 CodeRefElement.tag.ensureRegistration();
206 CodeRefElementWrapper.tag.ensureRegistration(); 216 CodeRefElementWrapper.tag.ensureRegistration();
207 ContextRefElement.tag.ensureRegistration(); 217 ContextRefElement.tag.ensureRegistration();
208 ContextRefElementWrapper.tag.ensureRegistration(); 218 ContextRefElementWrapper.tag.ensureRegistration();
209 ContextViewElement.tag.ensureRegistration(); 219 ContextViewElement.tag.ensureRegistration();
210 CpuProfileElement.tag.ensureRegistration(); 220 CpuProfileElement.tag.ensureRegistration();
211 CpuProfileTableElement.tag.ensureRegistration(); 221 CpuProfileTableElement.tag.ensureRegistration();
212 CpuProfileVirtualTreeElement.tag.ensureRegistration(); 222 CpuProfileVirtualTreeElement.tag.ensureRegistration();
213 CurlyBlockElement.tag.ensureRegistration(); 223 CurlyBlockElement.tag.ensureRegistration();
214 CurlyBlockElementWrapper.tag.ensureRegistration(); 224 CurlyBlockElementWrapper.tag.ensureRegistration();
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 ScriptRefElement.tag.ensureRegistration(); 291 ScriptRefElement.tag.ensureRegistration();
282 ScriptRefElementWrapper.tag.ensureRegistration(); 292 ScriptRefElementWrapper.tag.ensureRegistration();
283 ScriptViewElement.tag.ensureRegistration(); 293 ScriptViewElement.tag.ensureRegistration();
284 SentinelValueElement.tag.ensureRegistration(); 294 SentinelValueElement.tag.ensureRegistration();
285 SentinelViewElement.tag.ensureRegistration(); 295 SentinelViewElement.tag.ensureRegistration();
286 SourceInsetElement.tag.ensureRegistration(); 296 SourceInsetElement.tag.ensureRegistration();
287 SourceInsetElementWrapper.tag.ensureRegistration(); 297 SourceInsetElementWrapper.tag.ensureRegistration();
288 SourceLinkElement.tag.ensureRegistration(); 298 SourceLinkElement.tag.ensureRegistration();
289 SourceLinkElementWrapper.tag.ensureRegistration(); 299 SourceLinkElementWrapper.tag.ensureRegistration();
290 StackTraceTreeConfigElement.tag.ensureRegistration(); 300 StackTraceTreeConfigElement.tag.ensureRegistration();
301 StronglyReachableInstancesElement.tag.ensureRegistration();
291 TokenStreamRefElement.tag.ensureRegistration(); 302 TokenStreamRefElement.tag.ensureRegistration();
292 UnknownObjectRefElement.tag.ensureRegistration(); 303 UnknownObjectRefElement.tag.ensureRegistration();
293 ViewFooterElement.tag.ensureRegistration(); 304 ViewFooterElement.tag.ensureRegistration();
294 VirtualCollectionElement.tag.ensureRegistration(); 305 VirtualCollectionElement.tag.ensureRegistration();
295 VirtualTreeElement.tag.ensureRegistration(); 306 VirtualTreeElement.tag.ensureRegistration();
296 VMConnectElement.tag.ensureRegistration(); 307 VMConnectElement.tag.ensureRegistration();
297 VirtualCollectionElement.tag.ensureRegistration(); 308 VirtualCollectionElement.tag.ensureRegistration();
298 VirtualTreeElement.tag.ensureRegistration(); 309 VirtualTreeElement.tag.ensureRegistration();
299 VMConnectTargetElement.tag.ensureRegistration(); 310 VMConnectTargetElement.tag.ensureRegistration();
300 } 311 }
OLDNEW
« no previous file with comments | « no previous file | runtime/observatory/lib/elements.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698