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

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

Issue 2773073003: Revert "Added page to Observatory to display native memory allocation information." (Closed)
Patch Set: Created 3 years, 9 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 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 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 new SpanElement()..text = 'see ', 223 new SpanElement()..text = 'see ',
224 new AnchorElement(href: Uris.flags())..text = 'flags' 224 new AnchorElement(href: Uris.flags())..text = 'flags'
225 ], 225 ],
226 new DivElement() 226 new DivElement()
227 ..classes = ['memberValue'] 227 ..classes = ['memberValue']
228 ..children = [ 228 ..children = [
229 new SpanElement()..text = 'view ', 229 new SpanElement()..text = 'view ',
230 new AnchorElement(href: Uris.timeline()) 230 new AnchorElement(href: Uris.timeline())
231 ..text = 'timeline' 231 ..text = 'timeline'
232 ] 232 ]
233 ],
234 new DivElement()
235 ..classes = ['memberItem']
236 ..children = [
237 new DivElement()
238 ..classes = ['memberName']
239 ..children = [
240 new SpanElement()..text = 'view ',
241 new AnchorElement(href: Uris.nativeMemory())
242 ..text = 'native memory profile'
243 ]
244 ] 233 ]
245 ], 234 ],
246 new BRElement(), 235 new BRElement(),
247 new HeadingElement.h1()..text = 'Isolates (${isolates.length})', 236 new HeadingElement.h1()..text = 'Isolates (${isolates.length})',
248 new HRElement(), 237 new HRElement(),
249 new UListElement() 238 new UListElement()
250 ..classes = ['list-group'] 239 ..classes = ['list-group']
251 ..children = isolates 240 ..children = isolates
252 .expand((i) => [ 241 .expand((i) => [
253 new LIElement() 242 new LIElement()
254 ..classes = ['list-group-item'] 243 ..classes = ['list-group-item']
255 ..children = [ 244 ..children = [
256 new IsolateSummaryElement( 245 new IsolateSummaryElement(
257 i, _isolates, _events, _scripts, 246 i, _isolates, _events, _scripts,
258 queue: _r.queue) 247 queue: _r.queue)
259 ], 248 ],
260 new HRElement() 249 new HRElement()
261 ]) 250 ])
262 .toList(), 251 .toList(),
263 new ViewFooterElement(queue: _r.queue) 252 new ViewFooterElement(queue: _r.queue)
264 ] 253 ]
265 ]; 254 ];
266 } 255 }
267 } 256 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698