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

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

Issue 1807263004: Improve class-tree, class-view, and instance-view. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: code review Created 4 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 unified diff | Download patch
OLDNEW
1 <link rel="import" href="../../../../packages/polymer/polymer.html"> 1 <link rel="import" href="../../../../packages/polymer/polymer.html">
2 <link rel="import" href="action_link.html"> 2 <link rel="import" href="action_link.html">
3 <link rel="import" href="cpu_profile.html"> 3 <link rel="import" href="cpu_profile.html">
4 <link rel="import" href="curly_block.html"> 4 <link rel="import" href="curly_block.html">
5 <link rel="import" href="eval_box.html"> 5 <link rel="import" href="eval_box.html">
6 <link rel="import" href="eval_link.html"> 6 <link rel="import" href="eval_link.html">
7 <link rel="import" href="field_ref.html"> 7 <link rel="import" href="field_ref.html">
8 <link rel="import" href="function_ref.html"> 8 <link rel="import" href="function_ref.html">
9 <link rel="import" href="instance_ref.html"> 9 <link rel="import" href="instance_ref.html">
10 <link rel="import" href="library_ref.html"> 10 <link rel="import" href="library_ref.html">
(...skipping 17 matching lines...) Expand all
28 </nav-bar> 28 </nav-bar>
29 29
30 <div class="content"> 30 <div class="content">
31 <h1> 31 <h1>
32 <template if="{{ cls.isAbstract }}"> 32 <template if="{{ cls.isAbstract }}">
33 abstract 33 abstract
34 </template> 34 </template>
35 <template if="{{ cls.isPatch }}"> 35 <template if="{{ cls.isPatch }}">
36 patch 36 patch
37 </template> 37 </template>
38 <template if="{{ cls.mixin != null }}">
39 mixin
40 </template>
38 class {{ cls.name }} 41 class {{ cls.name }}
39 </h1> 42 </h1>
40 43
41 <object-common object="{{ cls }}"></object-common> 44 <object-common object="{{ cls }}"></object-common>
42 <br> 45 <br>
43 46
44 <div class="memberList"> 47 <div class="memberList">
45 <div class="memberItem"> 48 <div class="memberItem">
46 <div class="memberName">library</div> 49 <div class="memberName">library</div>
47 <div class="memberValue"> 50 <div class="memberValue">
48 <library-ref ref="{{ cls.library }}"></library-ref> 51 <library-ref ref="{{ cls.library }}"></library-ref>
49 </div> 52 </div>
50 </div> 53 </div>
51 <div class="memberItem"> 54 <div class="memberItem">
52 <div class="memberName">script</div> 55 <div class="memberName">script</div>
53 <div class="memberValue"> 56 <div class="memberValue">
54 <source-link location="{{ cls.location }}"></source-link> 57 <source-link location="{{ cls.location }}"></source-link>
55 </div> 58 </div>
56 </div> 59 </div>
57 60
58 <div class="memberItem">&nbsp;</div> 61 <div class="memberItem">&nbsp;</div>
59 62
60 <template if="{{ cls.superclass != null }}"> 63 <template if="{{ cls.superclass != null }}">
61 <div class="memberItem"> 64 <div class="memberItem">
62 <div class="memberName">extends</div> 65 <div class="memberName">superclass</div>
63 <div class="memberValue"> 66 <div class="memberValue">
64 <class-ref ref="{{ cls.superclass }}"></class-ref> 67 <class-ref ref="{{ cls.superclass }}"></class-ref>
65 </div> 68 </div>
66 </div> 69 </div>
67 </template> 70 </template>
71 <template if="{{ cls.superType != null }}">
72 <div class="memberItem">
73 <div class="memberName">supertype</div>
74 <div class="memberValue">
75 <instance-ref ref="{{ cls.superType }}"></instance-ref>
76 </div>
77 </div>
78 </template>
79 <template if="{{ cls.mixin != null }}">
80 <div class="memberItem">
81 <div class="memberName">mixin</div>
82 <div class="memberValue">
83 <instance-ref ref="{{ cls.mixin }}"></instance-ref>
84 </div>
85 </div>
86 </template>
68 <template if="{{ cls.subclasses.length > 0 }}"> 87 <template if="{{ cls.subclasses.length > 0 }}">
69 <div class="memberItem"> 88 <div class="memberItem">
70 <div class="memberName">extended by</div> 89 <div class="memberName">extended by</div>
71 <div class="memberValue"> 90 <div class="memberValue">
72 <template repeat="{{ subclass in cls.subclasses }}"> 91 <template repeat="{{ subclass in cls.subclasses }}">
73 <class-ref ref="{{ subclass }}"></class-ref> 92 <class-ref ref="{{ subclass }}"></class-ref>
74 </template> 93 </template>
75 </div> 94 </div>
76 </div> 95 </div>
77 </template> 96 </template>
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 <hr> 279 <hr>
261 <source-inset location="{{ cls.location }}"> 280 <source-inset location="{{ cls.location }}">
262 </source-inset> 281 </source-inset>
263 </div> 282 </div>
264 283
265 <view-footer></view-footer> 284 <view-footer></view-footer>
266 </template> 285 </template>
267 </polymer-element> 286 </polymer-element>
268 287
269 <script type="application/dart" src="class_view.dart"></script> 288 <script type="application/dart" src="class_view.dart"></script>
OLDNEW
« no previous file with comments | « runtime/observatory/lib/src/elements/class_tree.dart ('k') | runtime/observatory/lib/src/elements/instance_view.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698