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

Unified Diff: runtime/bin/vmservice/client/lib/src/observatory_elements/function_view.html

Issue 184233007: Refactor Observatory (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 10 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/observatory_elements/function_view.html
diff --git a/runtime/bin/vmservice/client/lib/src/observatory_elements/function_view.html b/runtime/bin/vmservice/client/lib/src/observatory_elements/function_view.html
deleted file mode 100644
index a89ce852495c833c33bb60fc700dde791a3152e4..0000000000000000000000000000000000000000
--- a/runtime/bin/vmservice/client/lib/src/observatory_elements/function_view.html
+++ /dev/null
@@ -1,70 +0,0 @@
-<head>
- <link rel="import" href="class_ref.html">
- <link rel="import" href="code_ref.html">
- <link rel="import" href="nav_bar.html">
- <link rel="import" href="observatory_element.html">
-</head>
-<polymer-element name="function-view" extends="observatory-element">
- <template>
- <nav-bar>
- <top-nav-menu></top-nav-menu>
- <isolate-nav-menu app="{{ app }}" isolate="{{ app.locationManager.currentIsolate() }}">
- </isolate-nav-menu>
- <template if="{{ function['owner']['type'] == '@Class' }}">
- <!-- TODO(turnidge): Add library nav menu here. -->
- <class-nav-menu app="{{ app }}" cls="{{ function['owner'] }}"></class-nav-menu>
- </template>
- <template if="{{ function['owner']['type'] == '@Library' }}">
- <library-nav-menu app="{{ app }}" library="{{ function['owner'] }}"></library-nav-menu>
- </template>
- <nav-menu link="." anchor="{{ function['user_name'] }}" last="{{ true }}"></nav-menu>
- <nav-refresh callback="{{ refresh }}"></nav-refresh>
- </nav-bar>
-
- <div class="row">
- <div class="col-md-8 col-md-offset-2">
- <div class="panel panel-warning">
- <div class="panel-heading">
- {{ function['user_name'] }} ({{ function['name'] }})
- <class-ref app="{{ app }}" ref="{{ function['class'] }}"></class-ref>
- </div>
- <div class="panel-body">
- <div>
- <code-ref app="{{ app }}" ref="{{ function['code'] }}"></code-ref>
- <code-ref app="{{ app }}" ref="{{ function['unoptimized_code'] }}"></code-ref>
- </div>
- <table class="table table-hover">
- <tbody>
- <tr>
- <td>static</td><td>{{ function['is_static'] }}</td>
- </tr>
- <tr>
- <td>Const</td><td>{{ function['is_const'] }}</td>
- </tr>
- <tr>
- <td>Optimizable</td><td>{{ function['is_optimizable'] }}</td>
- </tr>
- <tr>
- <td>Inlinable</td><td>{{ function['is_inlinable'] }}</td>
- </tr>
- <tr>
- <td>Kind</td><td>{{ function['kind'] }}</td>
- </tr>
- <tr>
- <td>Usage Count</td><td>{{ function['usage_counter'] }}</td>
- </tr>
- <tr>
- <td>Optimized Call Site Count</td><td>{{ function['optimized_call_site_count'] }}</td>
- </tr>
- <tr>
- <td>Deoptimizations</td><td>{{ function['deoptimizations'] }}</td>
- </tr>
- </tbody>
- </table>
- </div>
- </div>
- </div>
- </div>
- </template>
- <script type="application/dart" src="function_view.dart"></script>
-</polymer-element>

Powered by Google App Engine
This is Rietveld 408576698