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

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

Issue 2204973003: Converted Observatory class-ref & library-ref elements (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Fixed indentation Created 4 years, 4 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.dart'; 5 export 'package:observatory/src/elements/class_ref_as_value.dart';
6 export 'package:observatory/src/elements/class_tree.dart'; 6 export 'package:observatory/src/elements/class_tree.dart';
7 export 'package:observatory/src/elements/class_view.dart'; 7 export 'package:observatory/src/elements/class_view.dart';
8 export 'package:observatory/src/elements/code_view.dart'; 8 export 'package:observatory/src/elements/code_view.dart';
9 export 'package:observatory/src/elements/context_ref.dart'; 9 export 'package:observatory/src/elements/context_ref.dart';
10 export 'package:observatory/src/elements/context_view.dart'; 10 export 'package:observatory/src/elements/context_view.dart';
11 export 'package:observatory/src/elements/cpu_profile.dart'; 11 export 'package:observatory/src/elements/cpu_profile.dart';
12 export 'package:observatory/src/elements/debugger.dart'; 12 export 'package:observatory/src/elements/debugger.dart';
13 export 'package:observatory/src/elements/error_view.dart'; 13 export 'package:observatory/src/elements/error_view.dart';
14 export 'package:observatory/src/elements/eval_box.dart'; 14 export 'package:observatory/src/elements/eval_box.dart';
15 export 'package:observatory/src/elements/eval_link.dart'; 15 export 'package:observatory/src/elements/eval_link.dart';
16 export 'package:observatory/src/elements/field_ref.dart'; 16 export 'package:observatory/src/elements/field_ref.dart';
17 export 'package:observatory/src/elements/field_view.dart'; 17 export 'package:observatory/src/elements/field_view.dart';
18 export 'package:observatory/src/elements/flag_list.dart'; 18 export 'package:observatory/src/elements/flag_list.dart';
19 export 'package:observatory/src/elements/function_view.dart'; 19 export 'package:observatory/src/elements/function_view.dart';
20 export 'package:observatory/src/elements/general_error.dart'; 20 export 'package:observatory/src/elements/general_error.dart';
21 export 'package:observatory/src/elements/heap_map.dart'; 21 export 'package:observatory/src/elements/heap_map.dart';
22 export 'package:observatory/src/elements/heap_profile.dart'; 22 export 'package:observatory/src/elements/heap_profile.dart';
23 export 'package:observatory/src/elements/heap_snapshot.dart'; 23 export 'package:observatory/src/elements/heap_snapshot.dart';
24 export 'package:observatory/src/elements/icdata_view.dart'; 24 export 'package:observatory/src/elements/icdata_view.dart';
25 export 'package:observatory/src/elements/instance_ref.dart'; 25 export 'package:observatory/src/elements/instance_ref.dart';
26 export 'package:observatory/src/elements/instance_view.dart'; 26 export 'package:observatory/src/elements/instance_view.dart';
27 export 'package:observatory/src/elements/instructions_view.dart'; 27 export 'package:observatory/src/elements/instructions_view.dart';
28 export 'package:observatory/src/elements/io_view.dart'; 28 export 'package:observatory/src/elements/io_view.dart';
29 export 'package:observatory/src/elements/isolate_reconnect.dart'; 29 export 'package:observatory/src/elements/isolate_reconnect.dart';
30 export 'package:observatory/src/elements/isolate_summary.dart'; 30 export 'package:observatory/src/elements/isolate_summary.dart';
31 export 'package:observatory/src/elements/isolate_view.dart'; 31 export 'package:observatory/src/elements/isolate_view.dart';
32 export 'package:observatory/src/elements/json_view.dart'; 32 export 'package:observatory/src/elements/json_view.dart';
33 export 'package:observatory/src/elements/library_ref.dart'; 33 export 'package:observatory/src/elements/library_ref_as_value.dart';
34 export 'package:observatory/src/elements/library_view.dart'; 34 export 'package:observatory/src/elements/library_view.dart';
35 export 'package:observatory/src/elements/logging.dart'; 35 export 'package:observatory/src/elements/logging.dart';
36 export 'package:observatory/src/elements/megamorphiccache_view.dart'; 36 export 'package:observatory/src/elements/megamorphiccache_view.dart';
37 export 'package:observatory/src/elements/metrics.dart'; 37 export 'package:observatory/src/elements/metrics.dart';
38 export 'package:observatory/src/elements/object_common.dart'; 38 export 'package:observatory/src/elements/object_common.dart';
39 export 'package:observatory/src/elements/object_view.dart'; 39 export 'package:observatory/src/elements/object_view.dart';
40 export 'package:observatory/src/elements/objectpool_view.dart'; 40 export 'package:observatory/src/elements/objectpool_view.dart';
41 export 'package:observatory/src/elements/objectstore_view.dart'; 41 export 'package:observatory/src/elements/objectstore_view.dart';
42 export 'package:observatory/src/elements/observatory_application.dart'; 42 export 'package:observatory/src/elements/observatory_application.dart';
43 export 'package:observatory/src/elements/observatory_element.dart'; 43 export 'package:observatory/src/elements/observatory_element.dart';
44 export 'package:observatory/src/elements/persistent_handles.dart'; 44 export 'package:observatory/src/elements/persistent_handles.dart';
45 export 'package:observatory/src/elements/ports.dart'; 45 export 'package:observatory/src/elements/ports.dart';
46 export 'package:observatory/src/elements/script_inset.dart'; 46 export 'package:observatory/src/elements/script_inset.dart';
47 export 'package:observatory/src/elements/script_view.dart'; 47 export 'package:observatory/src/elements/script_view.dart';
48 export 'package:observatory/src/elements/service_ref.dart'; 48 export 'package:observatory/src/elements/service_ref.dart';
49 export 'package:observatory/src/elements/service_view.dart'; 49 export 'package:observatory/src/elements/service_view.dart';
50 export 'package:observatory/src/elements/timeline_page.dart'; 50 export 'package:observatory/src/elements/timeline_page.dart';
51 export 'package:observatory/src/elements/vm_connect.dart'; 51 export 'package:observatory/src/elements/vm_connect.dart';
52 export 'package:observatory/src/elements/vm_view.dart'; 52 export 'package:observatory/src/elements/vm_view.dart';
53 53
54 import 'dart:async'; 54 import 'dart:async';
55 55
56 import 'package:observatory/src/elements/class_ref.dart';
57 import 'package:observatory/src/elements/class_ref_wrapper.dart';
56 import 'package:observatory/src/elements/code_ref.dart'; 58 import 'package:observatory/src/elements/code_ref.dart';
57 import 'package:observatory/src/elements/code_ref_wrapper.dart'; 59 import 'package:observatory/src/elements/code_ref_wrapper.dart';
58 import 'package:observatory/src/elements/containers/virtual_collection.dart'; 60 import 'package:observatory/src/elements/containers/virtual_collection.dart';
59 import 'package:observatory/src/elements/containers/virtual_tree.dart'; 61 import 'package:observatory/src/elements/containers/virtual_tree.dart';
60 import 'package:observatory/src/elements/curly_block.dart'; 62 import 'package:observatory/src/elements/curly_block.dart';
61 import 'package:observatory/src/elements/curly_block_wrapper.dart'; 63 import 'package:observatory/src/elements/curly_block_wrapper.dart';
62 import 'package:observatory/src/elements/error_ref.dart'; 64 import 'package:observatory/src/elements/error_ref.dart';
63 import 'package:observatory/src/elements/error_ref_wrapper.dart'; 65 import 'package:observatory/src/elements/error_ref_wrapper.dart';
64 import 'package:observatory/src/elements/function_ref.dart'; 66 import 'package:observatory/src/elements/function_ref.dart';
65 import 'package:observatory/src/elements/function_ref_wrapper.dart'; 67 import 'package:observatory/src/elements/function_ref_wrapper.dart';
66 import 'package:observatory/src/elements/isolate_ref.dart'; 68 import 'package:observatory/src/elements/isolate_ref.dart';
67 import 'package:observatory/src/elements/isolate_ref_wrapper.dart'; 69 import 'package:observatory/src/elements/isolate_ref_wrapper.dart';
70 import 'package:observatory/src/elements/library_ref.dart';
71 import 'package:observatory/src/elements/library_ref_wrapper.dart';
68 import 'package:observatory/src/elements/nav/bar.dart'; 72 import 'package:observatory/src/elements/nav/bar.dart';
69 import 'package:observatory/src/elements/nav/class_menu.dart'; 73 import 'package:observatory/src/elements/nav/class_menu.dart';
70 import 'package:observatory/src/elements/nav/class_menu_wrapper.dart'; 74 import 'package:observatory/src/elements/nav/class_menu_wrapper.dart';
71 import 'package:observatory/src/elements/nav/isolate_menu.dart'; 75 import 'package:observatory/src/elements/nav/isolate_menu.dart';
72 import 'package:observatory/src/elements/nav/isolate_menu_wrapper.dart'; 76 import 'package:observatory/src/elements/nav/isolate_menu_wrapper.dart';
73 import 'package:observatory/src/elements/nav/library_menu.dart'; 77 import 'package:observatory/src/elements/nav/library_menu.dart';
74 import 'package:observatory/src/elements/nav/library_menu_wrapper.dart'; 78 import 'package:observatory/src/elements/nav/library_menu_wrapper.dart';
75 import 'package:observatory/src/elements/nav/menu.dart'; 79 import 'package:observatory/src/elements/nav/menu.dart';
76 import 'package:observatory/src/elements/nav/menu_wrapper.dart'; 80 import 'package:observatory/src/elements/nav/menu_wrapper.dart';
77 import 'package:observatory/src/elements/nav/menu_item.dart'; 81 import 'package:observatory/src/elements/nav/menu_item.dart';
(...skipping 11 matching lines...) Expand all
89 import 'package:observatory/src/elements/script_ref.dart'; 93 import 'package:observatory/src/elements/script_ref.dart';
90 import 'package:observatory/src/elements/script_ref_wrapper.dart'; 94 import 'package:observatory/src/elements/script_ref_wrapper.dart';
91 import 'package:observatory/src/elements/source_link.dart'; 95 import 'package:observatory/src/elements/source_link.dart';
92 import 'package:observatory/src/elements/source_link_wrapper.dart'; 96 import 'package:observatory/src/elements/source_link_wrapper.dart';
93 import 'package:observatory/src/elements/view_footer.dart'; 97 import 'package:observatory/src/elements/view_footer.dart';
94 import 'package:observatory/src/elements/vm_connect_target.dart'; 98 import 'package:observatory/src/elements/vm_connect_target.dart';
95 import 'package:observatory/src/elements/vm_connect.dart'; 99 import 'package:observatory/src/elements/vm_connect.dart';
96 100
97 export 'package:observatory/src/elements/helpers/rendering_queue.dart'; 101 export 'package:observatory/src/elements/helpers/rendering_queue.dart';
98 102
103 export 'package:observatory/src/elements/class_ref.dart';
99 export 'package:observatory/src/elements/code_ref.dart'; 104 export 'package:observatory/src/elements/code_ref.dart';
100 export 'package:observatory/src/elements/containers/virtual_collection.dart'; 105 export 'package:observatory/src/elements/containers/virtual_collection.dart';
101 export 'package:observatory/src/elements/containers/virtual_tree.dart'; 106 export 'package:observatory/src/elements/containers/virtual_tree.dart';
102 export 'package:observatory/src/elements/curly_block.dart'; 107 export 'package:observatory/src/elements/curly_block.dart';
103 export 'package:observatory/src/elements/error_ref.dart'; 108 export 'package:observatory/src/elements/error_ref.dart';
104 export 'package:observatory/src/elements/function_ref.dart'; 109 export 'package:observatory/src/elements/function_ref.dart';
105 export 'package:observatory/src/elements/isolate_ref.dart'; 110 export 'package:observatory/src/elements/isolate_ref.dart';
111 export 'package:observatory/src/elements/library_ref.dart';
106 export 'package:observatory/src/elements/nav/bar.dart'; 112 export 'package:observatory/src/elements/nav/bar.dart';
107 export 'package:observatory/src/elements/nav/class_menu.dart'; 113 export 'package:observatory/src/elements/nav/class_menu.dart';
108 export 'package:observatory/src/elements/nav/isolate_menu.dart'; 114 export 'package:observatory/src/elements/nav/isolate_menu.dart';
109 export 'package:observatory/src/elements/nav/library_menu.dart'; 115 export 'package:observatory/src/elements/nav/library_menu.dart';
110 export 'package:observatory/src/elements/nav/menu.dart'; 116 export 'package:observatory/src/elements/nav/menu.dart';
111 export 'package:observatory/src/elements/nav/menu_item.dart'; 117 export 'package:observatory/src/elements/nav/menu_item.dart';
112 export 'package:observatory/src/elements/nav/notify.dart'; 118 export 'package:observatory/src/elements/nav/notify.dart';
113 export 'package:observatory/src/elements/nav/notify_event.dart'; 119 export 'package:observatory/src/elements/nav/notify_event.dart';
114 export 'package:observatory/src/elements/nav/notify_exception.dart'; 120 export 'package:observatory/src/elements/nav/notify_exception.dart';
115 export 'package:observatory/src/elements/nav/refresh.dart'; 121 export 'package:observatory/src/elements/nav/refresh.dart';
116 export 'package:observatory/src/elements/nav/top_menu.dart'; 122 export 'package:observatory/src/elements/nav/top_menu.dart';
117 export 'package:observatory/src/elements/nav/vm_menu.dart'; 123 export 'package:observatory/src/elements/nav/vm_menu.dart';
118 export 'package:observatory/src/elements/script_ref.dart'; 124 export 'package:observatory/src/elements/script_ref.dart';
119 export 'package:observatory/src/elements/source_link.dart'; 125 export 'package:observatory/src/elements/source_link.dart';
120 export 'package:observatory/src/elements/view_footer.dart'; 126 export 'package:observatory/src/elements/view_footer.dart';
121 export 'package:observatory/src/elements/vm_connect_target.dart'; 127 export 'package:observatory/src/elements/vm_connect_target.dart';
122 export 'package:observatory/src/elements/vm_connect.dart'; 128 export 'package:observatory/src/elements/vm_connect.dart';
123 129
124 // Even though this function does not invoke any asynchronous operation 130 // Even though this function does not invoke any asynchronous operation
125 // it is marked as async to allow future backward compatible changes. 131 // it is marked as async to allow future backward compatible changes.
126 Future initElements() async { 132 Future initElements() async {
133 ClassRefElement.tag.ensureRegistration();
134 ClassRefElementWrapper.tag.ensureRegistration();
127 CodeRefElement.tag.ensureRegistration(); 135 CodeRefElement.tag.ensureRegistration();
128 CodeRefElementWrapper.tag.ensureRegistration(); 136 CodeRefElementWrapper.tag.ensureRegistration();
129 CurlyBlockElement.tag.ensureRegistration(); 137 CurlyBlockElement.tag.ensureRegistration();
130 CurlyBlockElementWrapper.tag.ensureRegistration(); 138 CurlyBlockElementWrapper.tag.ensureRegistration();
131 ErrorRefElement.tag.ensureRegistration(); 139 ErrorRefElement.tag.ensureRegistration();
132 ErrorRefElementWrapper.tag.ensureRegistration(); 140 ErrorRefElementWrapper.tag.ensureRegistration();
133 FunctionRefElement.tag.ensureRegistration(); 141 FunctionRefElement.tag.ensureRegistration();
134 FunctionRefElementWrapper.tag.ensureRegistration(); 142 FunctionRefElementWrapper.tag.ensureRegistration();
135 IsolateRefElement.tag.ensureRegistration(); 143 IsolateRefElement.tag.ensureRegistration();
136 IsolateRefElementWrapper.tag.ensureRegistration(); 144 IsolateRefElementWrapper.tag.ensureRegistration();
145 LibraryRefElement.tag.ensureRegistration();
146 LibraryRefElementWrapper.tag.ensureRegistration();
137 NavBarElement.tag.ensureRegistration(); 147 NavBarElement.tag.ensureRegistration();
138 NavClassMenuElement.tag.ensureRegistration(); 148 NavClassMenuElement.tag.ensureRegistration();
139 NavClassMenuElementWrapper.tag.ensureRegistration(); 149 NavClassMenuElementWrapper.tag.ensureRegistration();
140 NavIsolateMenuElement.tag.ensureRegistration(); 150 NavIsolateMenuElement.tag.ensureRegistration();
141 NavIsolateMenuElementWrapper.tag.ensureRegistration(); 151 NavIsolateMenuElementWrapper.tag.ensureRegistration();
142 NavLibraryMenuElement.tag.ensureRegistration(); 152 NavLibraryMenuElement.tag.ensureRegistration();
143 NavLibraryMenuElementWrapper.tag.ensureRegistration(); 153 NavLibraryMenuElementWrapper.tag.ensureRegistration();
144 NavMenuElement.tag.ensureRegistration(); 154 NavMenuElement.tag.ensureRegistration();
145 NavMenuElementWrapper.tag.ensureRegistration(); 155 NavMenuElementWrapper.tag.ensureRegistration();
146 NavMenuItemElement.tag.ensureRegistration(); 156 NavMenuItemElement.tag.ensureRegistration();
(...skipping 11 matching lines...) Expand all
158 ScriptRefElement.tag.ensureRegistration(); 168 ScriptRefElement.tag.ensureRegistration();
159 ScriptRefElementWrapper.tag.ensureRegistration(); 169 ScriptRefElementWrapper.tag.ensureRegistration();
160 SourceLinkElement.tag.ensureRegistration(); 170 SourceLinkElement.tag.ensureRegistration();
161 SourceLinkElementWrapper.tag.ensureRegistration(); 171 SourceLinkElementWrapper.tag.ensureRegistration();
162 ViewFooterElement.tag.ensureRegistration(); 172 ViewFooterElement.tag.ensureRegistration();
163 VirtualCollectionElement.tag.ensureRegistration(); 173 VirtualCollectionElement.tag.ensureRegistration();
164 VirtualTreeElement.tag.ensureRegistration(); 174 VirtualTreeElement.tag.ensureRegistration();
165 VMConnectElement.tag.ensureRegistration(); 175 VMConnectElement.tag.ensureRegistration();
166 VMConnectTargetElement.tag.ensureRegistration(); 176 VMConnectTargetElement.tag.ensureRegistration();
167 } 177 }
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