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 | |
217 new BRElement(), | 216 new BRElement(), |
218 new DivElement() | 217 new DivElement() |
219 ..classes = ['memberItem'] | 218 ..classes = ['memberItem'] |
220 ..children = [ | 219 ..children = [ |
221 new DivElement() | 220 new DivElement() |
222 ..classes = ['memberName'] | 221 ..classes = ['memberName'] |
223 ..children = [ | 222 ..children = [ |
224 new SpanElement()..text = 'see ', | 223 new SpanElement()..text = 'see ', |
225 new AnchorElement(href: Uris.flags())..text = 'flags' | 224 new AnchorElement(href: Uris.flags())..text = 'flags' |
226 ], | 225 ], |
(...skipping 21 matching lines...) Expand all Loading... |
248 queue: _r.queue) | 247 queue: _r.queue) |
249 ], | 248 ], |
250 new HRElement() | 249 new HRElement() |
251 ]) | 250 ]) |
252 .toList(), | 251 .toList(), |
253 new ViewFooterElement(queue: _r.queue) | 252 new ViewFooterElement(queue: _r.queue) |
254 ] | 253 ] |
255 ]; | 254 ]; |
256 } | 255 } |
257 } | 256 } |
OLD | NEW |