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

Side by Side Diff: runtime/bin/vmservice/client/lib/src/elements/instance_ref.html

Issue 392933003: vm/observatory: Clean up script access (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 5 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 {
(...skipping 27 matching lines...) Expand all
38 </template> 38 </template>
39 39
40 <template if="{{ (isType(ref.serviceType)) }}"> 40 <template if="{{ (isType(ref.serviceType)) }}">
41 <a on-click="{{ goto }}" href="{{ url }}">{{ ref['user_name'] }}</a> 41 <a on-click="{{ goto }}" href="{{ url }}">{{ ref['user_name'] }}</a>
42 </template> 42 </template>
43 43
44 <template if="{{ isInstance(ref.serviceType) && 44 <template if="{{ isInstance(ref.serviceType) &&
45 ref['closureFunc'] != null}}"> 45 ref['closureFunc'] != null}}">
46 <a on-click="{{ goto }}" href="{{ url }}"> 46 <a on-click="{{ goto }}" href="{{ url }}">
47 <!-- TODO(turnidge): Switch this to fully-qualified function --> 47 <!-- TODO(turnidge): Switch this to fully-qualified function -->
48 {{ ref['closureFunc']['user_name'] }} 48 {{ ref['closureFunc'].name }}
49 </a> 49 </a>
50 </template> 50 </template>
51 51
52 <template if="{{ isInstance(ref.serviceType) && 52 <template if="{{ isInstance(ref.serviceType) &&
53 ref['closureFunc'] == null}}"> 53 ref['closureFunc'] == null}}">
54 <a on-click="{{ goto }}" href="{{ url }}"><em>{{ ref['class'].name }}</e m></a> 54 <a on-click="{{ goto }}" href="{{ url }}"><em>{{ ref['class'].name }}</e m></a>
55 <curly-block callback="{{ expander() }}"> 55 <curly-block callback="{{ expander() }}">
56 <div class="memberList"> 56 <div class="memberList">
57 <template repeat="{{ field in ref['fields'] }}"> 57 <template repeat="{{ field in ref['fields'] }}">
58 <div class="memberItem"> 58 <div class="memberItem">
(...skipping 22 matching lines...) Expand all
81 </div> 81 </div>
82 </template> 82 </template>
83 </div> 83 </div>
84 </curly-block> 84 </curly-block>
85 </template> 85 </template>
86 </span> 86 </span>
87 </template> 87 </template>
88 </polymer-element> 88 </polymer-element>
89 89
90 <script type="application/dart" src="instance_ref.dart"></script> 90 <script type="application/dart" src="instance_ref.dart"></script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698