Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(443)

Side by Side Diff: runtime/observatory/lib/src/elements/icdata_view.dart

Issue 2298563002: Removed const from classes arrays in Observatory (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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 }
OLDNEW
« no previous file with comments | « runtime/observatory/lib/src/elements/heap_snapshot.dart ('k') | runtime/observatory/lib/src/elements/inbound_references.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698