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

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

Issue 839543002: Revert "Build Observatory with runtime" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 11 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
(Empty)
1 <link rel="import" href="../../../../packages/polymer/polymer.html">
2 <link rel="import" href="class_ref.html">
3 <link rel="import" href="code_ref.html">
4 <link rel="import" href="function_ref.html">
5 <link rel="import" href="library_ref.html">
6 <link rel="import" href="observatory_element.html">
7 <link rel="import" href="nav_bar.html">
8 <link rel="import" href="script_inset.html">
9 <link rel="import" href="script_ref.html">
10
11 <polymer-element name="function-view" extends="observatory-element">
12 <template>
13 <link rel="stylesheet" href="css/shared.css">
14 <nav-bar>
15 <top-nav-menu></top-nav-menu>
16 <isolate-nav-menu isolate="{{ function.isolate }}"></isolate-nav-menu>
17 <template if="{{ function.owningClass != null }}">
18 <!-- TODO(turnidge): Add library nav menu here. -->
19 <class-nav-menu cls="{{ function.owningClass }}"></class-nav-menu>
20 </template>
21 <template if="{{ function.owningLibrary != null }}">
22 <library-nav-menu library="{{ function.owningLibrary }}"></library-nav-m enu>
23 </template>
24 <nav-menu link="{{ function.link }}" anchor="{{ function.name }}" last="{{ true }}"></nav-menu>
25 <nav-refresh callback="{{ refreshCoverage }}" label="Refresh Coverage"></n av-refresh>
26 <nav-refresh callback="{{ refresh }}"></nav-refresh>
27 <nav-control></nav-control>
28 </nav-bar>
29
30 <div class="content">
31 <h1>function {{ function.qualifiedName }}</h1>
32
33 <div class="memberList">
34 <div class="memberItem">
35 <div class="memberName">kind</div>
36 <div class="memberValue">
37 <template if="{{ function.isStatic }}">static</template>
38 <template if="{{ function.isConst }}">const</template>
39 {{ function.kind.toString() }}
40 </div>
41 </div>
42 <template if="{{ function.parent != null }}">
43 <div class="memberItem">
44 <div class="memberName">parent function</div>
45 <div class="memberValue">
46 <function-ref ref="{{ function.parent }}"></function-ref>
47 </div>
48 </div>
49 </template>
50 <div class="memberItem">
51 <div class="memberName">owner</div>
52 <div class="memberValue">
53 <template if="{{ function.owningClass != null }}">
54 <class-ref ref="{{ function.owningClass }}"></class-ref>
55 </template>
56 <template if="{{ function.owningLibrary != null }}">
57 <library-ref ref="{{ function.owningLibrary }}"></library-ref>
58 </template>
59 </div>
60 </div>
61 <div class="memberItem">
62 <div class="memberName">script</div>
63 <div class="memberValue">
64 <script-ref ref="{{ function.script }}"
65 pos="{{ function.tokenPos }}">
66 </script-ref>
67 </div>
68 </div>
69
70 <div class="memberItem">&nbsp;</div>
71
72 <template if="{{ function.code != null }}">
73 <div class="memberItem">
74 <div class="memberName">optimized code</div>
75 <div class="memberValue">
76 <code-ref ref="{{ function.code }}"></code-ref>
77 </div>
78 </div>
79 </template>
80 <template if="{{ function.unoptimizedCode != null }}">
81 <div class="memberItem">
82 <div class="memberName">unoptimized code</div>
83 <div class="memberValue">
84 <code-ref ref="{{ function.unoptimizedCode }}"></code-ref>
85 </div>
86 <div class="memberValue">
87 <span title="This count is used to determine when a function wil l be optimized. It is a combination of call counts and other factors.">
88 (usage count: {{ function.usageCounter }})
89 </span>
90 </div>
91 </div>
92 </template>
93 <div class="memberItem">
94 <div class="memberName">deoptimizations</div>
95 <div class="memberValue">{{ function.deoptimizations }}</div>
96 </div>
97 <div class="memberItem">
98 <div class="memberName">optimizable</div>
99 <div class="memberValue">{{ function.isOptimizable }}</div>
100 </div>
101 <div class="memberItem">
102 <div class="memberName">inlinable</div>
103 <div class="memberValue">{{ function.isInlinable }}</div>
104 </div>
105 <template if="{{ function.name != function.vmName }}">
106 <div class="memberItem">
107 <div class="memberName">vm name</div>
108 <div class="memberValue">{{ function.vmName }}</div>
109 </div>
110 </template>
111 </div>
112 </div>
113
114 <hr>
115 <script-inset script="{{ function.script }}"
116 startPos="{{ function.tokenPos }}"
117 endPos="{{ function.endTokenPos }}">
118 </script-inset>
119
120 <br>
121 </template>
122 </polymer-element>
123
124 <script type="application/dart" src="function_view.dart"></script>
OLDNEW
« no previous file with comments | « runtime/observatory/lib/src/elements/function_view.dart ('k') | runtime/observatory/lib/src/elements/heap_map.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698