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

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

Issue 1807263004: Improve class-tree, class-view, and instance-view. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: code review Created 4 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/observatory/lib/src/elements/class_view.html
diff --git a/runtime/observatory/lib/src/elements/class_view.html b/runtime/observatory/lib/src/elements/class_view.html
index 60e8ee0b67a5874f53ac32b70e0658be78b05134..a40ef165d30e19589683485802c70ea354394546 100644
--- a/runtime/observatory/lib/src/elements/class_view.html
+++ b/runtime/observatory/lib/src/elements/class_view.html
@@ -35,6 +35,9 @@
<template if="{{ cls.isPatch }}">
patch
</template>
+ <template if="{{ cls.mixin != null }}">
+ mixin
+ </template>
class {{ cls.name }}
</h1>
@@ -59,12 +62,28 @@
<template if="{{ cls.superclass != null }}">
<div class="memberItem">
- <div class="memberName">extends</div>
+ <div class="memberName">superclass</div>
<div class="memberValue">
<class-ref ref="{{ cls.superclass }}"></class-ref>
</div>
</div>
</template>
+ <template if="{{ cls.superType != null }}">
+ <div class="memberItem">
+ <div class="memberName">supertype</div>
+ <div class="memberValue">
+ <instance-ref ref="{{ cls.superType }}"></instance-ref>
+ </div>
+ </div>
+ </template>
+ <template if="{{ cls.mixin != null }}">
+ <div class="memberItem">
+ <div class="memberName">mixin</div>
+ <div class="memberValue">
+ <instance-ref ref="{{ cls.mixin }}"></instance-ref>
+ </div>
+ </div>
+ </template>
<template if="{{ cls.subclasses.length > 0 }}">
<div class="memberItem">
<div class="memberName">extended by</div>
« no previous file with comments | « runtime/observatory/lib/src/elements/class_tree.dart ('k') | runtime/observatory/lib/src/elements/instance_view.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698