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

Side by Side Diff: runtime/bin/vmservice/observatory/lib/src/elements/instance_view.html

Issue 514833003: Add a new Sentinel type for sentinel responses. (They are not Null). (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: gen js, fix tests Created 6 years, 3 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 <link rel="import" href="../../../../packages/polymer/polymer.html"> 1 <link rel="import" href="../../../../packages/polymer/polymer.html">
2 <link rel="import" href="class_ref.html"> 2 <link rel="import" href="class_ref.html">
3 <link rel="import" href="error_view.html"> 3 <link rel="import" href="error_view.html">
4 <link rel="import" href="eval_box.html"> 4 <link rel="import" href="eval_box.html">
5 <link rel="import" href="eval_link.html"> 5 <link rel="import" href="eval_link.html">
6 <link rel="import" href="field_ref.html"> 6 <link rel="import" href="field_ref.html">
7 <link rel="import" href="function_ref.html"> 7 <link rel="import" href="function_ref.html">
8 <link rel="import" href="inbound_reference.html"> 8 <link rel="import" href="inbound_reference.html">
9 <link rel="import" href="instance_ref.html"> 9 <link rel="import" href="instance_ref.html">
10 <link rel="import" href="observatory_element.html"> 10 <link rel="import" href="observatory_element.html">
(...skipping 12 matching lines...) Expand all
23 <nav-control></nav-control> 23 <nav-control></nav-control>
24 </nav-bar> 24 </nav-bar>
25 25
26 <template if="{{ instance['error'] != null }}"> 26 <template if="{{ instance['error'] != null }}">
27 <error-view error_obj="{{ instance['error'] }}"></error-view> 27 <error-view error_obj="{{ instance['error'] }}"></error-view>
28 </template> 28 </template>
29 29
30 <template if="{{ instance['error'] == null }}"> 30 <template if="{{ instance['error'] == null }}">
31 <div class="content"> 31 <div class="content">
32 <!-- TODO(turnidge): Handle null instances. --> 32 <!-- TODO(turnidge): Handle null instances. -->
33 <template if="{{ isType(instance.serviceType) }}"> 33 <template if="{{ isType(instance) }}">
34 <h1>type {{ instance['user_name'] }}</h1> 34 <h1>type {{ instance.name }}</h1>
35 </template> 35 </template>
36 <template if="{{ !isType(instance.serviceType) }}"> 36 <template if="{{ !isType(instance) }}">
37 <h1>instance of {{ instance['class']['user_name'] }}</h1> 37 <h1>instance of {{ instance['class'].name }}</h1>
38 </template> 38 </template>
39 <div class="memberList"> 39 <div class="memberList">
40 <div class="memberItem"> 40 <div class="memberItem">
41 <div class="memberName">class</div> 41 <div class="memberName">class</div>
42 <div class="memberValue"> 42 <div class="memberValue">
43 <class-ref ref="{{ instance['class'] }}"> 43 <class-ref ref="{{ instance['class'] }}">
44 </class-ref> 44 </class-ref>
45 </div> 45 </div>
46 </div> 46 </div>
47 <template if="{{ instance['valueAsString'] != null }}"> 47 <template if="{{ instance['valueAsString'] != null }}">
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 <div class="content"> 206 <div class="content">
207 <eval-box callback="{{ eval }}"></eval-box> 207 <eval-box callback="{{ eval }}"></eval-box>
208 </div> 208 </div>
209 <br><br><br><br> 209 <br><br><br><br>
210 <br><br><br><br> 210 <br><br><br><br>
211 211
212 </template> 212 </template>
213 </template> 213 </template>
214 </polymer-element> 214 </polymer-element>
215 215
216 <script type="application/dart" src="instance_view.dart"></script> 216 <script type="application/dart" src="instance_view.dart"></script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698