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

Side by Side Diff: runtime/observatory/lib/src/elements/object_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/context_ref.dart'; 8 import 'package:observatory/src/elements/context_ref.dart';
9 import 'package:observatory/src/elements/curly_block.dart'; 9 import 'package:observatory/src/elements/curly_block.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 NavIsolateMenuElement(_isolate, _events, queue: _r.queue), 118 new NavIsolateMenuElement(_isolate, _events, queue: _r.queue),
119 new NavMenuElement('object', last: true, queue: _r.queue), 119 new NavMenuElement('object', last: true, queue: _r.queue),
120 new NavRefreshElement(queue: _r.queue) 120 new NavRefreshElement(queue: _r.queue)
121 ..onRefresh.listen((e) async { 121 ..onRefresh.listen((e) async {
122 e.element.disabled = true; 122 e.element.disabled = true;
123 _object = await _objects.get(_isolate, _object.id); 123 _object = await _objects.get(_isolate, _object.id);
124 _r.dirty(); 124 _r.dirty();
125 }), 125 }),
126 new NavNotifyElement(_notifications, queue: _r.queue) 126 new NavNotifyElement(_notifications, queue: _r.queue)
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 = 'Object', 130 new HeadingElement.h2()..text = 'Object',
131 new HRElement(), 131 new HRElement(),
132 new ObjectCommonElement(_isolate, _object, _retainedSizes, 132 new ObjectCommonElement(_isolate, _object, _retainedSizes,
133 _reachableSizes, _references, _retainingPaths, 133 _reachableSizes, _references, _retainingPaths,
134 _instances, queue: _r.queue), 134 _instances, queue: _r.queue),
135 new HRElement(), 135 new HRElement(),
136 new ViewFooterElement(queue: _r.queue) 136 new ViewFooterElement(queue: _r.queue)
137 ] 137 ]
138 ]; 138 ];
139 } 139 }
140 } 140 }
OLDNEW
« no previous file with comments | « runtime/observatory/lib/src/elements/object_common.dart ('k') | runtime/observatory/lib/src/elements/objectpool_view.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698