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

Unified Diff: runtime/bin/vmservice/client/deployed/web/packages/observatory/src/elements/field_ref.html

Issue 215213003: Rework the <field-view> page. (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/deployed/web/packages/observatory/src/elements/field_ref.html
diff --git a/runtime/bin/vmservice/client/deployed/web/packages/observatory/src/elements/field_ref.html b/runtime/bin/vmservice/client/deployed/web/packages/observatory/src/elements/field_ref.html
index 1891b61b4a626defe9dcb3e47851ed8f6b707d34..9e5f896bb485dbd688893fffa931df3e5cae4000 100644
--- a/runtime/bin/vmservice/client/deployed/web/packages/observatory/src/elements/field_ref.html
+++ b/runtime/bin/vmservice/client/deployed/web/packages/observatory/src/elements/field_ref.html
@@ -4,16 +4,20 @@
<link rel="import" href="service_ref.html">
</head>
<polymer-element name="field-ref" extends="service-ref">
-<template>
-<div>
- <template if="{{ ref['final'] }}"> final </template>
- <template if="{{ ref['const'] }}"> const </template>
- <template if="{{ (ref['declared_type']['name'] == 'dynamic' && !ref['final'] && !ref['const']) }}">
- var
+ <template>
+ <div>
+ <template if="{{ ref['static'] }}">static</template>
+ <template if="{{ ref['final'] }}">final</template>
+ <template if="{{ ref['const'] }}">const</template>
+ <template if="{{ (ref['declared_type']['name'] == 'dynamic' &&
+ !ref['final'] && !ref['const']) }}">
+ var
+ </template>
+ <template if="{{ (ref['declared_type']['name'] != 'dynamic') }}">
+ <instance-ref ref="{{ ref['declared_type'] }}"></instance-ref>
+ </template>
+ <a title="{{ hoverText }}" href="{{ url }}">{{ name }}</a>
+ </div>
</template>
- <template if="{{ (ref['declared_type']['name'] != 'dynamic') }}">
- <instance-ref ref="{{ ref['declared_type'] }}"></instance-ref>
- </template>
- <a title="{{ hoverText }}" href="{{ url }}">{{ name }}</a>
-</div>
-</template> <script type="application/dart" src="field_ref.dart"></script> </polymer-element>
+ <script type="application/dart" src="field_ref.dart"></script>
+</polymer-element>

Powered by Google App Engine
This is Rietveld 408576698