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

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

Issue 110703002: Add an instance view page to the vmservice. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years 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/field_ref.html
===================================================================
--- runtime/bin/vmservice/client/lib/src/observatory_elements/field_ref.html (revision 0)
+++ runtime/bin/vmservice/client/lib/src/observatory_elements/field_ref.html (working copy)
@@ -0,0 +1,19 @@
+<head>
+<link rel="import" href="observatory_element.html">
+</head>
+<polymer-element name="field-ref" extends="observatory-element">
+<template>
+<div>
+ <template if="{{ field['final'] }}"> final </template>
+ <template if="{{ field['const'] }}"> const </template>
+ <template if="{{ (field['declared_type']['name'] == 'dynamic' && !field['final'] && !field['const']) }}">
+ var
+ </template>
+ <template if="{{ (field['declared_type']['name'] != 'dynamic') }}">
+ <a href="{{ app.locationManager.currentIsolateClassLink(field['declared_type']['id']) }}">
+ {{ field['declared_type']['user_name'] }} </a>
+ </template>
+ <a href="{{ app.locationManager.currentIsolateObjectLink(field['id'])}}">
+ {{ field['user_name'] }} </a>
+</div>
+</template> <script type="application/dart" src="field_ref.dart"></script> </polymer-element>

Powered by Google App Engine
This is Rietveld 408576698