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

Side by Side Diff: runtime/bin/vmservice/observatory/lib/src/elements/observatory_element.dart

Issue 483103003: Incoming references service request and UI. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: build Created 6 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 | Annotate | Revision Log
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 observatory_element; 5 library observatory_element;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 import 'dart:html'; 8 import 'dart:html';
9 import 'package:observatory/app.dart'; 9 import 'package:observatory/app.dart';
10 import 'package:polymer/polymer.dart'; 10 import 'package:polymer/polymer.dart';
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 return (type == 'Type'); 151 return (type == 'Type');
152 } 152 }
153 153
154 bool isUnexpected(String type) { 154 bool isUnexpected(String type) {
155 return (!['Null', 155 return (!['Null',
156 'Smi', 156 'Smi',
157 'Mint', 157 'Mint',
158 'Bigint', 158 'Bigint',
159 'Bool', 159 'Bool',
160 'String', 160 'String',
161 » 'Double', 161 'Double',
162 'Instance', 162 'Instance',
163 'GrowableObjectArray', 163 'GrowableObjectArray',
164 'Array', 164 'Array',
165 'Type', 165 'Type',
166 'Error'].contains(type)); 166 'Error'].contains(type));
167 } 167 }
168 } 168 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698