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="source_view.html"> | 15 <link rel="import" href="source_view.html"> |
15 <link rel="import" href="stack_trace.html"> | 16 <link rel="import" href="stack_trace.html"> |
16 </head> | 17 </head> |
17 <polymer-element name="message-viewer" extends="observatory-element"> | 18 <polymer-element name="message-viewer" extends="observatory-element"> |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 </template> | 65 </template> |
65 <template if="{{ messageType == 'Function' }}"> | 66 <template if="{{ messageType == 'Function' }}"> |
66 <function-view app="{{ app }}" function="{{ message }}"></function-view> | 67 <function-view app="{{ app }}" function="{{ message }}"></function-view> |
67 </template> | 68 </template> |
68 <template if="{{ messageType == 'Code' }}"> | 69 <template if="{{ messageType == 'Code' }}"> |
69 <code-view app="{{ app }}" code="{{ message }}"></code-view> | 70 <code-view app="{{ app }}" code="{{ message }}"></code-view> |
70 </template> | 71 </template> |
71 <template if="{{ messageType == 'Script' }}"> | 72 <template if="{{ messageType == 'Script' }}"> |
72 <script-view app="{{ app }}" script="{{ message }}"></script-view> | 73 <script-view app="{{ app }}" script="{{ message }}"></script-view> |
73 </template> | 74 </template> |
| 75 <template if="{{ messageType == 'HeapProfile' }}"> |
| 76 <heap-profile app="{{ app }}" profile="{{ message }}"></heap-profile> |
| 77 </template> |
74 <template if="{{ messageType == 'CPU' }}"> | 78 <template if="{{ messageType == 'CPU' }}"> |
75 <json-view json="{{ message }}"></json-view> | 79 <json-view json="{{ message }}"></json-view> |
76 </template> | 80 </template> |
77 <!-- Add new views and message types in the future here. --> | 81 <!-- Add new views and message types in the future here. --> |
78 </template> | 82 </template> |
79 <script type="application/dart" src="message_viewer.dart"></script> | 83 <script type="application/dart" src="message_viewer.dart"></script> |
80 </polymer-element> | 84 </polymer-element> |
OLD | NEW |