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

Unified Diff: runtime/bin/vmservice/client/observatory/packages/observatory/src/observatory_elements/response_viewer.html

Issue 24471002: Initial GUI for review (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 3 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/observatory/packages/observatory/src/observatory_elements/response_viewer.html
diff --git a/runtime/bin/vmservice/client/observatory/packages/observatory/src/observatory_elements/response_viewer.html b/runtime/bin/vmservice/client/observatory/packages/observatory/src/observatory_elements/response_viewer.html
new file mode 100644
index 0000000000000000000000000000000000000000..2790c1d61eca23569b74854b932522f84d56b80d
--- /dev/null
+++ b/runtime/bin/vmservice/client/observatory/packages/observatory/src/observatory_elements/response_viewer.html
@@ -0,0 +1,16 @@
+<head>
+ <link rel="import" href="collapsible_content.html">
+ <link rel="import" href="message_viewer.html">
+ <link rel="import" href="json_view.html">
+</head>
+<polymer-element name="response-viewer" attributes="app">
+ <template>
+ <template repeat="{{ message in app.requestManager.responses }}">
+ <message-viewer app="{{ app }}" message="{{ message }}"></message-viewer>
+ <collapsible-content>
+ <json-view json="{{ message }}"></json-view>
+ </collapsible-content>
+ </template>
+ </template>
+ <script type="application/dart" src="response_viewer.dart"></script>
+</polymer-element>

Powered by Google App Engine
This is Rietveld 408576698