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

Side by Side Diff: runtime/bin/vmservice/client/lib/src/elements/isolate_profile.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
1 <head> 1 <head>
2 <link rel="import" href="code_ref.html"> 2 <link rel="import" href="code_ref.html">
3 <link rel="import" href="nav_bar.html"> 3 <link rel="import" href="nav_bar.html">
4 <link rel="import" href="observatory_element.html"> 4 <link rel="import" href="observatory_element.html">
5 </head> 5 </head>
6 <polymer-element name="isolate-profile" extends="observatory-element"> 6 <polymer-element name="isolate-profile" extends="isolate-element">
7 <template> 7 <template>
8 <nav-bar> 8 <nav-bar>
9 <top-nav-menu></top-nav-menu> 9 <top-nav-menu></top-nav-menu>
10 <isolate-nav-menu app="{{ app }}" isolate="{{ app.locationManager.currentI solate() }}"> 10 <isolate-nav-menu isolate="{{ isolate }}"></isolate-nav-menu>
11 </isolate-nav-menu>
12 <nav-menu link="." anchor="cpu profile" last="{{ true }}"></nav-menu> 11 <nav-menu link="." anchor="cpu profile" last="{{ true }}"></nav-menu>
13 <nav-refresh callback="{{ refresh }}"></nav-refresh> 12 <nav-refresh callback="{{ refresh }}"></nav-refresh>
14 </nav-bar> 13 </nav-bar>
15 14
16 <div> 15 <div>
17 <span>Top</span> 16 <span>Top</span>
18 <select selectedIndex="{{methodCountSelected}}" value="{{methodCounts[meth odCountSelected]}}"> 17 <select selectedIndex="{{methodCountSelected}}" value="{{methodCounts[meth odCountSelected]}}">
19 <option template repeat="{{count in methodCounts}}">{{count}}</option> 18 <option template repeat="{{count in methodCounts}}">{{count}}</option>
20 </select> 19 </select>
21 <span>exclusive methods</span> 20 <span>exclusive methods</span>
22 </div> 21 </div>
23 <table id="tableTree" class="table table-hover"> 22 <table id="tableTree" class="table table-hover">
24 <thead> 23 <thead>
25 <tr> 24 <tr>
26 <th>Method</th> 25 <th>Method</th>
27 <th>Exclusive</th> 26 <th>Exclusive</th>
28 <th>Caller</th> 27 <th>Caller</th>
29 <th>Inclusive</th> 28 <th>Inclusive</th>
30 </tr> 29 </tr>
31 </thead> 30 </thead>
32 <tbody> 31 <tbody>
33 <tr template repeat="{{row in tree.rows }}" style="{{}}"> 32 <tr template repeat="{{row in tree.rows }}" style="{{}}">
34 <td on-click="{{toggleExpanded}}" 33 <td on-click="{{toggleExpanded}}"
35 class="{{ coloring(row) }}" 34 class="{{ coloring(row) }}"
36 style="{{ padding(row) }}"> 35 style="{{ padding(row) }}">
37 <code-ref app="{{ app }}" ref="{{ row.code.codeRef }}"></code-ref> 36 <code-ref isolate="{{ isolate }}" ref="{{ row.code.codeRef }}"></cod e-ref>
38 </td> 37 </td>
39 <td class="{{ coloring(row) }}">{{row.columns[0]}}</td> 38 <td class="{{ coloring(row) }}">{{row.columns[0]}}</td>
40 <td class="{{ coloring(row) }}">{{row.columns[1]}}</td> 39 <td class="{{ coloring(row) }}">{{row.columns[1]}}</td>
41 <td class="{{ coloring(row) }}">{{row.columns[2]}}</td> 40 <td class="{{ coloring(row) }}">{{row.columns[2]}}</td>
42 </tr> 41 </tr>
43 </tbody> 42 </tbody>
44 </table> 43 </table>
45 </template> 44 </template>
46 <script type="application/dart" src="isolate_profile.dart"></script> 45 <script type="application/dart" src="isolate_profile.dart"></script>
47 </polymer-element> 46 </polymer-element>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698