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

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

Issue 184233007: Refactor Observatory (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 10 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 side-by-side diff with in-line comments
Download patch
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
deleted file mode 100644
index 581abf8c4265b018f22474ff959c3a4b3f19bbe2..0000000000000000000000000000000000000000
--- a/runtime/bin/vmservice/client/lib/src/observatory_elements/message_viewer.html
+++ /dev/null
@@ -1,85 +0,0 @@
-<head>
- <link rel="import" href="breakpoint_list.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="heap_profile.html">
- <link rel="import" href="instance_view.html">
- <link rel="import" href="isolate_list.html">
- <link rel="import" href="json_view.html">
- <link rel="import" href="library_view.html">
- <link rel="import" href="observatory_element.html">
- <link rel="import" href="script_view.html">
- <link rel="import" href="stack_trace.html">
-</head>
-<polymer-element name="message-viewer" extends="observatory-element">
- <!--
- This is a big switch statement which instantiates the custom element
- designated to display the message type.
- -->
- <template>
- <!-- If the message type is an IsolateList -->
- <template if="{{ messageType == 'IsolateList' }}">
- <isolate-list app="{{ app }}"></isolate-list>
- </template>
- <!-- If the message type is a StackTrace -->
- <template if="{{ messageType == 'StackTrace' }}">
- <stack-trace app="{{ app }}" trace="{{ message }}"></stack-trace>
- </template>
- <template if="{{ messageType == 'BreakpointList' }}">
- <breakpoint-list app="{{ app }}" msg="{{ message }}"></breakpoint-list>
- </template>
- <template if="{{ messageType == 'Error' }}">
- <error-view app="{{ app }}" error="{{ message }}"></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 == 'Closure' }}">
- <instance-view app="{{ app }}" instance="{{ message }}"></instance-view>
- </template>
- <template if="{{ messageType == 'Instance' }}">
- <instance-view app="{{ app }}" instance="{{ message }}"></instance-view>
- </template>
- <template if="{{ messageType == 'Array' }}">
- <instance-view app="{{ app }}" instance="{{ message }}"></instance-view>
- </template>
- <template if="{{ messageType == 'GrowableObjectArray' }}">
- <instance-view app="{{ app }}" instance="{{ message }}"></instance-view>
- </template>
- <template if="{{ messageType == 'String' }}">
- <instance-view app="{{ app }}" instance="{{ message }}"></instance-view>
- </template>
- <template if="{{ messageType == 'Bool' }}">
- <instance-view app="{{ app }}" instance="{{ message }}"></instance-view>
- </template>
- <template if="{{ messageType == 'Smi' }}">
- <instance-view app="{{ app }}" instance="{{ message }}"></instance-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'] }}"></code-view>
- </template>
- <template if="{{ messageType == 'Script' }}">
- <script-view app="{{ app }}" script="{{ message['script'] }}"></script-view>
- </template>
- <template if="{{ messageType == 'AllocationProfile' }}">
- <heap-profile app="{{ app }}" profile="{{ message }}"></heap-profile>
- </template>
- <template if="{{ messageType == 'CPU' }}">
- <json-view json="{{ message }}"></json-view>
- </template>
- <!-- Add new views and message types in the future here. -->
- </template>
- <script type="application/dart" src="message_viewer.dart"></script>
-</polymer-element>

Powered by Google App Engine
This is Rietveld 408576698