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

Side by Side Diff: runtime/observatory/lib/src/elements/megamorphiccache_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) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, 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 megamorphiccache_view; 5 library megamorphiccache_view;
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/context_ref.dart'; 10 import 'package:observatory/src/elements/context_ref.dart';
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 new NavIsolateMenuElement(_isolate, _events, queue: _r.queue), 124 new NavIsolateMenuElement(_isolate, _events, queue: _r.queue),
125 new NavMenuElement('object', last: true, queue: _r.queue), 125 new NavMenuElement('object', last: true, queue: _r.queue),
126 new NavRefreshElement(queue: _r.queue) 126 new NavRefreshElement(queue: _r.queue)
127 ..onRefresh.listen((e) async { 127 ..onRefresh.listen((e) async {
128 e.element.disabled = true; 128 e.element.disabled = true;
129 _cache = await _caches.get(_isolate, _cache.id); 129 _cache = await _caches.get(_isolate, _cache.id);
130 _r.dirty(); 130 _r.dirty();
131 }), 131 }),
132 new NavNotifyElement(_notifications, queue: _r.queue) 132 new NavNotifyElement(_notifications, queue: _r.queue)
133 ], 133 ],
134 new DivElement()..classes = const ['content-centered-big'] 134 new DivElement()..classes = ['content-centered-big']
135 ..children = [ 135 ..children = [
136 new HeadingElement.h2()..text = 'Megamorphic Cache', 136 new HeadingElement.h2()..text = 'Megamorphic Cache',
137 new HRElement(), 137 new HRElement(),
138 new ObjectCommonElement(_isolate, _cache, _retainedSizes, 138 new ObjectCommonElement(_isolate, _cache, _retainedSizes,
139 _reachableSizes, _references, _retainingPaths, 139 _reachableSizes, _references, _retainingPaths,
140 _instances, queue: _r.queue), 140 _instances, queue: _r.queue),
141 new BRElement(), 141 new BRElement(),
142 new DivElement()..classes = ['memberList'] 142 new DivElement()..classes = ['memberList']
143 ..children = [ 143 ..children = [
144 new DivElement()..classes = ['memberItem'] 144 new DivElement()..classes = ['memberItem']
(...skipping 30 matching lines...) Expand all
175 queue: _r.queue) 175 queue: _r.queue)
176 ] 176 ]
177 ] 177 ]
178 ], 178 ],
179 new HRElement(), 179 new HRElement(),
180 new ViewFooterElement(queue: _r.queue) 180 new ViewFooterElement(queue: _r.queue)
181 ] 181 ]
182 ]; 182 ];
183 } 183 }
184 } 184 }
OLDNEW
« no previous file with comments | « runtime/observatory/lib/src/elements/library_view.dart ('k') | runtime/observatory/lib/src/elements/object_common.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698