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

Side by Side Diff: Source/devtools/front_end/timelinePanel.css

Issue 46663010: DevTools: Show GPU utilization bar on timeline (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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 /* 1 /*
2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved.
3 * Copyright (C) 2009 Anthony Ricaud <rik@webkit.org> 3 * Copyright (C) 2009 Anthony Ricaud <rik@webkit.org>
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 503 matching lines...) Expand 10 before | Expand all | Expand 10 after
514 .sidebar-tree-item .timeline-frame-overview-status-bar-item { 514 .sidebar-tree-item .timeline-frame-overview-status-bar-item {
515 position: absolute; 515 position: absolute;
516 right: 10px; 516 right: 10px;
517 top: 4px; 517 top: 4px;
518 } 518 }
519 519
520 .timeline-frame-container { 520 .timeline-frame-container {
521 height: 19px; 521 height: 19px;
522 overflow: hidden; 522 overflow: hidden;
523 background-color: rgb(220, 220, 220); 523 background-color: rgb(220, 220, 220);
524 opacity: 0.6; 524 opacity: 0.8;
525 color: #222; 525 color: black;
526 text-align: center; 526 text-align: center;
527 padding-top: 3px; 527 padding-top: 3px;
528 z-index: 350; 528 z-index: 350;
529 pointer-events: auto; 529 pointer-events: auto;
530 } 530 }
531 531
532 .timeline-frame-strip { 532 .timeline-frame-strip {
533 position: absolute; 533 position: absolute;
534 height: 19px; 534 height: 19px;
535 } 535 }
536 536
537 #timeline-grid-header { 537 #timeline-grid-header {
538 pointer-events: none; 538 pointer-events: none;
539 } 539 }
540 540
541 .timeline-cpu-bars { 541 .timeline-cpu-bars {
542 position: absolute; 542 position: absolute;
543 top: 0; 543 top: 3px;
544 height: 19px; 544 height: 13px;
545 z-index: 350; 545 z-index: 350;
546 width: 100%; 546 width: 100%;
547 overflow: hidden; 547 overflow: hidden;
548 } 548 }
549 549
550 .timeline-cpu-bars .timeline-graph-bar { 550 .timeline-cpu-bars .timeline-graph-bar {
551 border-color: rgb(192, 192, 192); 551 border-color: rgb(192, 192, 192);
552 background-color: rgba(0, 0, 0, 0.1); 552 background-color: rgba(0, 0, 0, 0.1);
553 top: 4px; 553 top: 1px;
554 bottom: 4px; 554 bottom: 1px;
555 height: auto; 555 height: auto;
556 } 556 }
557 557
558 .timeline-gpu-bars {
559 position: absolute;
560 top: 10px;
561 height: 8px;
562 z-index: 350;
563 width: 100%;
564 overflow: hidden;
565 }
566
567 .timeline-gpu-bars .timeline-graph-bar {
568 background-color: red;
569 border: none;
570 top: 1px;
571 bottom: 1px;
572 height: auto;
573 }
574
558 .timeline-cpu-curtain-left, .timeline-cpu-curtain-right { 575 .timeline-cpu-curtain-left, .timeline-cpu-curtain-right {
559 background-color: rgba(0, 0, 0, 0.15); 576 background-color: rgba(0, 0, 0, 0.15);
560 position: absolute; 577 position: absolute;
561 top: 0; 578 top: 0;
562 height: 100%; 579 height: 100%;
563 } 580 }
564 581
565 .timeline-cpu-curtain-left { 582 .timeline-cpu-curtain-left {
566 left: 0; 583 left: 0;
567 } 584 }
(...skipping 30 matching lines...) Expand all
598 615
599 @-webkit-keyframes timeline_record_highlight { 616 @-webkit-keyframes timeline_record_highlight {
600 from {background-color: rgba(255, 255, 120, 1); } 617 from {background-color: rgba(255, 255, 120, 1); }
601 to { background-color: rgba(255, 255, 120, 0); } 618 to { background-color: rgba(255, 255, 120, 0); }
602 } 619 }
603 620
604 .timeline-filters-header { 621 .timeline-filters-header {
605 flex: 0 0 23px; 622 flex: 0 0 23px;
606 overflow: hidden; 623 overflow: hidden;
607 } 624 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698