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

Side by Side Diff: runtime/bin/vmservice/observatory/lib/src/elements/eval_link.html

Issue 509563004: Give instances their own model class; move DartErrors out of instance-ref into their own error-ref. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: rebase and build Created 6 years, 3 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="instance_ref.html"> 2 <link rel="import" href="instance_ref.html">
3 <link rel="import" href="error_ref.html">
3 4
4 <polymer-element name="eval-link"> 5 <polymer-element name="eval-link">
5 <template> 6 <template>
6 <style> 7 <style>
7 .idle { 8 .idle {
8 color: #0489c3; 9 color: #0489c3;
9 cursor: pointer; 10 cursor: pointer;
10 } 11 }
11 .busy { 12 .busy {
12 color: #aaa; 13 color: #aaa;
13 cursor: wait; 14 cursor: wait;
14 } 15 }
15 </style> 16 </style>
16 17
17 <template if="{{ busy }}"> 18 <template if="{{ busy }}">
18 <span class="busy">{{ label }}</span> 19 <span class="busy">{{ label }}</span>
19 </template> 20 </template>
20 <template if="{{ !busy }}"> 21 <template if="{{ !busy }}">
21 <span class="idle"><a on-click="{{ evalNow }}">{{ label }}</a></span> 22 <span class="idle"><a on-click="{{ evalNow }}">{{ label }}</a></span>
22 </template> 23 </template>
23 <template if="{{ result != null }}"> 24 <template if="{{ result != null }}">
24 = <instance-ref ref="{{ result }}"></instance-ref> 25 = <any-service-ref ref="{{ result }}"></any-service-ref>
25 </template> 26 </template>
26 </template> 27 </template>
27 </polymer-element> 28 </polymer-element>
28 29
29 <script type="application/dart" src="eval_link.dart"></script> 30 <script type="application/dart" src="eval_link.dart"></script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698