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

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

Issue 1289913002: Make declaration annotations direct links; update annotations after the library's declarations are … (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 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
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 service_object_view_element; 5 library service_object_view_element;
6 6
7 import 'dart:html'; 7 import 'dart:html';
8 import 'package:logging/logging.dart'; 8 import 'package:logging/logging.dart';
9 import 'package:observatory/service.dart'; 9 import 'package:observatory/service.dart';
10 import 'package:observatory/tracer.dart'; 10 import 'package:observatory/tracer.dart';
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 return element; 90 return element;
91 case 'ObjectPool': 91 case 'ObjectPool':
92 ObjectPoolViewElement element = new Element.tag('objectpool-view'); 92 ObjectPoolViewElement element = new Element.tag('objectpool-view');
93 element.pool = object; 93 element.pool = object;
94 return element; 94 return element;
95 default: 95 default:
96 ObjectViewElement element = new Element.tag('object-view'); 96 ObjectViewElement element = new Element.tag('object-view');
97 element.object = object; 97 element.object = object;
98 return element; 98 return element;
99 } 99 }
100 break;
Cutch 2015/08/12 19:25:48 Yahoo!
101 case 'SocketList': 100 case 'SocketList':
102 IOSocketListViewElement element = 101 IOSocketListViewElement element =
103 new Element.tag('io-socket-list-view'); 102 new Element.tag('io-socket-list-view');
104 element.list = object; 103 element.list = object;
105 return element; 104 return element;
106 case 'Socket': 105 case 'Socket':
107 IOSocketViewElement element = new Element.tag('io-socket-view'); 106 IOSocketViewElement element = new Element.tag('io-socket-view');
108 element.socket = object; 107 element.socket = object;
109 return element; 108 return element;
110 case 'WebSocketList': 109 case 'WebSocketList':
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 227
229 dynamic expander() { 228 dynamic expander() {
230 return expandEvent; 229 return expandEvent;
231 } 230 }
232 231
233 void expandEvent(bool exp, var done) { 232 void expandEvent(bool exp, var done) {
234 expand = exp; 233 expand = exp;
235 done(); 234 done();
236 } 235 }
237 } 236 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698