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

Unified Diff: runtime/bin/vmservice/client/lib/src/elements/function_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/function_view.html
diff --git a/runtime/bin/vmservice/client/lib/src/elements/function_view.html b/runtime/bin/vmservice/client/lib/src/elements/function_view.html
index 9a2af8bdc467603ed1fd796747466e1e5f47f45d..1f474f6ee796ab10f358b3f6e483b43e9678290b 100644
--- a/runtime/bin/vmservice/client/lib/src/elements/function_view.html
+++ b/runtime/bin/vmservice/client/lib/src/elements/function_view.html
@@ -1,22 +1,22 @@
<head>
<link rel="import" href="class_ref.html">
<link rel="import" href="code_ref.html">
- <link rel="import" href="isolate_element.html">
+ <link rel="import" href="observatory_element.html">
<link rel="import" href="nav_bar.html">
</head>
-<polymer-element name="function-view" extends="isolate-element">
+<polymer-element name="function-view" extends="observatory-element">
<template>
<nav-bar>
<top-nav-menu></top-nav-menu>
- <isolate-nav-menu isolate="{{ isolate }}"></isolate-nav-menu>
+ <isolate-nav-menu isolate="{{ function.isolate }}"></isolate-nav-menu>
<template if="{{ function['owner']['type'] == '@Class' }}">
<!-- TODO(turnidge): Add library nav menu here. -->
- <class-nav-menu isolate="{{ isolate }}" cls="{{ function['owner'] }}"></class-nav-menu>
+ <class-nav-menu cls="{{ function['owner'] }}"></class-nav-menu>
</template>
<template if="{{ function['owner']['type'] == '@Library' }}">
- <library-nav-menu isolate="{{ isolate }}" library="{{ function['owner'] }}"></library-nav-menu>
+ <library-nav-menu library="{{ function['owner'] }}"></library-nav-menu>
</template>
- <nav-menu link="." anchor="{{ function['user_name'] }}" last="{{ true }}"></nav-menu>
+ <nav-menu link="." anchor="{{ function.name }}" last="{{ true }}"></nav-menu>
<nav-refresh callback="{{ refresh }}"></nav-refresh>
</nav-bar>
@@ -25,12 +25,12 @@
<div class="panel panel-warning">
<div class="panel-heading">
{{ function['user_name'] }} ({{ function['name'] }})
- <class-ref isolate="{{ isolate }}" ref="{{ function['class'] }}"></class-ref>
+ <class-ref ref="{{ function['class'] }}"></class-ref>
</div>
<div class="panel-body">
<div>
- <code-ref isolate="{{ isolate }}" ref="{{ function['code'] }}"></code-ref>
- <code-ref isolate="{{ isolate }}" ref="{{ function['unoptimized_code'] }}"></code-ref>
+ <code-ref ref="{{ function['code'] }}"></code-ref>
+ <code-ref ref="{{ function['unoptimized_code'] }}"></code-ref>
</div>
<table class="table table-hover">
<tbody>

Powered by Google App Engine
This is Rietveld 408576698