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

Side by Side Diff: runtime/bin/vmservice/client/lib/src/observatory_elements/function_view.html

Issue 184233007: Refactor Observatory (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 <head>
2 <link rel="import" href="class_ref.html">
3 <link rel="import" href="code_ref.html">
4 <link rel="import" href="nav_bar.html">
5 <link rel="import" href="observatory_element.html">
6 </head>
7 <polymer-element name="function-view" extends="observatory-element">
8 <template>
9 <nav-bar>
10 <top-nav-menu></top-nav-menu>
11 <isolate-nav-menu app="{{ app }}" isolate="{{ app.locationManager.currentI solate() }}">
12 </isolate-nav-menu>
13 <template if="{{ function['owner']['type'] == '@Class' }}">
14 <!-- TODO(turnidge): Add library nav menu here. -->
15 <class-nav-menu app="{{ app }}" cls="{{ function['owner'] }}"></class-na v-menu>
16 </template>
17 <template if="{{ function['owner']['type'] == '@Library' }}">
18 <library-nav-menu app="{{ app }}" library="{{ function['owner'] }}"></li brary-nav-menu>
19 </template>
20 <nav-menu link="." anchor="{{ function['user_name'] }}" last="{{ true }}"> </nav-menu>
21 <nav-refresh callback="{{ refresh }}"></nav-refresh>
22 </nav-bar>
23
24 <div class="row">
25 <div class="col-md-8 col-md-offset-2">
26 <div class="panel panel-warning">
27 <div class="panel-heading">
28 {{ function['user_name'] }} ({{ function['name'] }})
29 <class-ref app="{{ app }}" ref="{{ function['class'] }}"></class-ref>
30 </div>
31 <div class="panel-body">
32 <div>
33 <code-ref app="{{ app }}" ref="{{ function['code'] }}"></code-ref>
34 <code-ref app="{{ app }}" ref="{{ function['unoptimized_code'] }}"></c ode-ref>
35 </div>
36 <table class="table table-hover">
37 <tbody>
38 <tr>
39 <td>static</td><td>{{ function['is_static'] }}</td>
40 </tr>
41 <tr>
42 <td>Const</td><td>{{ function['is_const'] }}</td>
43 </tr>
44 <tr>
45 <td>Optimizable</td><td>{{ function['is_optimizable'] }}</td>
46 </tr>
47 <tr>
48 <td>Inlinable</td><td>{{ function['is_inlinable'] }}</td>
49 </tr>
50 <tr>
51 <td>Kind</td><td>{{ function['kind'] }}</td>
52 </tr>
53 <tr>
54 <td>Usage Count</td><td>{{ function['usage_counter'] }}</td>
55 </tr>
56 <tr>
57 <td>Optimized Call Site Count</td><td>{{ function['optimized_cal l_site_count'] }}</td>
58 </tr>
59 <tr>
60 <td>Deoptimizations</td><td>{{ function['deoptimizations'] }}</t d>
61 </tr>
62 </tbody>
63 </table>
64 </div>
65 </div>
66 </div>
67 </div>
68 </template>
69 <script type="application/dart" src="function_view.dart"></script>
70 </polymer-element>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698