| 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"> |
| 11 <div class="flex-row"> | 11 <div class="flex-row"> |
| 12 <div class="flex-item-10-percent"> | 12 <div class="flex-item-10-percent"> |
| 13 <img src="img/isolate_icon.png"> | 13 <img src="img/isolate_icon.png"> |
| 14 </div> | 14 </div> |
| 15 <div class="flex-item-10-percent"> | 15 <div class="flex-item-10-percent"> |
| 16 <isolate-ref ref="{{ isolate }}"></isolate-ref> | 16 <isolate-ref ref="{{ isolate }}"></isolate-ref> |
| 17 </div> | 17 </div> |
| 18 <div class="flex-item-20-percent"> | 18 <div class="flex-item-30-percent"> |
| 19 <isolate-run-state isolate="{{ isolate }}"></isolate-run-state> | 19 <isolate-run-state isolate="{{ isolate }}"></isolate-run-state> |
| 20 </div> | 20 </div> |
| 21 <div class="flex-item-50-percent"> | 21 <div class="flex-item-40-percent"> |
| 22 <isolate-location isolate="{{ isolate }}"></isolate-location> | 22 <isolate-location isolate="{{ isolate }}"></isolate-location> |
| 23 </div> | 23 </div> |
| 24 <div class="flex-item-10-percent"> | 24 <div class="flex-item-10-percent"> |
| 25 </div> | 25 </div> |
| 26 </div> | 26 </div> |
| 27 | 27 |
| 28 <div class="flex-row"> | 28 <div class="flex-row"> |
| 29 <div class="flex-item-20-percent"></div> | 29 <div class="flex-item-20-percent"></div> |
| 30 <div class="flex-item-60-percent"> | 30 <div class="flex-item-60-percent"> |
| 31 <hr> | 31 <hr> |
| 32 </div> | 32 </div> |
| 33 <div class="flex-item-20-percent"></div> | 33 <div class="flex-item-20-percent"></div> |
| 34 </div> | 34 </div> |
| 35 | 35 |
| 36 <isolate-shared-summary isolate="{{ isolate }}"></isolate-shared-summary> | 36 <isolate-shared-summary isolate="{{ isolate }}"></isolate-shared-summary> |
| 37 | 37 |
| 38 </template> | 38 </template> |
| 39 </polymer-element> | 39 </polymer-element> |
| 40 | 40 |
| 41 <polymer-element name="isolate-run-state" extends="observatory-element"> | 41 <polymer-element name="isolate-run-state" extends="observatory-element"> |
| 42 <template> | 42 <template> |
| 43 <template if="{{ isolate.pauseEvent != null }}"> | 43 <template if="{{ isolate.pauseEvent != null }}"> |
| 44 <strong>paused</strong> | 44 <strong>paused</strong> |
| 45 <action-link callback="{{ resume }}" label="resume"></action-link> | 45 <action-link callback="{{ resume }}" label="resume"></action-link> |
| 46 |
| 47 <action-link callback="{{ stepInto }}" label="step"></action-link> |
| 48 <action-link callback="{{ stepOver }}" label="step over"></action-lin
k> |
| 49 <action-link callback="{{ stepOut }}" label="step out"></action-link> |
| 46 </template> | 50 </template> |
| 47 | 51 |
| 48 <template if="{{ isolate.running }}"> | 52 <template if="{{ isolate.running }}"> |
| 49 <strong>running</strong> | 53 <strong>running</strong> |
| 50 <action-link callback="{{ pause }}" label="pause"></action-link> | 54 <action-link callback="{{ pause }}" label="pause"></action-link> |
| 51 </template> | 55 </template> |
| 52 | 56 |
| 53 <template if="{{ isolate.idle }}"> | 57 <template if="{{ isolate.idle }}"> |
| 54 <strong>idle</strong> | 58 <strong>idle</strong> |
| 55 <action-link callback="{{ pause }}" label="pause"></action-link> | 59 <action-link callback="{{ pause }}" label="pause"></action-link> |
| 56 </template> | 60 </template> |
| 57 | 61 |
| 58 <template if="{{ isolate.loading }}"> | 62 <template if="{{ isolate.loading }}"> |
| 59 <strong>loading...</strong> | 63 <strong>loading...</strong> |
| 60 </template> | 64 </template> |
| 61 </template> | 65 </template> |
| 62 </polymer-element> | 66 </polymer-element> |
| 63 | 67 |
| 64 <polymer-element name="isolate-location" extends="observatory-element"> | 68 <polymer-element name="isolate-location" extends="observatory-element"> |
| 65 <template> | 69 <template> |
| 66 <template if="{{ isolate.pauseEvent != null }}"> | 70 <template if="{{ isolate.pauseEvent != null }}"> |
| 67 <template if="{{ isolate.pauseEvent.eventType == 'IsolateCreated' }}"> | 71 <template if="{{ isolate.pauseEvent.eventType == 'IsolateCreated' }}"> |
| 68 at isolate start | 72 at isolate start |
| 69 </template> | 73 </template> |
| 74 |
| 70 <template if="{{ isolate.pauseEvent.eventType == 'IsolateShutdown' }}"> | 75 <template if="{{ isolate.pauseEvent.eventType == 'IsolateShutdown' }}"> |
| 71 at isolate exit | 76 at isolate exit |
| 72 </template> | 77 </template> |
| 73 <template if="{{ isolate.pauseEvent.eventType == 'IsolateInterrupted' }}"> | 78 |
| 79 <template if="{{ isolate.pauseEvent.eventType == 'IsolateInterrupted' || |
| 80 isolate.pauseEvent.eventType == 'BreakpointReached' || |
| 81 isolate.pauseEvent.eventType == 'ExceptionThrown' }}"> |
| 82 <template if="{{ isolate.pauseEvent.breakpoint != null }}"> |
| 83 by breakpoint |
| 84 </template> |
| 85 <template if="{{ isolate.pauseEvent.eventType == 'ExceptionThrown' }}"> |
| 86 by exception |
| 87 </template> |
| 74 at | 88 at |
| 75 <function-ref ref="{{ isolate.topFrame['function'] }}"> | 89 <function-ref ref="{{ isolate.topFrame['function'] }}"> |
| 76 </function-ref> | 90 </function-ref> |
| 77 (<script-ref ref="{{ isolate.topFrame['script'] }}" | 91 (<script-ref ref="{{ isolate.topFrame['script'] }}" |
| 78 pos="{{ isolate.topFrame['tokenPos'] }}"></script-ref>) | 92 pos="{{ isolate.topFrame['tokenPos'] }}"></script-ref>) |
| 79 </template> | 93 </template> |
| 80 <template if="{{ isolate.pauseEvent.eventType == 'BreakpointReached' }}"> | |
| 81 at breakpoint {{ isolate.pauseEvent.breakpoint['id'] }} | |
| 82 <function-ref ref="{{ isolate.topFrame['function'] }}"> | |
| 83 </function-ref> | |
| 84 (<script-ref ref="{{ isolate.topFrame['script'] }}" | |
| 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>) | |
| 93 </template> | |
| 94 </template> | 94 </template> |
| 95 | 95 |
| 96 <template if="{{ isolate.running }}"> | 96 <template if="{{ isolate.running }}"> |
| 97 at | 97 at |
| 98 <function-ref ref="{{ isolate.topFrame['function'] }}"> | 98 <function-ref ref="{{ isolate.topFrame['function'] }}"> |
| 99 </function-ref> | 99 </function-ref> |
| 100 (<script-ref ref="{{ isolate.topFrame['script'] }}" | 100 (<script-ref ref="{{ isolate.topFrame['script'] }}" |
| 101 pos="{{ isolate.topFrame['tokenPos'] }}"></script-ref>) | 101 pos="{{ isolate.topFrame['tokenPos'] }}"></script-ref>) |
| 102 </template> | 102 </template> |
| 103 | 103 |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 191 </template> | 191 </template> |
| 192 </polymer-element> | 192 </polymer-element> |
| 193 | 193 |
| 194 <polymer-element name="isolate-counter-chart" extends="observatory-element"> | 194 <polymer-element name="isolate-counter-chart" extends="observatory-element"> |
| 195 <template> | 195 <template> |
| 196 <div id="counterPieChart" style="height: 200px"></div> | 196 <div id="counterPieChart" style="height: 200px"></div> |
| 197 </template> | 197 </template> |
| 198 </polymer-element> | 198 </polymer-element> |
| 199 | 199 |
| 200 <script type="application/dart" src="isolate_summary.dart"></script> | 200 <script type="application/dart" src="isolate_summary.dart"></script> |
| OLD | NEW |