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="function_ref.html"> | 2 <link rel="import" href="function_ref.html"> |
3 <link rel="import" href="instance_ref.html"> | 3 <link rel="import" href="instance_ref.html"> |
4 <link rel="import" href="observatory_element.html"> | 4 <link rel="import" href="observatory_element.html"> |
5 <link rel="import" href="nav_bar.html"> | 5 <link rel="import" href="nav_bar.html"> |
6 <link rel="import" href="script_ref.html"> | 6 <link rel="import" href="script_ref.html"> |
7 <link rel="import" href="view_footer.html"> | 7 <link rel="import" href="view_footer.html"> |
8 | 8 |
9 <polymer-element name="code-view" extends="observatory-element"> | 9 <polymer-element name="code-view" extends="observatory-element"> |
10 <template> | 10 <template> |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 <nav-refresh callback="{{ refresh }}"></nav-refresh> | 48 <nav-refresh callback="{{ refresh }}"></nav-refresh> |
49 <nav-refresh callback="{{ refreshTicks }}" label="Refresh Ticks"></nav-ref
resh> | 49 <nav-refresh callback="{{ refreshTicks }}" label="Refresh Ticks"></nav-ref
resh> |
50 </nav-bar> | 50 </nav-bar> |
51 <div class="content"> | 51 <div class="content"> |
52 <template if="{{ code.isDartCode && code.isOptimized }}"> | 52 <template if="{{ code.isDartCode && code.isOptimized }}"> |
53 <h1>Optimized code for {{ code.name }}</h1> | 53 <h1>Optimized code for {{ code.name }}</h1> |
54 </template> | 54 </template> |
55 <template if="{{ !(code.isDartCode && code.isOptimized) }}"> | 55 <template if="{{ !(code.isDartCode && code.isOptimized) }}"> |
56 <h1>Code for {{ code.name }}</h1> | 56 <h1>Code for {{ code.name }}</h1> |
57 </template> | 57 </template> |
| 58 <object-common object="{{ code }}"></object-common> |
| 59 |
| 60 <br><br> |
| 61 |
58 <div class="memberList"> | 62 <div class="memberList"> |
59 <div class="memberItem"> | 63 <div class="memberItem"> |
60 <div class="memberName">Kind</div> | 64 <div class="memberName">Kind</div> |
61 <div class="memberValue">{{ code.kind.toString() }}</div> | 65 <div class="memberValue">{{ code.kind.toString() }}</div> |
62 </div> | 66 </div> |
63 <template if="{{ code.isDartCode }}"> | 67 <template if="{{ code.isDartCode }}"> |
64 <div class="memberItem"> | 68 <div class="memberItem"> |
65 <div class="memberName">Optimized</div> | 69 <div class="memberName">Optimized</div> |
66 <div class="memberValue">{{ code.isOptimized }}</div> | 70 <div class="memberValue">{{ code.isOptimized }}</div> |
67 </div> | 71 </div> |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 </div> | 104 </div> |
101 </div> | 105 </div> |
102 </template> | 106 </template> |
103 </div> | 107 </div> |
104 </curly-block> | 108 </curly-block> |
105 </div> | 109 </div> |
106 </div> | 110 </div> |
107 </template> | 111 </template> |
108 </div> | 112 </div> |
109 </div> | 113 </div> |
110 <hr> | 114 <div class="content-centered-big"> |
111 <table id="inlineRangeTable" class="table"> | 115 <hr> |
112 <thead id="inlineRangeTableHead"> | 116 <table id="inlineRangeTable" class="table"> |
113 <tr> | 117 <thead id="inlineRangeTableHead"> |
114 <th class="address" title="Address range">Address Range</th> | 118 <tr> |
115 <th class="tick" title="Inclusive">Inclusive</th> | 119 <th class="address" title="Address range">Address Range</th> |
116 <th class="tick" title="Exclusive">Exclusive</th> | 120 <th class="tick" title="Inclusive">Inclusive</th> |
117 <th title="Functions">Functions</th> | 121 <th class="tick" title="Exclusive">Exclusive</th> |
118 </tr> | 122 <th title="Functions">Functions</th> |
119 </thead> | 123 </tr> |
120 <tbody class="monospace" id="inlineRangeTableBody"> | 124 </thead> |
121 </tbody> | 125 <tbody class="monospace" id="inlineRangeTableBody"> |
122 </table> | 126 </tbody> |
123 <hr> | 127 </table> |
124 <table id="disassemblyTable" class="table"> | 128 <hr> |
125 <thead id="disassemblyTableHead"> | 129 <table id="disassemblyTable" class="table"> |
126 <tr> | 130 <thead id="disassemblyTableHead"> |
127 <th class="address" title="Address">Address</th> | 131 <tr> |
128 <th class="tick" title="Inclusive">Inclusive</th> | 132 <th class="address" title="Address">Address</th> |
129 <th class="tick" title="Exclusive">Exclusive</th> | 133 <th class="tick" title="Inclusive">Inclusive</th> |
130 <th class="disassembly" title="Disassembly">Disassembly</th> | 134 <th class="tick" title="Exclusive">Exclusive</th> |
131 </tr> | 135 <th class="disassembly" title="Disassembly">Disassembly</th> |
132 </thead> | 136 </tr> |
133 <tbody class="monospace" id="disassemblyTableBody"> | 137 </thead> |
134 </tbody> | 138 <tbody class="monospace" id="disassemblyTableBody"> |
135 </table> | 139 </tbody> |
| 140 </table> |
| 141 </div> |
136 <view-footer></view-footer> | 142 <view-footer></view-footer> |
137 </template> | 143 </template> |
138 </polymer-element> | 144 </polymer-element> |
139 | 145 |
140 <script type="application/dart" src="code_view.dart"></script> | 146 <script type="application/dart" src="code_view.dart"></script> |
OLD | NEW |