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

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

Issue 27530002: Reorganize VM Service client (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 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="observatory_element.html"> 2 <link rel="import" href="observatory_element.html">
3 <link rel="import" href="error_view.html"> 3 <link rel="import" href="error_view.html">
4 <link rel="import" href="isolate_list.html"> 4 <link rel="import" href="isolate_list.html">
5 <link rel="import" href="stack_trace.html"> 5 <link rel="import" href="stack_trace.html">
6 </head> 6 </head>
7 <polymer-element name="message-viewer" extends="observatory-element"> 7 <polymer-element name="message-viewer" extends="observatory-element">
8 <!-- 8 <!--
9 This is a big switch statement which instantiates the custom element 9 This is a big switch statement which instantiates the custom element
10 designated to display the message type. 10 designated to display the message type.
11 --> 11 -->
12 <template> 12 <template>
13 <!-- If the message type is an IsolateList --> 13 <!-- If the message type is an IsolateList -->
14 <template if="{{ messageType == 'IsolateList' }}"> 14 <template if="{{ messageType == 'IsolateList' }}">
15 <isolate-list app="{{ app }}"></isolate-list> 15 <isolate-list app="{{ app }}"></isolate-list>
16 </template> 16 </template>
17 <!-- If the message type is a StackTrace --> 17 <!-- If the message type is a StackTrace -->
18 <template if="{{ messageType == 'StackTrace' }}"> 18 <template if="{{ messageType == 'StackTrace' }}">
19 <stack-trace app="{{ app }}" trace="{{ message }}"></stack-trace> 19 <stack-trace app="{{ app }}" trace="{{ message }}"></stack-trace>
20 </template> 20 </template>
21 <!-- If the message type is a RequestError --> 21 <!-- If the message type is a RequestError -->
22 <template if="{{ messageType == 'RequestError' }}"> 22 <template if="{{ messageType == 'RequestError' }}">
23 <error-view app="{{ app }}" error="{{ message['error'] }}"></error-view> 23 <error-view app="{{ app }}" error="{{ message['error'] }}"></error-view>
24 </template> 24 </template>
25 <!-- Add new views and message types in the future here. --> 25 <!-- Add new views and message types in the future here. -->
26 </template> 26 </template>
27 <script type="application/dart" src="message_viewer.dart"></script> 27 <script type="application/dart" src="message_viewer.dart"></script>
28 </polymer-element> 28 </polymer-element>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698