OLD | NEW |
1 <head> | 1 <head> |
2 <link rel="import" href="breakpoint_list.html"> | 2 <link rel="import" href="breakpoint_list.html"> |
3 <link rel="import" href="class_view.html"> | 3 <link rel="import" href="class_view.html"> |
4 <link rel="import" href="code_view.html"> | 4 <link rel="import" href="code_view.html"> |
5 <link rel="import" href="error_view.html"> | 5 <link rel="import" href="error_view.html"> |
6 <link rel="import" href="field_view.html"> | 6 <link rel="import" href="field_view.html"> |
7 <link rel="import" href="function_view.html"> | 7 <link rel="import" href="function_view.html"> |
| 8 <link rel="import" href="heap_profile.html"> |
8 <link rel="import" href="instance_view.html"> | 9 <link rel="import" href="instance_view.html"> |
9 <link rel="import" href="isolate_list.html"> | 10 <link rel="import" href="isolate_list.html"> |
10 <link rel="import" href="json_view.html"> | 11 <link rel="import" href="json_view.html"> |
11 <link rel="import" href="library_view.html"> | 12 <link rel="import" href="library_view.html"> |
12 <link rel="import" href="observatory_element.html"> | 13 <link rel="import" href="observatory_element.html"> |
13 <link rel="import" href="script_view.html"> | 14 <link rel="import" href="script_view.html"> |
14 <link rel="import" href="stack_trace.html"> | 15 <link rel="import" href="stack_trace.html"> |
15 </head> | 16 </head> |
16 <polymer-element name="message-viewer" extends="observatory-element"> | 17 <polymer-element name="message-viewer" extends="observatory-element"> |
17 <!-- | 18 <!-- |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 </template> | 63 </template> |
63 <template if="{{ messageType == 'Function' }}"> | 64 <template if="{{ messageType == 'Function' }}"> |
64 <function-view app="{{ app }}" function="{{ message }}"></function-view> | 65 <function-view app="{{ app }}" function="{{ message }}"></function-view> |
65 </template> | 66 </template> |
66 <template if="{{ messageType == 'Code' }}"> | 67 <template if="{{ messageType == 'Code' }}"> |
67 <code-view app="{{ app }}" code="{{ message['code'] }}"></code-view> | 68 <code-view app="{{ app }}" code="{{ message['code'] }}"></code-view> |
68 </template> | 69 </template> |
69 <template if="{{ messageType == 'Script' }}"> | 70 <template if="{{ messageType == 'Script' }}"> |
70 <script-view app="{{ app }}" script="{{ message['script'] }}"></script-vie
w> | 71 <script-view app="{{ app }}" script="{{ message['script'] }}"></script-vie
w> |
71 </template> | 72 </template> |
| 73 <template if="{{ messageType == 'AllocationProfile' }}"> |
| 74 <heap-profile app="{{ app }}" profile="{{ message }}"></heap-profile> |
| 75 </template> |
72 <template if="{{ messageType == 'CPU' }}"> | 76 <template if="{{ messageType == 'CPU' }}"> |
73 <json-view json="{{ message }}"></json-view> | 77 <json-view json="{{ message }}"></json-view> |
74 </template> | 78 </template> |
75 <!-- Add new views and message types in the future here. --> | 79 <!-- Add new views and message types in the future here. --> |
76 </template> | 80 </template> |
77 <script type="application/dart" src="message_viewer.dart"></script> | 81 <script type="application/dart" src="message_viewer.dart"></script> |
78 </polymer-element> | 82 </polymer-element> |
OLD | NEW |