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

Side by Side Diff: runtime/bin/vmservice/observatory/deployed/web/index_devtools.html

Issue 547703002: Rework how types work in the VM Service. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: gen js Created 6 years, 3 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE html><html><head> 1 <!DOCTYPE html><html><head>
2 <title>Dart VM Observatory</title> 2 <title>Dart VM Observatory</title>
3 <meta charset="utf-8"> 3 <meta charset="utf-8">
4 4
5 5
6 6
7 7
8 8
9 9
10 10
11 </head> 11 </head>
12 <body><script src="packages/web_components/platform.js"></script> 12 <body><script src="packages/web_components/platform.js"></script>
13 13
14 14
15 <!-- unminified for debugging: 15 <!-- unminfied for debugging:
16 <link rel="import" href="src/js/polymer/layout.html"> 16 <link rel="import" href="src/js/polymer/layout.html">
17 <script src="src/js/polymer/polymer.concat.js"></script> 17 <script src="src/js/polymer/polymer.concat.js"></script>
18 --> 18 -->
19 19
20 20
21 21
22 <style shim-shadowdom=""> 22 <style shim-shadowdom="">
23 /******************************* 23 /*******************************
24 Flex Layout 24 Flex Layout
25 *******************************/ 25 *******************************/
(...skipping 892 matching lines...) Expand 10 before | Expand all | Expand 10 after
918 font-size: 1em; 918 font-size: 1em;
919 line-height: 1.2em; 919 line-height: 1.2em;
920 white-space: pre; 920 white-space: pre;
921 } 921 }
922 </style> 922 </style>
923 <span> 923 <span>
924 <template if="{{ ref.isSentinel }}"> 924 <template if="{{ ref.isSentinel }}">
925 <div title="{{ hoverText }}">{{ ref.valueAsString }}</div> 925 <div title="{{ hoverText }}">{{ ref.valueAsString }}</div>
926 </template> 926 </template>
927 927
928 <template if="{{ ref.isString || ref.isBool || ref.isInt || ref.isDouble | | ref.isNull }}"> 928 <template if="{{ ref.isString || ref.isBool || ref.isInt ||
929 ref.isDouble || ref.isNull }}">
929 <a on-click="{{ goto }}" _href="{{ url }}">{{ ref.valueAsString }}</a> 930 <a on-click="{{ goto }}" _href="{{ url }}">{{ ref.valueAsString }}</a>
930 </template> 931 </template>
931 932
932 <template if="{{ ref.isType }}"> 933 <template if="{{ ref.isAbstractType }}">
933 <a on-click="{{ goto }}" _href="{{ url }}">{{ ref.name }}</a> 934 <a on-click="{{ goto }}" _href="{{ url }}">{{ ref.name }}</a>
934 </template> 935 </template>
935 936
936 <template if="{{ ref.isClosure }}"> 937 <template if="{{ ref.isClosure }}">
937 <a on-click="{{ goto }}" _href="{{ url }}"> 938 <a on-click="{{ goto }}" _href="{{ url }}">
938 <!-- TODO(turnidge): Switch this to fully-qualified function --> 939 <!-- TODO(turnidge): Switch this to fully-qualified function -->
939 {{ ref.closureFunc.name }} 940 {{ ref.closureFunc.name }}
940 </a> 941 </a>
941 </template> 942 </template>
942 943
943 <template if="{{ ref.isInstance &amp;&amp; !ref.isClosure }}"> 944 <template if="{{ ref.isPlainInstance }}">
944 <a on-click="{{ goto }}" _href="{{ url }}"><em>{{ ref.clazz.name }}</em> </a> 945 <a on-click="{{ goto }}" _href="{{ url }}"><em>{{ ref.clazz.name }}</em> </a>
945 <curly-block callback="{{ expander() }}"> 946 <curly-block callback="{{ expander() }}">
946 <div class="memberList"> 947 <div class="memberList">
947 <template repeat="{{ field in ref.fields }}"> 948 <template repeat="{{ field in ref.fields }}">
948 <div class="memberItem"> 949 <div class="memberItem">
949 <div class="memberName"> 950 <div class="memberName">
950 {{ field['decl'].name }} 951 {{ field['decl'].name }}
951 </div> 952 </div>
952 <div class="memberValue"> 953 <div class="memberValue">
953 <any-service-ref ref="{{ field['value'] }}"></any-service-ref> 954 <any-service-ref ref="{{ field['value'] }}"></any-service-ref>
(...skipping 14516 matching lines...) Expand 10 before | Expand all | Expand 10 after
15470 <nav-refresh callback="{{ refresh }}"></nav-refresh> 15471 <nav-refresh callback="{{ refresh }}"></nav-refresh>
15471 <nav-control></nav-control> 15472 <nav-control></nav-control>
15472 </nav-bar> 15473 </nav-bar>
15473 15474
15474 <template if="{{ instance.isError }}"> 15475 <template if="{{ instance.isError }}">
15475 <error-view error_obj="{{ instance['error'] }}"></error-view> 15476 <error-view error_obj="{{ instance['error'] }}"></error-view>
15476 </template> 15477 </template>
15477 15478
15478 <template if="{{ !instance.isError }}"> 15479 <template if="{{ !instance.isError }}">
15479 <div class="content"> 15480 <div class="content">
15480 <template if="{{ instance.isType }}"> 15481 <template if="{{ instance.isAbstractType }}">
15481 <h1>type {{ instance.name }}</h1> 15482 <h1>type {{ instance.name }}</h1>
15482 </template> 15483 </template>
15483 <template if="{{ !instance.isType }}"> 15484 <template if="{{ !instance.isAbstractType }}">
15484 <h1>instance of {{ instance.clazz.name }}</h1> 15485 <h1>instance of {{ instance.clazz.name }}</h1>
15485 </template> 15486 </template>
15486 15487
15487 <object-common object="{{ instance }}"></object-common> 15488 <object-common object="{{ instance }}"></object-common>
15488 15489
15489 <div class="memberList"> 15490 <div class="memberList">
15490 <div class="memberItem">&nbsp;</div> 15491 <div class="memberItem">&nbsp;</div>
15491 15492
15492 <template if="{{ instance.valueAsString != null }}"> 15493 <template if="{{ instance.valueAsString != null }}">
15493 <div class="memberItem"> 15494 <div class="memberItem">
(...skipping 5923 matching lines...) Expand 10 before | Expand all | Expand 10 after
21417 </style> 21418 </style>
21418 <a on-click="{{ goto }}" _href="{{ url }}">{{ ref.name }}</a> 21419 <a on-click="{{ goto }}" _href="{{ url }}">{{ ref.name }}</a>
21419 </template> 21420 </template>
21420 </polymer-element> 21421 </polymer-element>
21421 21422
21422 21423
21423 21424
21424 <observatory-application devtools="true"></observatory-application> 21425 <observatory-application devtools="true"></observatory-application>
21425 21426
21426 <script src="index_devtools.html_bootstrap.dart.js" async=""></script></body></h tml> 21427 <script src="index_devtools.html_bootstrap.dart.js" async=""></script></body></h tml>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698