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

Side by Side Diff: runtime/observatory/lib/src/elements/isolate_summary.html

Issue 2304463002: Converted Observatory vm-view && isolate-view elements (Closed)
Patch Set: Fixed typo Created 4 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
OLDNEW
(Empty)
1 <link rel="import" href="../../../../packages/polymer/polymer.html">
2 <link rel="import" href="action_link.html">
3
4 <polymer-element name="isolate-summary">
5 <template>
6 <link rel="stylesheet" href="css/shared.css">
7 <div class="flex-row">
8 <div>
9 <isolate-ref ref="{{ isolate }}"></isolate-ref>
10 </div>
11 <div style="flex:1"></div>
12 <div>
13 <isolate-run-state isolate="{{ isolate }}"></isolate-run-state>
14 <isolate-location isolate="{{ isolate }}"></isolate-location>
15 [<a on-click="{{ goto }}" _href="{{ gotoLink('/debugger', isolate) }}">d ebug</a>]
16 </div>
17 </div>
18 <br>
19 <isolate-shared-summary isolate="{{ isolate }}"></isolate-shared-summary>
20 </template>
21 </polymer-element>
22
23 <polymer-element name="isolate-run-state">
24 <template>
25 <template if="{{ isolate.paused }}">
26 <strong title="{{ isolate.pauseEvent.timestamp.toString() }}">paused</stro ng>
27 </template>
28
29 <template if="{{ isolate.running }}">
30 <strong>running</strong>
31 </template>
32
33 <template if="{{ isolate.idle }}">
34 <strong>idle</strong>
35 </template>
36
37 <template if="{{ isolate.loading }}">
38 <strong>loading...</strong>
39 </template>
40 </template>
41 </polymer-element>
42
43 <polymer-element name="isolate-location">
44 <template>
45 <template if="{{ isolate.pauseEvent != null }}">
46 <template if="{{ isolate.pauseEvent.kind == 'PauseStart' }}">
47 at isolate start
48 </template>
49
50 <template if="{{ isolate.pauseEvent.kind == 'PauseExit' }}">
51 at isolate exit
52 </template>
53
54 <template if="{{ isolate.pauseEvent.kind == 'None' }}">
55 not yet runnable
56 </template>
57
58 <template if="{{ isolate.pauseEvent.kind == 'PauseInterrupted' ||
59 isolate.pauseEvent.kind == 'PauseBreakpoint' ||
60 isolate.pauseEvent.kind == 'PauseException' }}">
61 <template if="{{ isolate.pauseEvent.breakpoint != null }}">
62 by breakpoint
63 </template>
64 <template if="{{ isolate.pauseEvent.kind == 'PauseException' }}">
65 by exception
66 </template>
67 <template if="{{ isolate.topFrame != null }}">
68 at
69 <function-ref ref="{{ isolate.topFrame.function }}">
70 </function-ref>
71 (<source-link location="{{ isolate.topFrame.location }}">
72 </source-link>)
73 </template>
74 </template>
75 </template>
76
77 <template if="{{ isolate.running }}">
78 at
79 <function-ref ref="{{ isolate.topFrame.function }}">
80 </function-ref>
81 (<source-link location="{{ isolate.topFrame.location }}"></source-link>)
82 </template>
83
84 </template>
85 </polymer-element>
86
87 <script type="application/dart" src="isolate_summary.dart"></script>
OLDNEW
« no previous file with comments | « runtime/observatory/lib/src/elements/isolate_summary.dart ('k') | runtime/observatory/lib/src/elements/isolate_view.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698