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

Side by Side Diff: runtime/observatory/lib/src/elements/field_view.html

Issue 1057333004: Continue improving the documentation for the vm service protocol. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: code review Created 5 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
« no previous file with comments | « runtime/lib/isolate.cc ('k') | runtime/observatory/lib/src/elements/function_ref.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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="instance_ref.html"> 3 <link rel="import" href="instance_ref.html">
4 <link rel="import" href="library_ref.html"> 4 <link rel="import" href="library_ref.html">
5 <link rel="import" href="nav_bar.html"> 5 <link rel="import" href="nav_bar.html">
6 <link rel="import" href="script_ref.html"> 6 <link rel="import" href="script_ref.html">
7 <link rel="import" href="observatory_element.html"> 7 <link rel="import" href="observatory_element.html">
8 8
9 <polymer-element name="field-view" extends="observatory-element"> 9 <polymer-element name="field-view" extends="observatory-element">
10 <template> 10 <template>
11 <link rel="stylesheet" href="css/shared.css"> 11 <link rel="stylesheet" href="css/shared.css">
12 <nav-bar> 12 <nav-bar>
13 <top-nav-menu></top-nav-menu> 13 <top-nav-menu></top-nav-menu>
14 <isolate-nav-menu isolate="{{ field.isolate }}"></isolate-nav-menu> 14 <isolate-nav-menu isolate="{{ field.isolate }}"></isolate-nav-menu>
15 <template if="{{ field.owner.type == 'Class' }}"> 15 <library-nav-menu library="{{ field.library }}"></library-nav-menu>
16 <!-- TODO(turnidge): Add library nav menu here. --> 16 <template if="{{ field.dartOwner is ServiceClass }}">
17 <class-nav-menu cls="{{ field.owner }}"></class-nav-menu> 17 <class-nav-menu cls="{{ field.dartOwner }}"></class-nav-menu>
18 </template>
19 <template if="{{ field.owner.type == 'Library' }}">
20 <library-nav-menu library="{{ field.owner }}"></library-nav-menu>
21 </template> 18 </template>
22 <nav-menu link="{{ makeLink('/inspect', field) }}" anchor="{{ field.name } }" last="{{ true }}"></nav-menu> 19 <nav-menu link="{{ makeLink('/inspect', field) }}" anchor="{{ field.name } }" last="{{ true }}"></nav-menu>
23 <nav-refresh callback="{{ refresh }}"></nav-refresh> 20 <nav-refresh callback="{{ refresh }}"></nav-refresh>
24 <nav-control></nav-control> 21 <nav-control></nav-control>
25 </nav-bar> 22 </nav-bar>
26 23
27 <div class="content"> 24 <div class="content">
28 <h1> 25 <h1>
29 <template if="{{ field.isStatic }}">static</template> 26 <template if="{{ field.isStatic }}">static</template>
30 <template if="{{ field.isFinal }}">final</template> 27 <template if="{{ field.isFinal }}">final</template>
31 <template if="{{ field.isConst }}">const</template> 28 <template if="{{ field.isConst }}">const</template>
32 <template if="{{ (field.declaredType.name == 'dynamic' && 29 <template if="{{ (field.declaredType.name == 'dynamic' &&
33 !field.isFinal && !field.isConst) }}"> 30 !field.isFinal && !field.isConst) }}">
34 var 31 var
35 </template> 32 </template>
36 <template if="{{ (field.declaredType.name != 'dynamic') }}"> 33 <template if="{{ (field.declaredType.name != 'dynamic') }}">
37 {{ field.declaredType.name }} 34 {{ field.declaredType.name }}
38 </template> 35 </template>
39 {{ field.name }} 36 {{ field.name }}
40 </h1> 37 </h1>
41 <div class="memberList"> 38 <div class="memberList">
42 <div class="memberItem"> 39 <div class="memberItem">
43 <div class="memberName">owner</div> 40 <div class="memberName">owner</div>
44 <div class="memberValue"> 41 <div class="memberValue">
45 <template if="{{ field.owner.type == 'Class' }}"> 42 <any-service-ref ref="{{ function.dartOwner }}"></any-service-ref>
46 <class-ref ref="{{ field.owner }}"></class-ref>
47 </template>
48 <template if="{{ field.owner.type != 'Class' }}">
49 <library-ref ref="{{ field.owner }}"></library-ref>
50 </template>
51 </div> 43 </div>
52 </div> 44 </div>
53 <div class="memberItem"> 45 <div class="memberItem">
54 <div class="memberName">script</div> 46 <div class="memberName">script</div>
55 <div class="memberValue"> 47 <div class="memberValue">
56 <script-ref ref="{{ field.script }}"></script-ref> 48 <script-ref ref="{{ field.script }}"></script-ref>
57 </div> 49 </div>
58 </div> 50 </div>
59 <template if="{{ !field.isStatic }}"> 51 <template if="{{ !field.isStatic }}">
60 <div class="memberItem" 52 <div class="memberItem"
(...skipping 26 matching lines...) Expand all
87 <any-service-ref ref="{{ field.value }}"></any-service-ref> 79 <any-service-ref ref="{{ field.value }}"></any-service-ref>
88 </div> 80 </div>
89 </div> 81 </div>
90 </template> 82 </template>
91 </div> 83 </div>
92 </div> 84 </div>
93 </template> 85 </template>
94 </polymer-element> 86 </polymer-element>
95 87
96 <script type="application/dart" src="field_view.dart"></script> 88 <script type="application/dart" src="field_view.dart"></script>
OLDNEW
« no previous file with comments | « runtime/lib/isolate.cc ('k') | runtime/observatory/lib/src/elements/function_ref.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698