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

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

Issue 262303002: Observatory grab-bag for 1.4 release. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: gen js Created 6 years, 7 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 'package:observatory/app.dart'; 7 import 'package:observatory/app.dart';
8 import 'package:polymer/polymer.dart'; 8 import 'package:polymer/polymer.dart';
9 9
10 /// Base class for all Observatory custom elements. 10 /// Base class for all Observatory custom elements.
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 } 75 }
76 76
77 bool isType(String type) { 77 bool isType(String type) {
78 return (type == 'Type'); 78 return (type == 'Type');
79 } 79 }
80 80
81 bool isUnexpected(String type) { 81 bool isUnexpected(String type) {
82 return (!['Null', 82 return (!['Null',
83 'Smi', 83 'Smi',
84 'Mint', 84 'Mint',
85 'Biginit', 85 'Bigint',
86 'Bool', 86 'Bool',
87 'String', 87 'String',
88 'Double', 88 'Double',
89 'Instance', 89 'Instance',
90 'GrowableObjectArray', 90 'GrowableObjectArray',
91 'Array', 91 'Array',
92 'Type', 92 'Type',
93 'Error'].contains(type)); 93 'Error'].contains(type));
94 } 94 }
95 } 95 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698