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 import 'dart:async'; | 5 import 'dart:async'; |
6 import 'dart:html'; | 6 import 'dart:html'; |
7 import 'package:observatory/models.dart' as M; | 7 import 'package:observatory/models.dart' as M; |
8 import 'package:observatory/src/elements/curly_block.dart'; | 8 import 'package:observatory/src/elements/curly_block.dart'; |
9 import 'package:observatory/src/elements/helpers/any_ref.dart'; | 9 import 'package:observatory/src/elements/helpers/any_ref.dart'; |
10 import 'package:observatory/src/elements/helpers/rendering_scheduler.dart'; | 10 import 'package:observatory/src/elements/helpers/rendering_scheduler.dart'; |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 new NavMenuElement('instance', last: true, queue: _r.queue), | 118 new NavMenuElement('instance', last: true, queue: _r.queue), |
119 new NavRefreshElement(queue: _r.queue) | 119 new NavRefreshElement(queue: _r.queue) |
120 ..onRefresh.listen((e) async { | 120 ..onRefresh.listen((e) async { |
121 e.element.disabled = true; | 121 e.element.disabled = true; |
122 _icdata = await _icdatas.get(_isolate, _icdata.id); | 122 _icdata = await _icdatas.get(_isolate, _icdata.id); |
123 _r.dirty(); | 123 _r.dirty(); |
124 }), | 124 }), |
125 new NavNotifyElement(_notifications, queue: _r.queue) | 125 new NavNotifyElement(_notifications, queue: _r.queue) |
126 ], | 126 ], |
127 | 127 |
128 new DivElement()..classes = const ['content-centered-big'] | 128 new DivElement()..classes = ['content-centered-big'] |
129 ..children = [ | 129 ..children = [ |
130 new HeadingElement.h2()..text = 'ICData', | 130 new HeadingElement.h2()..text = 'ICData', |
131 new HRElement(), | 131 new HRElement(), |
132 new ObjectCommonElement(_isolate, _icdata, _retainedSizes, | 132 new ObjectCommonElement(_isolate, _icdata, _retainedSizes, |
133 _reachableSizes, _references, _retainingPaths, | 133 _reachableSizes, _references, _retainingPaths, |
134 _instances, queue: _r.queue), | 134 _instances, queue: _r.queue), |
135 new DivElement()..classes = ['memberList'] | 135 new DivElement()..classes = ['memberList'] |
136 ..children = [ | 136 ..children = [ |
137 new DivElement()..classes = ['memberItem'] | 137 new DivElement()..classes = ['memberItem'] |
138 ..children = [ | 138 ..children = [ |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
170 queue: _r.queue) | 170 queue: _r.queue) |
171 ] | 171 ] |
172 ] | 172 ] |
173 ], | 173 ], |
174 new HRElement(), | 174 new HRElement(), |
175 new ViewFooterElement(queue: _r.queue) | 175 new ViewFooterElement(queue: _r.queue) |
176 ] | 176 ] |
177 ]; | 177 ]; |
178 } | 178 } |
179 } | 179 } |
OLD | NEW |