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

Unified Diff: runtime/bin/vmservice/observatory/lib/src/elements/inbound_reference.html

Issue 483103003: Incoming references service request and UI. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 4 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/lib/src/elements/inbound_reference.html
diff --git a/runtime/bin/vmservice/observatory/lib/src/elements/inbound_reference.html b/runtime/bin/vmservice/observatory/lib/src/elements/inbound_reference.html
new file mode 100644
index 0000000000000000000000000000000000000000..dc51e7fd76afe6abd80b56547f0b4d532d2d2b46
--- /dev/null
+++ b/runtime/bin/vmservice/observatory/lib/src/elements/inbound_reference.html
@@ -0,0 +1,40 @@
+<link rel="import" href="../../../../packages/polymer/polymer.html">
+<link rel="import" href="curly_block.html">
+<link rel="import" href="observatory_element.html">
+<link rel="import" href="service_ref.html">
+
+<polymer-element name="inbound-reference" extends="service-ref">
+ <template>
+ <link rel="stylesheet" href="css/shared.css">
+ <style>
+ .errorBox {
+ background-color: #f5f5f5;
+ border: 1px solid #ccc;
+ padding: 10px;
+ font-family: consolas, courier, monospace;
+ font-size: 1em;
+ line-height: 1.2em;
+ white-space: pre;
+ }
+ </style>
+ <div>
+ from <service-ref-downcast ref="{{ source }}"></service-ref-downcast>
+ <template if="{{ slotIsNum }}">via [{{ slot }}]</template>
koda 2014/08/21 18:21:20 Ditto; consider using whatever description the ret
rmacnak 2014/08/21 22:06:44 Changed retaining path to "in [2] of". This way th
+ <template if="{{ slotIsField }}">via <field-ref ref="{{ slot }}"></template>
+
+ <curly-block callback="{{ expander() }}">
+ <div class="memberList">
+ <div class="memberItem">
+ <div class="memberName"><!-- BOGUS way to achieve indentation -->
+ <template repeat="{{ reference in inboundReferences] }}">
+ <inbound-reference ref="{{ reference }}"></inbound-reference>
+ </template>
+ </div>
+ </div>
+ </div>
+ </curly-block>
+ </div>
+ </template>
+</polymer-element>
+
+<script type="application/dart" src="inbound_reference.dart"></script>

Powered by Google App Engine
This is Rietveld 408576698