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

Side by Side Diff: runtime/bin/vmservice/client/lib/src/observatory_elements/message_viewer.html

Issue 143973005: Code coverage in Observatory (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 11 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 | Annotate | Revision Log
OLDNEW
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="instance_view.html"> 8 <link rel="import" href="instance_view.html">
9 <link rel="import" href="isolate_list.html"> 9 <link rel="import" href="isolate_list.html">
10 <link rel="import" href="json_view.html"> 10 <link rel="import" href="json_view.html">
11 <link rel="import" href="library_view.html"> 11 <link rel="import" href="library_view.html">
12 <link rel="import" href="observatory_element.html"> 12 <link rel="import" href="observatory_element.html">
13 <link rel="import" href="script_view.html"> 13 <link rel="import" href="script_view.html">
14 <link rel="import" href="source_view.html">
15 <link rel="import" href="stack_trace.html"> 14 <link rel="import" href="stack_trace.html">
16 </head> 15 </head>
17 <polymer-element name="message-viewer" extends="observatory-element"> 16 <polymer-element name="message-viewer" extends="observatory-element">
18 <!-- 17 <!--
19 This is a big switch statement which instantiates the custom element 18 This is a big switch statement which instantiates the custom element
20 designated to display the message type. 19 designated to display the message type.
21 --> 20 -->
22 <template> 21 <template>
23 <!-- If the message type is an IsolateList --> 22 <!-- If the message type is an IsolateList -->
24 <template if="{{ messageType == 'IsolateList' }}"> 23 <template if="{{ messageType == 'IsolateList' }}">
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 <template if="{{ messageType == 'Smi' }}"> 60 <template if="{{ messageType == 'Smi' }}">
62 <instance-view app="{{ app }}" instance="{{ message }}"></instance-view> 61 <instance-view app="{{ app }}" instance="{{ message }}"></instance-view>
63 </template> 62 </template>
64 <template if="{{ messageType == 'Function' }}"> 63 <template if="{{ messageType == 'Function' }}">
65 <function-view app="{{ app }}" function="{{ message }}"></function-view> 64 <function-view app="{{ app }}" function="{{ message }}"></function-view>
66 </template> 65 </template>
67 <template if="{{ messageType == 'Code' }}"> 66 <template if="{{ messageType == 'Code' }}">
68 <code-view app="{{ app }}" code="{{ message['code'] }}"></code-view> 67 <code-view app="{{ app }}" code="{{ message['code'] }}"></code-view>
69 </template> 68 </template>
70 <template if="{{ messageType == 'Script' }}"> 69 <template if="{{ messageType == 'Script' }}">
71 <script-view app="{{ app }}" script="{{ message }}"></script-view> 70 <script-view app="{{ app }}" script="{{ message['script'] }}"></script-vie w>
72 </template> 71 </template>
73 <template if="{{ messageType == 'CPU' }}"> 72 <template if="{{ messageType == 'CPU' }}">
74 <json-view json="{{ message }}"></json-view> 73 <json-view json="{{ message }}"></json-view>
75 </template> 74 </template>
76 <!-- Add new views and message types in the future here. --> 75 <!-- Add new views and message types in the future here. -->
77 </template> 76 </template>
78 <script type="application/dart" src="message_viewer.dart"></script> 77 <script type="application/dart" src="message_viewer.dart"></script>
79 </polymer-element> 78 </polymer-element>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698