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

Side by Side Diff: runtime/bin/vmservice/client/lib/src/elements/nav_bar.html

Issue 381383010: Add breakpoints and single-stepping to Observatory. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: fix bugs, gen js Created 6 years, 4 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 <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="observatory_element.html"> 3 <link rel="import" href="observatory_element.html">
3 4
4 <polymer-element name="nav-bar" extends="observatory-element"> 5 <polymer-element name="nav-bar" extends="observatory-element">
5 <template> 6 <template>
6 <link rel="stylesheet" href="css/shared.css"> 7 <link rel="stylesheet" href="css/shared.css">
7 <style> 8 <style>
8 nav { 9 nav {
9 position: fixed; 10 position: fixed;
10 width: 100%; 11 width: 100%;
11 z-index: 1000; 12 z-index: 1000;
(...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after
308 border-radius: 9px; 309 border-radius: 9px;
309 color: white; 310 color: white;
310 font-size: 18px; 311 font-size: 18px;
311 cursor: pointer; 312 cursor: pointer;
312 text-align: center; 313 text-align: center;
313 } 314 }
314 a.boxclose:hover { 315 a.boxclose:hover {
315 background: rgba(255,255,255,0.5); 316 background: rgba(255,255,255,0.5);
316 } 317 }
317 </style> 318 </style>
318 <template if="{{ event.eventType == 'IsolateInterrupted' }}"> 319 <template if="{{ event.eventType == 'IsolateInterrupted' ||
320 event.eventType == 'BreakpointReached' ||
321 event.eventType == 'ExceptionThrown' }}">
319 <div class="item"> 322 <div class="item">
320 Isolate 323 Isolate
321 <a class="link" on-click="{{ goto }}" href="{{ event.isolate.link }}">{{ event.isolate.name }}</a> 324 <a class="link" on-click="{{ goto }}"
325 href="{{ event.isolate.link }}">{{ event.isolate.name }}</a>
322 is paused 326 is paused
327 <template if="{{ event.breakpoint != null }}">
328 at breakpoint
329 </template>
330 <template if="{{ event.eventType == 'ExceptionThrown' }}">
331 at exception
332 </template>
333
334 <br><br>
335 <action-link callback="{{ resume }}" label="resume" color="white">
336 </action-link>
337 <action-link callback="{{ stepInto }}" label="step" color="white">
338 </action-link>
339 <action-link callback="{{ stepOver }}" label="step&nbsp;over"
340 color="white"></action-link>
341 <action-link callback="{{ stepOut }}" label="step&nbsp;out"
342 color="white"></action-link>
323 <a class="boxclose" on-click="{{ closeItem }}">&times;</a> 343 <a class="boxclose" on-click="{{ closeItem }}">&times;</a>
324 </div> 344 </div>
325 </template> 345 </template>
326 <template if="{{ event.eventType == 'BreakpointReached' }}">
327 <div class="item">
328 Isolate
329 <a class="link" on-click="{{ goto }}" href="{{ event.isolate.link }}">{{ event.isolate.name }}</a>
330 is paused at breakpoint {{ event.breakpoint['id'] }}
331 <a class="boxclose" on-click="{{ closeItem }}">&times;</a>
332 </div>
333 </template>
334 <template if="{{ event.eventType == 'ExceptionThrown' }}">
335 <div class="item">
336 Isolate
337 <a class="link" on-click="{{ goto }}" href="{{ event.isolate.link }}">{{ event.isolate.name }}</a>
338 is paused at exception
339 <a class="boxclose" on-click="{{ closeItem }}">&times;</a>
340 </div>
341 </template>
342 </template> 346 </template>
343 </polymer-element> 347 </polymer-element>
344 348
345 349
346 <script type="application/dart" src="nav_bar.dart"></script> 350 <script type="application/dart" src="nav_bar.dart"></script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698