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

Unified Diff: runtime/observatory/lib/src/elements/context_view.html

Issue 2270013002: Converted Observatory context-view element (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Fixed access to instance function Created 4 years, 4 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/observatory/lib/src/elements/context_view.html
diff --git a/runtime/observatory/lib/src/elements/context_view.html b/runtime/observatory/lib/src/elements/context_view.html
deleted file mode 100644
index a0397a576d8373520741f686368a15eaff6cc2ae..0000000000000000000000000000000000000000
--- a/runtime/observatory/lib/src/elements/context_view.html
+++ /dev/null
@@ -1,62 +0,0 @@
-<link rel="import" href="../../../../packages/polymer/polymer.html">
-
-<polymer-element name="context-view">
- <template>
- <link rel="stylesheet" href="css/shared.css">
- <nav-bar>
- <top-nav-menu></top-nav-menu>
- <vm-nav-menu vm="{{ context.isolate.vm }}"></vm-nav-menu>
- <isolate-nav-menu isolate="{{ context.isolate }}"></isolate-nav-menu>
- <!-- TODO(turnidge): Add library nav menu here. -->
- <class-nav-menu cls="{{ context.clazz }}"></class-nav-menu>
- <nav-menu link="." anchor="instance" last="{{ true }}"></nav-menu>
- <nav-refresh callback="{{ refresh }}"></nav-refresh>
- <nav-notify notifications="{{ app.notifications }}"></nav-notify>
- </nav-bar>
-
- <template if="{{ !context.isError }}">
- <div class="content">
- <h1>instance of Context</h1>
-
- <object-common object="{{ context }}"></object-common>
- <br>
-
- <div class="memberList">
- <template if="{{ context.parentContext != null }}">
- <div class="memberItem">
- <div class="memberName">parent context</div>
- <div class="memberValue">
- <any-service-ref ref="{{ context.parentContext }}"></any-service-ref>
- </div>
- </div>
- </template>
- </div>
- </div>
-
- <hr>
-
- <div class="content">
- <template if="{{ context.variables.isNotEmpty }}">
- variables ({{ context.variables.length }})
- <curly-block expand="{{ context.variables.length <= 8 }}">
- <div class="memberList">
- <template repeat="{{ index in context.variables.asMap().keys }}">
- <div class="memberItem">
- <div class="memberName">[{{ index }}]</div>
- <div class="memberValue">
- <any-service-ref
- ref="{{ context.variables[index]['value'] }}">
- </any-service-ref>
- </div>
- </div>
- </template>
- </div>
- </curly-block><br><br>
- </template>
- </div>
- </template>
- <view-footer></view-footer>
- </template>
-</polymer-element>
-
-<script type="application/dart" src="context_view.dart"></script>
« no previous file with comments | « runtime/observatory/lib/src/elements/context_view.dart ('k') | runtime/observatory/lib/src/elements/instance_view.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698