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

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

Issue 886353006: Port metrics to RPC (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 10 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="nav_bar.html"> 2 <link rel="import" href="nav_bar.html">
3 <link rel="import" href="observatory_element.html"> 3 <link rel="import" href="observatory_element.html">
4 4
5 <polymer-element name="metrics-page" extends="observatory-element"> 5 <polymer-element name="metrics-page" extends="observatory-element">
6 <template> 6 <template>
7 <link rel="stylesheet" href="css/shared.css"> 7 <link rel="stylesheet" href="css/shared.css">
8 <style> 8 <style>
9 ul li:hover:not(.selected) { 9 ul li:hover:not(.selected) {
10 background-color: #FFF3E3; 10 background-color: #FFF3E3;
(...skipping 18 matching lines...) Expand all
29 <li class="selected"> 29 <li class="selected">
30 {{ metric.name }} 30 {{ metric.name }}
31 </li> 31 </li>
32 </template> 32 </template>
33 <template if="{{ metric != selectedMetric }}"> 33 <template if="{{ metric != selectedMetric }}">
34 <li on-click="{{ selectMetric }}" data-id="{{ metric.id }}"> 34 <li on-click="{{ selectMetric }}" data-id="{{ metric.id }}">
35 {{ metric.name }} 35 {{ metric.name }}
36 </li> 36 </li>
37 </template> 37 </template>
38 </template> 38 </template>
39 <template repeat="{{ metric in isolate.vmMetrics.values }}"> 39 <template repeat="{{ metric in isolate.nativeMetrics.values }}">
40 <template if="{{ metric == selectedMetric }}"> 40 <template if="{{ metric == selectedMetric }}">
41 <li class="selected"> 41 <li class="selected">
42 {{ metric.name }} 42 {{ metric.name }}
43 </li> 43 </li>
44 </template> 44 </template>
45 <template if="{{ metric != selectedMetric }}"> 45 <template if="{{ metric != selectedMetric }}">
46 <li on-click="{{ selectMetric }}" data-id="{{ metric.id }}"> 46 <li on-click="{{ selectMetric }}" data-id="{{ metric.id }}">
47 {{ metric.name }} 47 {{ metric.name }}
48 </li> 48 </li>
49 </template> 49 </template>
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 .graph { 128 .graph {
129 min-height: 600px; 129 min-height: 600px;
130 } 130 }
131 </style> 131 </style>
132 <div id="graph" class="graph"> 132 <div id="graph" class="graph">
133 </div> 133 </div>
134 </template> 134 </template>
135 </polymer-element> 135 </polymer-element>
136 136
137 <script type="application/dart" src="metrics.dart"></script> 137 <script type="application/dart" src="metrics.dart"></script>
OLDNEW
« no previous file with comments | « runtime/observatory/lib/src/elements/metrics.dart ('k') | runtime/observatory/lib/src/service/object.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698