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

Unified Diff: runtime/observatory/lib/src/elements/service_ref.html

Issue 2244433003: Converted Observatory refs elements (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: All element tested Created 4 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/observatory/lib/src/elements/service_ref.html
diff --git a/runtime/observatory/lib/src/elements/service_ref.html b/runtime/observatory/lib/src/elements/service_ref.html
index c6e8b8b77960795d1be5b111b8eb31bed700343c..d401cc83ce52bf51de49d4da498d2b8bde01f709 100644
--- a/runtime/observatory/lib/src/elements/service_ref.html
+++ b/runtime/observatory/lib/src/elements/service_ref.html
@@ -3,56 +3,4 @@
<polymer-element name="any-service-ref">
</polymer-element>
-<polymer-element name="object-ref">
- <template><link rel="stylesheet" href="css/shared.css">
-
- <template if="{{ ref.isObjectPool }}">
- <a on-click="{{ goto }}" _href="{{ url }}">
- <em>{{ ref.vmType }}</em> ({{ ref.length }})
- </a>
- <curly-block callback="{{ expander() }}" expandKey="{{ expandKey }}">
- <template if="{{ expanded }}">
- <div class="indented">
- <template repeat="{{ entry in ref.entries }}">
- <div class="memberItem">
- <div class="memberName">[PP+0x{{ entry['offset'].toRadixString(16) }}]</div>
- <div class="memberValue">
- <template if="{{ entry['kind'] == 'Object' }}">
- <any-service-ref ref="{{ entry['value'] }}">
- </any-service-ref>
- </template>
- <template if="{{ entry['kind'] == 'Immediate' }}">
- Immediate 0x{{ entry['value'].toRadixString(16) }}
- </template>
- <template if="{{ entry['kind'] == 'NativeEntry' }}">
- NativeEntry 0x{{ entry['value'].toRadixString(16) }}
- </template>
- </div>
- </div>
- </template>
- </div>
- </template>
- </curly-block>
- </template>
- <template if="{{ ref.isICData || ref.isMegamorphicCache }}">
- <a on-click="{{ goto }}" _href="{{ url }}">
- <em>{{ ref.vmType }}</em> ({{ ref.selector }})
- </a>
- </template>
- <template if="{{ ref.isInstructions }}">
- <a on-click="{{ goto }}" _href="{{ url }}">
- <em>{{ ref.vmType }}</em> ({{ ref.code.name }})
- </a>
- </template>
- <template if="{{ !(ref.isObjectPool || ref.isICData || ref.isMegamorphicCache || ref.isInstructions) }}">
- <template if="{{ nameIsEmpty }}">
- <a on-click="{{ goto }}" _href="{{ url }}"><em>{{ ref.vmType }}</em></a>
- </template>
- <template if="{{ !nameIsEmpty }}">
- <a on-click="{{ goto }}" _href="{{ url }}"><em>{{ name }}</em></a>
- </template>
- </template>
- </template>
-</polymer-element>
-
<script type="application/dart" src="service_ref.dart"></script>

Powered by Google App Engine
This is Rietveld 408576698