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 24 matching lines...) Expand all Loading... |
35 display: block; | 35 display: block; |
36 } | 36 } |
37 | 37 |
38 tr:hover > td { | 38 tr:hover > td { |
39 background-color: #F4C7C3; | 39 background-color: #F4C7C3; |
40 } | 40 } |
41 | 41 |
42 </style> | 42 </style> |
43 <nav-bar> | 43 <nav-bar> |
44 <top-nav-menu></top-nav-menu> | 44 <top-nav-menu></top-nav-menu> |
| 45 <vm-nav-menu vm="{{ code.isolate.vm }}"></vm-nav-menu> |
45 <isolate-nav-menu isolate="{{ code.isolate }}"></isolate-nav-menu> | 46 <isolate-nav-menu isolate="{{ code.isolate }}"></isolate-nav-menu> |
46 <nav-menu link="{{ makeLink('/inspect', code) }}" anchor="{{ code.name }}"
last="{{ true }}"></nav-menu> | 47 <nav-menu link="{{ makeLink('/inspect', code) }}" anchor="{{ code.name }}"
last="{{ true }}"></nav-menu> |
47 <nav-refresh callback="{{ refresh }}"></nav-refresh> | 48 <nav-refresh callback="{{ refresh }}"></nav-refresh> |
48 <nav-refresh callback="{{ refreshTicks }}" label="Refresh Ticks"></nav-ref
resh> | 49 <nav-refresh callback="{{ refreshTicks }}" label="Refresh Ticks"></nav-ref
resh> |
49 </nav-bar> | 50 </nav-bar> |
50 <div class="content"> | 51 <div class="content"> |
51 <template if="{{ code.isDartCode && code.isOptimized }}"> | 52 <template if="{{ code.isDartCode && code.isOptimized }}"> |
52 <h1>Optimized code for {{ code.name }}</h1> | 53 <h1>Optimized code for {{ code.name }}</h1> |
53 </template> | 54 </template> |
54 <template if="{{ !(code.isDartCode && code.isOptimized) }}"> | 55 <template if="{{ !(code.isDartCode && code.isOptimized) }}"> |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 </tr> | 131 </tr> |
131 </thead> | 132 </thead> |
132 <tbody class="monospace" id="disassemblyTableBody"> | 133 <tbody class="monospace" id="disassemblyTableBody"> |
133 </tbody> | 134 </tbody> |
134 </table> | 135 </table> |
135 <view-footer></view-footer> | 136 <view-footer></view-footer> |
136 </template> | 137 </template> |
137 </polymer-element> | 138 </polymer-element> |
138 | 139 |
139 <script type="application/dart" src="code_view.dart"></script> | 140 <script type="application/dart" src="code_view.dart"></script> |
OLD | NEW |