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

Unified Diff: runtime/bin/vmservice/client/lib/src/elements/class_view.html

Issue 192443004: Complete the switch to ServiceObject (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: runtime/bin/vmservice/client/lib/src/elements/class_view.html
diff --git a/runtime/bin/vmservice/client/lib/src/elements/class_view.html b/runtime/bin/vmservice/client/lib/src/elements/class_view.html
index cc906b22a25c21228241921b167c597e58c76ed7..8bffd2c13fc628ad1a0074596406396b3ced7337 100644
--- a/runtime/bin/vmservice/client/lib/src/elements/class_view.html
+++ b/runtime/bin/vmservice/client/lib/src/elements/class_view.html
@@ -5,15 +5,15 @@
<link rel="import" href="instance_ref.html">
<link rel="import" href="library_ref.html">
<link rel="import" href="nav_bar.html">
- <link rel="import" href="isolate_element.html">
+ <link rel="import" href="observatory_element.html">
</head>
-<polymer-element name="class-view" extends="isolate-element">
+<polymer-element name="class-view" extends="observatory-element">
<template>
<nav-bar>
<top-nav-menu></top-nav-menu>
- <isolate-nav-menu isolate="{{ isolate }}"></isolate-nav-menu>
- <library-nav-menu isolate="{{ isolate }}" library="{{ cls['library'] }}"></library-nav-menu>
- <class-nav-menu isolate="{{ isolate }}" cls="{{ cls }}" last="{{ true }}"></class-nav-menu>
+ <isolate-nav-menu isolate="{{ cls.isolate }}"></isolate-nav-menu>
+ <library-nav-menu library="{{ cls['library'] }}"></library-nav-menu>
+ <class-nav-menu cls="{{ cls }}" last="{{ true }}"></class-nav-menu>
<nav-refresh callback="{{ refresh }}"></nav-refresh>
</nav-bar>
@@ -21,12 +21,13 @@
<div class="col-md-8 col-md-offset-2">
<div class="panel panel-warning">
<div class="panel-heading">
- class <strong>{{ cls['user_name'] }}</strong>
+ class <strong>{{ cls.name }}</strong>
<template if="{{ cls['super']['type'] != 'Null' }}">
extends
- <class-ref app="{{ app }}" ref="{{ cls['super'] }}"></class-ref>
+ <class-ref ref="{{ cls['super'] }}"></class-ref>
</template>
- <library-ref app="{{ app }}" ref="{{ cls['library'] }}"></library-ref>
+ <p></p>
+ <library-ref ref="{{ cls['library'] }}"></library-ref>
</div>
<div class="panel-body">
<table class="table table-hover">
@@ -56,8 +57,8 @@
<table class="table table-hover">
<tbody>
<tr template repeat="{{ field in cls['fields'] }}">
- <td><field-ref app="{{ app }}" ref="{{ field }}"></field-ref></td>
- <td><instance-ref app="{{ app }}" ref="{{ field['value'] }}"></instance-ref></td>
+ <td><field-ref ref="{{ field }}"></field-ref></td>
+ <td><instance-ref ref="{{ field['value'] }}"></instance-ref></td>
</tr>
</tbody>
</table>
@@ -71,8 +72,8 @@
</thead>
<tbody>
<tr template repeat="{{ function in cls['functions'] }}">
- <td><function-ref app="{{ app }}" ref="{{ function }}"></function-ref></td>
- <td><function-ref app="{{ app }}" ref="{{ function }}" internal></function-ref></td>
+ <td><function-ref ref="{{ function }}"></function-ref></td>
+ <td><function-ref ref="{{ function }}" internal></function-ref></td>
</tr>
</tbody>
</table>

Powered by Google App Engine
This is Rietveld 408576698