| OLD | NEW |
| 1 <link rel="import" href="../../../../packages/polymer/polymer.html"> | 1 <link rel="import" href="../../../../packages/polymer/polymer.html"> |
| 2 <link rel="import" href="action_link.html"> | 2 <link rel="import" href="action_link.html"> |
| 3 <link rel="import" href="function_ref.html"> | 3 <link rel="import" href="function_ref.html"> |
| 4 <link rel="import" href="isolate_ref.html"> | 4 <link rel="import" href="isolate_ref.html"> |
| 5 <link rel="import" href="observatory_element.html"> | 5 <link rel="import" href="observatory_element.html"> |
| 6 <link rel="import" href="script_inset.html"> | 6 <link rel="import" href="script_inset.html"> |
| 7 <link rel="import" href="script_ref.html"> | 7 <link rel="import" href="script_ref.html"> |
| 8 <polymer-element name="isolate-summary" extends="observatory-element"> | 8 <polymer-element name="isolate-summary" extends="observatory-element"> |
| 9 <template> | 9 <template> |
| 10 <link rel="stylesheet" href="css/shared.css"> | 10 <link rel="stylesheet" href="css/shared.css"> |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 <action-link callback="{{ resume }}" label="resume"></action-link> | 45 <action-link callback="{{ resume }}" label="resume"></action-link> |
| 46 </template> | 46 </template> |
| 47 | 47 |
| 48 <template if="{{ isolate.running }}"> | 48 <template if="{{ isolate.running }}"> |
| 49 <strong>running</strong> | 49 <strong>running</strong> |
| 50 <action-link callback="{{ pause }}" label="pause"></action-link> | 50 <action-link callback="{{ pause }}" label="pause"></action-link> |
| 51 </template> | 51 </template> |
| 52 | 52 |
| 53 <template if="{{ isolate.idle }}"> | 53 <template if="{{ isolate.idle }}"> |
| 54 <strong>idle</strong> | 54 <strong>idle</strong> |
| 55 <action-link callback="{{ pause }}" label="pause"></action-link> |
| 55 </template> | 56 </template> |
| 56 | 57 |
| 57 <template if="{{ isolate.loading }}"> | 58 <template if="{{ isolate.loading }}"> |
| 58 <strong>loading...</strong> | 59 <strong>loading...</strong> |
| 59 </template> | 60 </template> |
| 60 </template> | 61 </template> |
| 61 </polymer-element> | 62 </polymer-element> |
| 62 | 63 |
| 63 <polymer-element name="isolate-location" extends="observatory-element"> | 64 <polymer-element name="isolate-location" extends="observatory-element"> |
| 64 <template> | 65 <template> |
| 65 <template if="{{ isolate.pauseEvent != null }}"> | 66 <template if="{{ isolate.pauseEvent != null }}"> |
| 66 <template if="{{ isolate.pauseEvent['eventType'] == 'IsolateCreated' }}"> | 67 <template if="{{ isolate.pauseEvent.eventType == 'IsolateCreated' }}"> |
| 67 at isolate start | 68 at isolate start |
| 68 </template> | 69 </template> |
| 69 <template if="{{ isolate.pauseEvent['eventType'] == 'IsolateShutdown' }}"> | 70 <template if="{{ isolate.pauseEvent.eventType == 'IsolateShutdown' }}"> |
| 70 at isolate exit | 71 at isolate exit |
| 71 </template> | 72 </template> |
| 72 <template if="{{ isolate.pauseEvent['eventType'] == 'IsolateInterrupted' }
}"> | 73 <template if="{{ isolate.pauseEvent.eventType == 'IsolateInterrupted' }}"> |
| 73 at | 74 at |
| 74 <function-ref ref="{{ isolate.topFrame['function'] }}"> | 75 <function-ref ref="{{ isolate.topFrame['function'] }}"> |
| 75 </function-ref> | 76 </function-ref> |
| 76 (<script-ref ref="{{ isolate.topFrame['script'] }}" | 77 (<script-ref ref="{{ isolate.topFrame['script'] }}" |
| 77 pos="{{ isolate.topFrame['tokenPos'] }}"></script-ref>) | 78 pos="{{ isolate.topFrame['tokenPos'] }}"></script-ref>) |
| 78 </template> | 79 </template> |
| 79 <template if="{{ isolate.pauseEvent['eventType'] == 'BreakpointReached' }}
"> | 80 <template if="{{ isolate.pauseEvent.eventType == 'BreakpointReached' }}"> |
| 80 at breakpoint {{ isolate.pauseEvent['breakpoint']['id'] }} | 81 at breakpoint {{ isolate.pauseEvent.breakpoint['id'] }} |
| 81 <function-ref ref="{{ isolate.topFrame['function'] }}"> | 82 <function-ref ref="{{ isolate.topFrame['function'] }}"> |
| 82 </function-ref> | 83 </function-ref> |
| 83 (<script-ref ref="{{ isolate.topFrame['script'] }}" | 84 (<script-ref ref="{{ isolate.topFrame['script'] }}" |
| 84 pos="{{ isolate.topFrame['tokenPos'] }}"></script-ref>) | 85 pos="{{ isolate.topFrame['tokenPos'] }}"></script-ref>) |
| 86 </template> |
| 87 <template if="{{ isolate.pauseEvent.eventType == 'ExceptionThrown' }}"> |
| 88 at exception |
| 89 <function-ref ref="{{ isolate.topFrame['function'] }}"> |
| 90 </function-ref> |
| 91 (<script-ref ref="{{ isolate.topFrame['script'] }}" |
| 92 pos="{{ isolate.topFrame['tokenPos'] }}"></script-ref>) |
| 85 </template> | 93 </template> |
| 86 </template> | 94 </template> |
| 87 | 95 |
| 88 <template if="{{ isolate.running }}"> | 96 <template if="{{ isolate.running }}"> |
| 89 at | 97 at |
| 90 <function-ref ref="{{ isolate.topFrame['function'] }}"> | 98 <function-ref ref="{{ isolate.topFrame['function'] }}"> |
| 91 </function-ref> | 99 </function-ref> |
| 92 (<script-ref ref="{{ isolate.topFrame['script'] }}" | 100 (<script-ref ref="{{ isolate.topFrame['script'] }}" |
| 93 pos="{{ isolate.topFrame['tokenPos'] }}"></script-ref>) | 101 pos="{{ isolate.topFrame['tokenPos'] }}"></script-ref>) |
| 94 </template> | 102 </template> |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 183 </template> | 191 </template> |
| 184 </polymer-element> | 192 </polymer-element> |
| 185 | 193 |
| 186 <polymer-element name="isolate-counter-chart" extends="observatory-element"> | 194 <polymer-element name="isolate-counter-chart" extends="observatory-element"> |
| 187 <template> | 195 <template> |
| 188 <div id="counterPieChart" style="height: 200px"></div> | 196 <div id="counterPieChart" style="height: 200px"></div> |
| 189 </template> | 197 </template> |
| 190 </polymer-element> | 198 </polymer-element> |
| 191 | 199 |
| 192 <script type="application/dart" src="isolate_summary.dart"></script> | 200 <script type="application/dart" src="isolate_summary.dart"></script> |
| OLD | NEW |