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

Unified Diff: runtime/bin/vmservice/observatory/deployed/web/packages/observatory/src/elements/stack_frame.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_frame.html
diff --git a/runtime/bin/vmservice/observatory/deployed/web/packages/observatory/src/elements/stack_frame.html b/runtime/bin/vmservice/observatory/deployed/web/packages/observatory/src/elements/stack_frame.html
new file mode 100644
index 0000000000000000000000000000000000000000..e0c39bce3674fadb7d0e93bd044eda07b6f82e0d
--- /dev/null
+++ b/runtime/bin/vmservice/observatory/deployed/web/packages/observatory/src/elements/stack_frame.html
@@ -0,0 +1,42 @@
+<link rel="import" href="../../../../packages/polymer/polymer.html">
+<link rel="import" href="curly_block.html">
+<link rel="import" href="function_ref.html">
+<link rel="import" href="instance_ref.html">
+<link rel="import" href="observatory_element.html">
+<link rel="import" href="script_ref.html">
+
+<polymer-element name="stack-frame" extends="observatory-element">
+ <template>
+ <link rel="stylesheet" href="css/shared.css">
+ <div class="flex-row">
+ <div class="flex-item-fixed-1-12">
+ </div>
+ <div class="flex-item-fixed-1-12">
+ #{{ frame['depth'] }}
+ </div>
+ <div class="flex-item-fixed-9-12">
+ <function-ref ref="{{ frame['function'] }}"></function-ref>
+ ( <script-ref ref="{{ frame['script'] }}"
+ pos="{{ frame['tokenPos'] }}">
+ </script-ref> )
+
+ <curly-block>
+ <div class="memberList">
+ <template repeat="{{ v in frame['vars'] }}">
+ <div class="memberItem">
+ <div class="memberName">{{ v['name']}}</div>
+ <div class="memberValue">
+ <any-service-ref ref="{{ v['value'] }}"></any-service-ref>
+ </div>
+ </div>
+ </template>
+ </div>
+ </curly-block>
+ </div>
+ <div class="flex-item-fixed-1-12">
+ </div>
+ </div>
+ </template>
+</polymer-element>
+
+<script type="application/dart" src="stack_frame.dart"></script>

Powered by Google App Engine
This is Rietveld 408576698