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

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

Issue 3007513002: Restile Observatory memory dashboard (Closed)
Patch Set: Created 3 years, 4 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
« no previous file with comments | « runtime/observatory/lib/src/elements/css/shared.css ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2017, 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 /// This Element is part of MemoryDashboardElement. 5 /// This Element is part of MemoryDashboardElement.
6 /// 6 ///
7 /// The Element is stripped down version of AllocationProfileElement where 7 /// The Element is stripped down version of AllocationProfileElement where
8 /// concepts like old and new space has been hidden away. 8 /// concepts like old and new space has been hidden away.
9 /// 9 ///
10 /// For each class in the system it is shown the Total number of instances 10 /// For each class in the system it is shown the Total number of instances
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 assert(current != null); 107 assert(current != null);
108 108
109 final ButtonElement bReload = new ButtonElement(); 109 final ButtonElement bReload = new ButtonElement();
110 final ButtonElement bGC = new ButtonElement(); 110 final ButtonElement bGC = new ButtonElement();
111 children = [ 111 children = [
112 new DivElement() 112 new DivElement()
113 ..classes = ['content-centered-big'] 113 ..classes = ['content-centered-big']
114 ..children = [ 114 ..children = [
115 new HeadingElement.h1() 115 new HeadingElement.h1()
116 ..children = [ 116 ..children = [
117 new Text("Isolate ${_isolate.name}"), 117 new Text(_isolate.name),
118 bReload 118 bReload
119 ..classes = ['header_button'] 119 ..classes = ['header_button']
120 ..text = ' ↺ Refresh' 120 ..text = ' ↺ Refresh'
121 ..title = 'Refresh' 121 ..title = 'Refresh'
122 ..onClick.listen((e) async { 122 ..onClick.listen((e) async {
123 bReload.disabled = true; 123 bReload.disabled = true;
124 bGC.disabled = true; 124 bGC.disabled = true;
125 await reload(); 125 await reload();
126 bReload.disabled = false; 126 bReload.disabled = false;
127 bGC.disabled = false; 127 bGC.disabled = false;
(...skipping 26 matching lines...) Expand all
154 _analysis = _Analysis.dominatorTree; 154 _analysis = _Analysis.dominatorTree;
155 _r.dirty(); 155 _r.dirty();
156 }), 156 }),
157 ] 157 ]
158 ], 158 ],
159 ], 159 ],
160 current 160 current
161 ]; 161 ];
162 } 162 }
163 } 163 }
OLDNEW
« no previous file with comments | « runtime/observatory/lib/src/elements/css/shared.css ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698