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

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

Issue 866663003: Add a working command line debugger to Observatory. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 10 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="action_link.html">
3 <link rel="import" href="observatory_element.html"> 3 <link rel="import" href="observatory_element.html">
4 4
5 <polymer-element name="nav-bar" extends="observatory-element"> 5 <polymer-element name="nav-bar" extends="observatory-element">
6 <template> 6 <template>
7 <link rel="stylesheet" href="css/shared.css"> 7 <link rel="stylesheet" href="css/shared.css">
8 <style> 8 <style>
9 nav { 9 nav {
10 position: fixed; 10 position: fixed;
(...skipping 15 matching lines...) Expand all
26 nav ul:after { 26 nav ul:after {
27 content: ""; clear: both; display: block; 27 content: ""; clear: both; display: block;
28 } 28 }
29 .vertical-spacer { 29 .vertical-spacer {
30 height: 40px; 30 height: 40px;
31 background-color: #0489c3; 31 background-color: #0489c3;
32 } 32 }
33 </style> 33 </style>
34 <nav> 34 <nav>
35 <ul> 35 <ul>
36 <nav-notify events="{{ app.notifications }}"></nav-notify> 36 <template if="{{ showNotify }}">
37 <nav-notify events="{{ app.notifications }}"></nav-notify>
38 </template>
37 <content></content> 39 <content></content>
38 </ul> 40 </ul>
39 </nav> 41 </nav>
40 <div class="vertical-spacer"> 42 <div class="vertical-spacer">
41 </div> 43 </div>
42 <template if="{{ pad }}"> 44 <template if="{{ pad }}">
43 <br> 45 <br>
44 </template> 46 </template>
45 </template> 47 </template>
46 </polymer-element> 48 </polymer-element>
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
267 269
268 <polymer-element name="nav-notify-item" extends="observatory-element"> 270 <polymer-element name="nav-notify-item" extends="observatory-element">
269 <template> 271 <template>
270 <style> 272 <style>
271 .item { 273 .item {
272 position: relative; 274 position: relative;
273 padding: 16px; 275 padding: 16px;
274 margin-top: 10px; 276 margin-top: 10px;
275 margin-right: 10px; 277 margin-right: 10px;
276 padding-right: 25px; 278 padding-right: 25px;
277 width: 200px; 279 width: 225px;
278 color: #ddd; 280 color: #ddd;
279 background: rgba(0,0,0,.6); 281 background: rgba(0,0,0,.6);
280 border: solid 2px white; 282 border: solid 2px white;
281 box-shadow: 0 0 5px black; 283 box-shadow: 0 0 5px black;
282 border-radius: 5px; 284 border-radius: 5px;
283 animation: fadein 1s; 285 animation: fadein 1s;
284 } 286 }
285 287
286 @keyframes fadein { 288 @keyframes fadein {
287 from { opacity: 0; } 289 from { opacity: 0; }
(...skipping 28 matching lines...) Expand all
316 </style> 318 </style>
317 <template if="{{ event.eventType == 'IsolateInterrupted' || 319 <template if="{{ event.eventType == 'IsolateInterrupted' ||
318 event.eventType == 'BreakpointReached' || 320 event.eventType == 'BreakpointReached' ||
319 event.eventType == 'ExceptionThrown' }}"> 321 event.eventType == 'ExceptionThrown' }}">
320 <div class="item"> 322 <div class="item">
321 Isolate 323 Isolate
322 <a class="link" on-click="{{ goto }}" 324 <a class="link" on-click="{{ goto }}"
323 _href="{{ gotoLink('/inspect', event.isolate) }}">{{ event.isolate.na me }}</a> 325 _href="{{ gotoLink('/inspect', event.isolate) }}">{{ event.isolate.na me }}</a>
324 is paused 326 is paused
325 <template if="{{ event.breakpoint != null }}"> 327 <template if="{{ event.breakpoint != null }}">
326 at breakpoint 328 at breakpoint {{ event.breakpoint['breakpointNumber'] }}
327 </template> 329 </template>
328 <template if="{{ event.eventType == 'ExceptionThrown' }}"> 330 <template if="{{ event.eventType == 'ExceptionThrown' }}">
329 at exception 331 at exception
330 </template> 332 </template>
331 333
332 <br><br> 334 <br><br>
333 <action-link callback="{{ resume }}" label="resume" color="white"> 335 [<a class="link" on-click="{{ goto }}"
334 </action-link> 336 _href="{{ gotoLink('/debugger', event.isolate) }}">debug</a>]
335 <action-link callback="{{ stepInto }}" label="step" color="white"> 337
336 </action-link>
337 <action-link callback="{{ stepOver }}" label="step&nbsp;over"
338 color="white"></action-link>
339 <action-link callback="{{ stepOut }}" label="step&nbsp;out"
340 color="white"></action-link>
341 <a class="boxclose" on-click="{{ closeItem }}">&times;</a> 338 <a class="boxclose" on-click="{{ closeItem }}">&times;</a>
342 </div> 339 </div>
343 </template> 340 </template>
344 <template if="{{ event.eventType == 'VMDisconnected' }}"> 341 <template if="{{ event.eventType == 'VMDisconnected' }}">
345 <div class="item"> 342 <div class="item">
346 Disconnected from VM 343 Disconnected from VM
347 <br><br> 344 <br><br>
348 <a class="boxclose" on-click="{{ closeItem }}">&times;</a> 345 <a class="boxclose" on-click="{{ closeItem }}">&times;</a>
349 </div> 346 </div>
350 </template> 347 </template>
351 </template> 348 </template>
352 </polymer-element> 349 </polymer-element>
353 350
354 351
355 <script type="application/dart" src="nav_bar.dart"></script> 352 <script type="application/dart" src="nav_bar.dart"></script>
OLDNEW
« no previous file with comments | « runtime/observatory/lib/src/elements/nav_bar.dart ('k') | runtime/observatory/lib/src/elements/script_inset.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698