| Index: runtime/bin/vmservice/client/lib/src/observatory_elements/message_viewer.html
|
| diff --git a/runtime/bin/vmservice/client/lib/src/observatory_elements/message_viewer.html b/runtime/bin/vmservice/client/lib/src/observatory_elements/message_viewer.html
|
| index ea27737fa587a4c76b508d4f8e2af63bb67d66c7..3ea91e3944b0c8c02ab96e1811d7dc2c87c28a5f 100644
|
| --- a/runtime/bin/vmservice/client/lib/src/observatory_elements/message_viewer.html
|
| +++ b/runtime/bin/vmservice/client/lib/src/observatory_elements/message_viewer.html
|
| @@ -1,7 +1,12 @@
|
| <head>
|
| - <link rel="import" href="observatory_element.html">
|
| + <link rel="import" href="class_view.html">
|
| + <link rel="import" href="code_view.html">
|
| <link rel="import" href="error_view.html">
|
| + <link rel="import" href="field_view.html">
|
| + <link rel="import" href="function_view.html">
|
| <link rel="import" href="isolate_list.html">
|
| + <link rel="import" href="library_view.html">
|
| + <link rel="import" href="observatory_element.html">
|
| <link rel="import" href="stack_trace.html">
|
| </head>
|
| <polymer-element name="message-viewer" extends="observatory-element">
|
| @@ -22,6 +27,21 @@
|
| <template if="{{ messageType == 'RequestError' }}">
|
| <error-view app="{{ app }}" error="{{ message['error'] }}"></error-view>
|
| </template>
|
| + <template if="{{ messageType == 'Library' }}">
|
| + <library-view app="{{ app }}" library="{{ message }}"></library-view>
|
| + </template>
|
| + <template if="{{ messageType == 'Class' }}">
|
| + <class-view app="{{ app }}" cls="{{ message }}"></class-view>
|
| + </template>
|
| + <template if="{{ messageType == 'Field' }}">
|
| + <field-view app="{{ app }}" field="{{ message }}"></field-view>
|
| + </template>
|
| + <template if="{{ messageType == 'Function' }}">
|
| + <function-view app="{{ app }}" function="{{ message }}"></function-view>
|
| + </template>
|
| + <template if="{{ messageType == 'Code' }}">
|
| + <code-view app="{{ app }}" code="{{ message }}"></code-view>
|
| + </template>
|
| <!-- Add new views and message types in the future here. -->
|
| </template>
|
| <script type="application/dart" src="message_viewer.dart"></script>
|
|
|