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

Unified Diff: runtime/bin/vmservice/client/lib/src/elements/instance_ref.html

Issue 192443004: Complete the switch to ServiceObject (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 9 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/lib/src/elements/instance_ref.html
diff --git a/runtime/bin/vmservice/client/lib/src/elements/instance_ref.html b/runtime/bin/vmservice/client/lib/src/elements/instance_ref.html
index a2ed2c43a26b377fda8207ef03830fda64aaa3a2..98e62f135ad6bf371328d14665f5d5af478e7257 100644
--- a/runtime/bin/vmservice/client/lib/src/elements/instance_ref.html
+++ b/runtime/bin/vmservice/client/lib/src/elements/instance_ref.html
@@ -12,48 +12,48 @@
}
</style>
<div>
- <template if="{{ isUnexpectedRef(ref['type']) }}">
+ <template if="{{ isUnexpected(ref.serviceType) }}">
unexpected reference type &lt;{{ ref['type'] }}&gt;
</template>
- <template if="{{ isNullRef(ref['type']) }}">
- <div title="{{ hoverText }}">{{ name }}</div>
+ <template if="{{ isNull(ref.serviceType) }}">
+ <div title="{{ hoverText }}">{{ ref['preview'] }}</div>
</template>
- <template if="{{ (isStringRef(ref['type']) ||
- isBoolRef(ref['type']) ||
- isIntRef(ref['type'])) }}">
- <a href="{{ url }}">{{ name }}</a>
+ <template if="{{ (isString(ref.serviceType) ||
+ isBool(ref.serviceType) ||
+ isInt(ref.serviceType)) }}">
+ <a href="{{ url }}">{{ ref['preview'] }}</a>
</template>
- <template if="{{ isClosureRef(ref['type']) }}">
+ <template if="{{ isClosure(ref.serviceType) }}">
<a href="{{ url }}">
{{ ref['closureFunc']['user_name'] }}
</a>
</template>
- <template if="{{ isInstanceRef(ref['type']) }}">
+ <template if="{{ isInstance(ref.serviceType) }}">
<a href="{{ url }}"><em>{{ ref['class']['user_name'] }}</em></a>
<curly-block callback="{{ expander() }}">
<table>
<tr template repeat="{{ field in ref['fields'] }}">
<td class="member">{{ field['decl']['user_name'] }}</td>
<td class="member">
- <instance-ref isolate="{{ isolate }}" ref="{{ field['value'] }}"></instance-ref>
+ <instance-ref ref="{{ field['value'] }}"></instance-ref>
</td>
</tr>
</table>
</curly-block>
</template>
- <template if="{{ isListRef(ref['type']) }}">
+ <template if="{{ isList(ref.serviceType) }}">
<a href="{{ url }}"><em>{{ ref['class']['user_name'] }}</em> ({{ ref['length']}})</a>
<curly-block callback="{{ expander() }}">
<table>
<tr template repeat="{{ element in ref['elements'] }}">
<td class="member">[{{ element['index']}}]</td>
<td class="member">
- <instance-ref isolate="{{ isolate }}" ref="{{ element['value'] }}"></instance-ref>
+ <instance-ref ref="{{ element['value'] }}"></instance-ref>
</td>
</tr>
</table>

Powered by Google App Engine
This is Rietveld 408576698