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

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

Issue 1276013002: Improve display of library dependency information. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/observatory/lib/src/elements/library_view.html
diff --git a/runtime/observatory/lib/src/elements/library_view.html b/runtime/observatory/lib/src/elements/library_view.html
index e28ebadef2f6696df566c16ac0034e3e44984b97..a898ebbd8d37c01ba4d24add3f286a132a67b4c0 100644
--- a/runtime/observatory/lib/src/elements/library_view.html
+++ b/runtime/observatory/lib/src/elements/library_view.html
@@ -59,7 +59,18 @@
<template repeat="{{ dep in library.dependencies }}">
<div class="memberItem">
<div class="memberValue">
- <library-ref ref="{{ dep.target }}"></library-ref>
+ <template if="{{ dep.isImport }}">
+ import <library-ref ref="{{ dep.target }}"></library-ref>
+ <template if="{{ dep.prefix != null }}">
+ as {{ dep.prefix.toString() }}
+ </template>
+ <template if="{{ dep.isDeferred }}">
+ deferred
+ </template>
+ </template>
+ <template if="{{ !dep.isImport }}">
+ export <library-ref ref="{{ dep.target }}"></library-ref>
+ </template>
</div>
</div>
</template>
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698