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

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

Issue 1090293003: Kill service_test.cc tests in favor of dart tests for the service protocol. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: fix tests Created 5 years, 8 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="class_ref.html"> 2 <link rel="import" href="class_ref.html">
3 <link rel="import" href="error_view.html"> 3 <link rel="import" href="error_view.html">
4 <link rel="import" href="field_ref.html"> 4 <link rel="import" href="field_ref.html">
5 <link rel="import" href="function_ref.html"> 5 <link rel="import" href="function_ref.html">
6 <link rel="import" href="inbound_reference.html"> 6 <link rel="import" href="inbound_reference.html">
7 <link rel="import" href="instance_ref.html"> 7 <link rel="import" href="instance_ref.html">
8 <link rel="import" href="observatory_element.html"> 8 <link rel="import" href="observatory_element.html">
9 <link rel="import" href="nav_bar.html"> 9 <link rel="import" href="nav_bar.html">
10 <link rel="import" href="eval_link.html"> 10 <link rel="import" href="eval_link.html">
11 11
12 <polymer-element name="object-common" extends="observatory-element"> 12 <polymer-element name="object-common" extends="observatory-element">
13 <template> 13 <template>
14 <link rel="stylesheet" href="css/shared.css"> 14 <link rel="stylesheet" href="css/shared.css">
15 <div class="memberList"> 15 <div class="memberList">
16 16
17 <div class="memberItem"> 17 <div class="memberItem">
18 <div class="memberName">class</div> 18 <div class="memberName">class</div>
19 <div class="memberValue"> 19 <div class="memberValue">
20 <class-ref ref="{{ object.clazz }}"></class-ref> 20 <class-ref ref="{{ object.clazz }}"></class-ref>
21 </div> 21 </div>
22 </div> 22 </div>
23 23
24 <template if="{{ object.size != null }}"> 24 <div class="memberItem" title="Space for this object in memory">
25 <div class="memberItem" title="Space for this object in memory"> 25 <div class="memberName">size</div>
26 <div class="memberName">size</div> 26 <div class="memberValue">{{ object.size | formatSize }}</div>
27 <div class="memberValue">{{ object.size | formatSize }}</div> 27 </div>
28 </div>
29 </template>
30
31 <template if="{{ object.size == null }}">
32 <div class="memberItem" title="Space for this object in memory">
33 <div class="memberName">size</div>
34 <div class="memberValue">0</div>
35 </div>
36 </template>
37 28
38 <div class="memberItem" title="Space that would be reclaimed if references to this object were replaced with null"> 29 <div class="memberItem" title="Space that would be reclaimed if references to this object were replaced with null">
39 <div class="memberName">retained size</div> 30 <div class="memberName">retained size</div>
40 <div class="memberValue"> 31 <div class="memberValue">
41 <template if="{{ retainedBytes == null }}"> 32 <template if="{{ retainedBytes == null }}">
42 <eval-link callback="{{ retainedSize }}" 33 <eval-link callback="{{ retainedSize }}"
43 label="[calculate]"> 34 label="[calculate]">
44 </eval-link> 35 </eval-link>
45 </template> 36 </template>
46 <template if="{{ retainedBytes != null }}"> 37 <template if="{{ retainedBytes != null }}">
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 </template> 91 </template>
101 </template> 92 </template>
102 </div> 93 </div>
103 </div> 94 </div>
104 95
105 </div> 96 </div>
106 </template> 97 </template>
107 </polymer-element> 98 </polymer-element>
108 99
109 <script type="application/dart" src="object_common.dart"></script> 100 <script type="application/dart" src="object_common.dart"></script>
OLDNEW
« no previous file with comments | « runtime/observatory/lib/src/elements/heap_profile.dart ('k') | runtime/observatory/lib/src/elements/object_view.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698