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

Side by Side Diff: runtime/observatory/lib/src/elements/instance_ref.html

Issue 1120133002: Rework error handling in the service protocol and in Observatory. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: fix tests Created 5 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 <link rel="import" href="../../../../packages/polymer/polymer.html"> 1 <link rel="import" href="../../../../packages/polymer/polymer.html">
2 <link rel="import" href="curly_block.html"> 2 <link rel="import" href="curly_block.html">
3 <link rel="import" href="observatory_element.html"> 3 <link rel="import" href="observatory_element.html">
4 <link rel="import" href="service_ref.html"> 4 <link rel="import" href="service_ref.html">
5 5
6 <polymer-element name="instance-ref" extends="service-ref"> 6 <polymer-element name="instance-ref" extends="service-ref">
7 <template> 7 <template>
8 <link rel="stylesheet" href="css/shared.css"> 8 <link rel="stylesheet" href="css/shared.css">
9 <style> 9 <style>
10 .errorBox { 10 .errorBox {
11 background-color: #f5f5f5; 11 background-color: #f5f5f5;
12 border: 1px solid #ccc; 12 border: 1px solid #ccc;
13 padding: 10px; 13 padding: 10px;
14 font-family: consolas, courier, monospace; 14 font-family: consolas, courier, monospace;
15 font-size: 1em; 15 font-size: 1em;
16 line-height: 1.2em; 16 line-height: 1.2em;
17 white-space: pre; 17 white-space: pre;
18 } 18 }
19 </style> 19 </style>
20 <span> 20 <span>
21 <template if="{{ ref.isSentinel }}"> 21 <template if="{{ ref.isSentinel }}">
22 <div title="{{ hoverText }}">{{ ref.valueAsString }}</div> 22 <span title="{{ hoverText }}">{{ ref.valueAsString }}</span>
23 </template> 23 </template>
24 24
25 <template if="{{ ref.isBool || ref.isInt || 25 <template if="{{ ref.isBool || ref.isInt ||
26 ref.isDouble || ref.isNull }}"> 26 ref.isDouble || ref.isNull }}">
27 <a on-click="{{ goto }}" _href="{{ url }}">{{ ref.valueAsString }}</a> 27 <a on-click="{{ goto }}" _href="{{ url }}">{{ ref.valueAsString }}</a>
28 </template> 28 </template>
29 29
30 <template if="{{ ref.isString }}"> 30 <template if="{{ ref.isString }}">
31 <a on-click="{{ goto }}" _href="{{ url }}">{{ asStringLiteral(ref.valueA sString, ref.valueAsStringIsTruncated) }}</a> 31 <a on-click="{{ goto }}" _href="{{ url }}">{{ asStringLiteral(ref.valueA sString, ref.valueAsStringIsTruncated) }}</a>
32 </template> 32 </template>
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 </div> 107 </div>
108 </div> 108 </div>
109 </div> 109 </div>
110 </curly-block> 110 </curly-block>
111 </template> 111 </template>
112 </span> 112 </span>
113 </template> 113 </template>
114 </polymer-element> 114 </polymer-element>
115 115
116 <script type="application/dart" src="instance_ref.dart"></script> 116 <script type="application/dart" src="instance_ref.dart"></script>
OLDNEW
« no previous file with comments | « runtime/observatory/lib/src/elements/heap_profile.dart ('k') | runtime/observatory/lib/src/elements/instance_view.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698