OLD | NEW |
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 library vm_view_element; | 5 library vm_view_element; |
6 | 6 |
7 import 'dart:async'; | 7 import 'dart:async'; |
8 import 'dart:html'; | 8 import 'dart:html'; |
9 import 'package:observatory/models.dart' as M; | 9 import 'package:observatory/models.dart' as M; |
10 import 'package:observatory/src/elements/helpers/nav_bar.dart'; | 10 import 'package:observatory/src/elements/helpers/nav_bar.dart'; |
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
206 new DivElement() | 206 new DivElement() |
207 ..classes = ['memberItem'] | 207 ..classes = ['memberItem'] |
208 ..children = [ | 208 ..children = [ |
209 new DivElement() | 209 new DivElement() |
210 ..classes = ['memberName'] | 210 ..classes = ['memberName'] |
211 ..text = 'native heap allocation count', | 211 ..text = 'native heap allocation count', |
212 new DivElement() | 212 new DivElement() |
213 ..classes = ['memberValue'] | 213 ..classes = ['memberValue'] |
214 ..text = '${_vm.heapAllocationCount}' | 214 ..text = '${_vm.heapAllocationCount}' |
215 ], | 215 ], |
| 216 |
216 new BRElement(), | 217 new BRElement(), |
217 new DivElement() | 218 new DivElement() |
218 ..classes = ['memberItem'] | 219 ..classes = ['memberItem'] |
219 ..children = [ | 220 ..children = [ |
220 new DivElement() | 221 new DivElement() |
221 ..classes = ['memberName'] | 222 ..classes = ['memberName'] |
222 ..children = [ | 223 ..children = [ |
223 new SpanElement()..text = 'see ', | 224 new SpanElement()..text = 'see ', |
224 new AnchorElement(href: Uris.flags())..text = 'flags' | 225 new AnchorElement(href: Uris.flags())..text = 'flags' |
225 ], | 226 ], |
(...skipping 21 matching lines...) Expand all Loading... |
247 queue: _r.queue) | 248 queue: _r.queue) |
248 ], | 249 ], |
249 new HRElement() | 250 new HRElement() |
250 ]) | 251 ]) |
251 .toList(), | 252 .toList(), |
252 new ViewFooterElement(queue: _r.queue) | 253 new ViewFooterElement(queue: _r.queue) |
253 ] | 254 ] |
254 ]; | 255 ]; |
255 } | 256 } |
256 } | 257 } |
OLD | NEW |