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

Unified Diff: runtime/observatory/lib/src/elements/context_view.dart

Issue 2291233002: Converted Observatory instance-view element (Closed)
Patch Set: Addressed comments Created 4 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 side-by-side diff with in-line comments
Download patch
Index: runtime/observatory/lib/src/elements/context_view.dart
diff --git a/runtime/observatory/lib/src/elements/context_view.dart b/runtime/observatory/lib/src/elements/context_view.dart
index 4be588d16d4fa29f2d7aa2d6391fae1defae044c..277ae3182dbb81130261368a346fc0f47dfe279f 100644
--- a/runtime/observatory/lib/src/elements/context_view.dart
+++ b/runtime/observatory/lib/src/elements/context_view.dart
@@ -143,13 +143,13 @@ class ContextViewElement extends HtmlElement implements Renderable {
new BRElement(),
new DivElement()..classes = const ['content-centered-big']
..children = [
- new DivElement()..classes = ['memberList']
+ new DivElement()..classes = const ['memberList']
..children = [
- new DivElement()..classes = ['memberItem']
+ new DivElement()..classes = const ['memberItem']
..children = [
- new DivElement()..classes = ['memberName']
+ new DivElement()..classes = const ['memberName']
..text = 'parent context',
- new DivElement()..classes = ['memberName']
+ new DivElement()..classes = const ['memberName']
..children = [
new ContextRefElement(_isolate, _context.parentContext,
queue: _r.queue)
@@ -169,13 +169,13 @@ class ContextViewElement extends HtmlElement implements Renderable {
new CurlyBlockElement(expanded: _context.variables.length > 8,
queue: _r.queue)
..children = [
- new DivElement()..classes = ['memberList']
+ new DivElement()..classes = const ['memberList']
..children = _context.variables.map((variable)
- => new DivElement()..classes = ['memberItem']
+ => new DivElement()..classes = const ['memberItem']
..children = [
- new DivElement()..classes = ['memberName']
+ new DivElement()..classes = const ['memberName']
..text = '[ ${++index} ]',
- new DivElement()..classes = ['memberName']
+ new DivElement()..classes = const ['memberName']
..children = [
anyRef(_isolate, variable.value, _instances,
queue: _r.queue)
« no previous file with comments | « runtime/observatory/lib/src/elements/context_ref_wrapper.dart ('k') | runtime/observatory/lib/src/elements/css/shared.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698