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

Unified Diff: runtime/bin/vmservice/observatory/deployed/web/packages/observatory/src/elements/stack_trace.html

Issue 839543002: Revert "Build Observatory with runtime" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 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 side-by-side diff with in-line comments
Download patch
Index: runtime/bin/vmservice/observatory/deployed/web/packages/observatory/src/elements/stack_trace.html
diff --git a/runtime/bin/vmservice/observatory/deployed/web/packages/observatory/src/elements/stack_trace.html b/runtime/bin/vmservice/observatory/deployed/web/packages/observatory/src/elements/stack_trace.html
new file mode 100644
index 0000000000000000000000000000000000000000..f08b03274c5d0855dff5b4718e07d76ea14ac498
--- /dev/null
+++ b/runtime/bin/vmservice/observatory/deployed/web/packages/observatory/src/elements/stack_trace.html
@@ -0,0 +1,33 @@
+<link rel="import" href="../../../../packages/polymer/polymer.html">
+<link rel="import" href="nav_bar.html">
+<link rel="import" href="observatory_element.html">
+<link rel="import" href="stack_frame.html">
+
+<polymer-element name="stack-trace" extends="observatory-element">
+ <template>
+ <link rel="stylesheet" href="css/shared.css">
+ <nav-bar>
+ <top-nav-menu></top-nav-menu>
+ <isolate-nav-menu isolate="{{ trace.isolate }}"></isolate-nav-menu>
+ <nav-menu link="{{ trace.isolate.relativeLink('stacktrace') }}" anchor="stack trace" last="{{ true }}"></nav-menu>
+ <nav-refresh callback="{{ refresh }}"></nav-refresh>
+ <nav-control></nav-control>
+ </nav-bar>
+ <template if="{{ trace['members'].isEmpty }}">
+ <div class="content">
+ <em>No stack</em>
+ </div>
+ </template>
+ <template if="{{ trace['members'].isNotEmpty }}">
+ <ul class="list-group">
+ <template repeat="{{ frame in trace['members'] }}">
+ <li class="list-group-item">
+ <stack-frame frame="{{ frame }}"></stack-frame>
+ </li>
+ </template>
+ </ul>
+ </template>
+ </template>
+</polymer-element>
+
+<script type="application/dart" src="stack_trace.dart"></script>

Powered by Google App Engine
This is Rietveld 408576698