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

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

Issue 219333011: Change how we provide value previews in the vm service. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: fix tests / gen js Created 6 years, 8 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <head> 1 <head>
2 <link rel="import" href="curly_block.html"> 2 <link rel="import" href="curly_block.html">
3 <link rel="import" href="observatory_element.html"> 3 <link rel="import" href="observatory_element.html">
4 <link rel="import" href="service_ref.html"> 4 <link rel="import" href="service_ref.html">
5 </head> 5 </head>
6 <polymer-element name="instance-ref" extends="service-ref"> 6 <polymer-element name="instance-ref" extends="service-ref">
7 <template> 7 <template>
8 <style> 8 <style>
9 .memberList { 9 .memberList {
10 display: table; 10 display: table;
(...skipping 11 matching lines...) Expand all
22 <span> 22 <span>
23 <template if="{{ isUnexpected(ref.serviceType) }}"> 23 <template if="{{ isUnexpected(ref.serviceType) }}">
24 unexpected reference type &lt;{{ ref.serviceType }}&gt; 24 unexpected reference type &lt;{{ ref.serviceType }}&gt;
25 </template> 25 </template>
26 26
27 <template if="{{ isError(ref.serviceType) }}"> 27 <template if="{{ isError(ref.serviceType) }}">
28 <pre>{{ ref.message }}</pre> 28 <pre>{{ ref.message }}</pre>
29 </template> 29 </template>
30 30
31 <template if="{{ isNull(ref.serviceType) }}"> 31 <template if="{{ isNull(ref.serviceType) }}">
32 <div title="{{ hoverText }}">{{ ref['preview'] }}</div> 32 <div title="{{ hoverText }}">{{ ref['valueAsString'] }}</div>
33 </template> 33 </template>
34 34
35 <template if="{{ (isString(ref.serviceType) || 35 <template if="{{ (isString(ref.serviceType) ||
36 isBool(ref.serviceType) || 36 isBool(ref.serviceType) ||
37 isInt(ref.serviceType)) || 37 isInt(ref.serviceType)) ||
38 isDouble(ref.serviceType)) }}"> 38 isDouble(ref.serviceType)) }}">
39 <a href="{{ url }}">{{ ref['preview'] }}</a> 39 <a href="{{ url }}">{{ ref['valueAsString'] }}</a>
40 </template> 40 </template>
41 41
42 <template if="{{ (isType(ref.serviceType)) }}"> 42 <template if="{{ (isType(ref.serviceType)) }}">
43 <a href="{{ url }}">{{ ref['user_name'] }}</a> 43 <a href="{{ url }}">{{ ref['user_name'] }}</a>
44 </template> 44 </template>
45 45
46 <template if="{{ isInstance(ref.serviceType) && 46 <template if="{{ isInstance(ref.serviceType) &&
47 ref['closureFunc'] != null}}"> 47 ref['closureFunc'] != null}}">
48 <a href="{{ url }}"> 48 <a href="{{ url }}">
49 <!-- TODO(turnidge): Switch this to fully-qualified function --> 49 <!-- TODO(turnidge): Switch this to fully-qualified function -->
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 </div> 82 </div>
83 </div> 83 </div>
84 </template> 84 </template>
85 </div> 85 </div>
86 </curly-block> 86 </curly-block>
87 </template> 87 </template>
88 </span> 88 </span>
89 </template> 89 </template>
90 <script type="application/dart" src="instance_ref.dart"></script> 90 <script type="application/dart" src="instance_ref.dart"></script>
91 </polymer-element> 91 </polymer-element>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698