OLD | NEW |
1 <link rel="import" href="../../../../packages/polymer/polymer.html"> | 1 <link rel="import" href="../../../../packages/polymer/polymer.html"> |
2 <link rel="import" href="class_view.html"> | 2 <link rel="import" href="class_view.html"> |
3 <link rel="import" href="code_view.html"> | 3 <link rel="import" href="code_view.html"> |
4 <link rel="import" href="context_view.html"> | 4 <link rel="import" href="context_view.html"> |
5 <link rel="import" href="cpu_profile.html"> | 5 <link rel="import" href="cpu_profile.html"> |
6 <link rel="import" href="error_view.html"> | 6 <link rel="import" href="error_view.html"> |
7 <link rel="import" href="field_view.html"> | 7 <link rel="import" href="field_view.html"> |
8 <link rel="import" href="function_view.html"> | 8 <link rel="import" href="function_view.html"> |
9 <link rel="import" href="heap_map.html"> | 9 <link rel="import" href="heap_map.html"> |
10 <link rel="import" href="heap_profile.html"> | 10 <link rel="import" href="heap_profile.html"> |
11 <link rel="import" href="instance_view.html"> | 11 <link rel="import" href="instance_view.html"> |
12 <link rel="import" href="library_view.html"> | 12 <link rel="import" href="library_view.html"> |
13 <link rel="import" href="heap_snapshot.html"> | 13 <link rel="import" href="heap_snapshot.html"> |
14 <link rel="import" href="observatory_element.html"> | 14 |
15 <link rel="import" href="script_view.html"> | 15 <link rel="import" href="script_view.html"> |
16 <link rel="import" href="vm_view.html"> | 16 <link rel="import" href="vm_view.html"> |
17 <polymer-element name="service-view" extends="observatory-element"> | 17 <polymer-element name="service-view"> |
18 <!-- This element explicitly manages the child elements to avoid setting | 18 <!-- This element explicitly manages the child elements to avoid setting |
19 an observable property on the old element to an invalid type. --> | 19 an observable property on the old element to an invalid type. --> |
20 </polymer-element> | 20 </polymer-element> |
21 | 21 |
22 <polymer-element name="trace-view" extends="observatory-element"> | 22 <polymer-element name="trace-view"> |
23 <template> | 23 <template> |
24 <link rel="stylesheet" href="css/shared.css"> | 24 <link rel="stylesheet" href="css/shared.css"> |
25 | 25 |
26 <template if="{{ tracer != null }}"> | 26 <template if="{{ tracer != null }}"> |
27 <div class="memberList"> | 27 <div class="memberList"> |
28 <template repeat="{{ event in tracer.events }}"> | 28 <template repeat="{{ event in tracer.events }}"> |
29 <div class="memberItem"> | 29 <div class="memberItem"> |
30 <div class="memberSmall"> | 30 <div class="memberSmall"> |
31 {{ event.timeStamp }} | 31 {{ event.timeStamp }} |
32 </div> | 32 </div> |
33 <div class="memberSmall"> | 33 <div class="memberSmall"> |
34 {{ event.message }} | 34 {{ event.message }} |
35 <template if="{{ event.map != null }}"> | 35 <template if="{{ event.map != null }}"> |
36 <br> | 36 <br> |
37 <map-viewer map="{{ event.map }}"></map-viewer> | 37 <map-viewer map="{{ event.map }}"></map-viewer> |
38 </template> | 38 </template> |
39 </div> | 39 </div> |
40 </div> | 40 </div> |
41 </template> | 41 </template> |
42 </div> | 42 </div> |
43 <br> | 43 <br> |
44 <br> | 44 <br> |
45 <br> | 45 <br> |
46 </template> | 46 </template> |
47 </template> | 47 </template> |
48 </polymer-element> | 48 </polymer-element> |
49 | 49 |
50 <polymer-element name="map-viewer" extends="observatory-element"> | 50 <polymer-element name="map-viewer"> |
51 <template> | 51 <template> |
52 <link rel="stylesheet" href="css/shared.css"> | 52 <link rel="stylesheet" href="css/shared.css"> |
53 | 53 |
54 <template if="{{ map.length > 0 }}"> | 54 <template if="{{ map.length > 0 }}"> |
55 <curly-block callback="{{ expander() }}"> | 55 <curly-block callback="{{ expander() }}"> |
56 <template if="{{ expand }}"> | 56 <template if="{{ expand }}"> |
57 <div class="memberList"> | 57 <div class="memberList"> |
58 <template repeat="{{ key in map.keys }}"> | 58 <template repeat="{{ key in map.keys }}"> |
59 <div class="memberItem"> | 59 <div class="memberItem"> |
60 <div class="memberSmall">{{ key }}</div> | 60 <div class="memberSmall">{{ key }}</div> |
(...skipping 11 matching lines...) Expand all Loading... |
72 </div> | 72 </div> |
73 </div> | 73 </div> |
74 </template> | 74 </template> |
75 </div> | 75 </div> |
76 </template> | 76 </template> |
77 </curly-block> | 77 </curly-block> |
78 </template> | 78 </template> |
79 </template> | 79 </template> |
80 </polymer-element> | 80 </polymer-element> |
81 | 81 |
82 <polymer-element name="list-viewer" extends="observatory-element"> | 82 <polymer-element name="list-viewer"> |
83 <template> | 83 <template> |
84 <link rel="stylesheet" href="css/shared.css"> | 84 <link rel="stylesheet" href="css/shared.css"> |
85 | 85 |
86 <template if="{{ list.length > 0 }}"> | 86 <template if="{{ list.length > 0 }}"> |
87 <curly-block callback="{{ expander() }}"> | 87 <curly-block callback="{{ expander() }}"> |
88 <template if="{{ expand }}"> | 88 <template if="{{ expand }}"> |
89 <div class="memberList"> | 89 <div class="memberList"> |
90 <template repeat="{{ element in list }}"> | 90 <template repeat="{{ element in list }}"> |
91 <div class="memberItem"> | 91 <div class="memberItem"> |
92 <div class="memberSmall"> | 92 <div class="memberSmall"> |
(...skipping 10 matching lines...) Expand all Loading... |
103 </div> | 103 </div> |
104 </template> | 104 </template> |
105 </div> | 105 </div> |
106 </template> | 106 </template> |
107 </curly-block> | 107 </curly-block> |
108 </template> | 108 </template> |
109 </template> | 109 </template> |
110 </polymer-element> | 110 </polymer-element> |
111 | 111 |
112 <script type="application/dart" src="service_view.dart"></script> | 112 <script type="application/dart" src="service_view.dart"></script> |
OLD | NEW |