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

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: Reverting the reverted container existance check. 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-utilization-strips {
542 position: absolute; 542 display: flex;
543 top: 0; 543 flex-flow: column nowrap;
caseq 2013/11/05 14:26:58 consider using .vbox
alph 2013/11/05 14:59:16 Done.
544 height: 19px; 544 height: 19px;
545 z-index: 350; 545 padding: 1px 0;
546 width: 100%;
547 overflow: hidden;
548 } 546 }
549 547
550 .timeline-cpu-bars .timeline-graph-bar { 548 .timeline-utilization-strip {
549 z-index: 350;
550 overflow: hidden;
551 flex: 1 1 auto;
caseq 2013/11/05 14:26:58 flex: auto;
alph 2013/11/05 14:59:16 Done.
552 position: relative;
553 }
554
555 .timeline-utilization-strip .timeline-graph-bar {
551 border-color: rgb(192, 192, 192); 556 border-color: rgb(192, 192, 192);
552 background-color: rgba(0, 0, 0, 0.1); 557 background-color: rgba(0, 0, 0, 0.1);
553 top: 4px; 558 top: 1px;
caseq 2013/11/05 14:26:58 can we use margins instead?
alph 2013/11/05 14:59:16 Done.
554 bottom: 4px; 559 bottom: 1px;
555 height: auto; 560 height: auto;
556 } 561 }
557 562
563 .timeline-utilization-strip.gpu .timeline-graph-bar {
564 background-color: red;
565 border: none;
566 }
567
558 .timeline-cpu-curtain-left, .timeline-cpu-curtain-right { 568 .timeline-cpu-curtain-left, .timeline-cpu-curtain-right {
559 background-color: rgba(0, 0, 0, 0.15); 569 background-color: rgba(0, 0, 0, 0.15);
560 position: absolute; 570 position: absolute;
561 top: 0; 571 top: 0;
562 height: 100%; 572 height: 100%;
563 } 573 }
564 574
565 .timeline-cpu-curtain-left { 575 .timeline-cpu-curtain-left {
566 left: 0; 576 left: 0;
567 } 577 }
(...skipping 30 matching lines...) Expand all
598 608
599 @-webkit-keyframes timeline_record_highlight { 609 @-webkit-keyframes timeline_record_highlight {
600 from {background-color: rgba(255, 255, 120, 1); } 610 from {background-color: rgba(255, 255, 120, 1); }
601 to { background-color: rgba(255, 255, 120, 0); } 611 to { background-color: rgba(255, 255, 120, 0); }
602 } 612 }
603 613
604 .timeline-filters-header { 614 .timeline-filters-header {
605 flex: 0 0 23px; 615 flex: 0 0 23px;
606 overflow: hidden; 616 overflow: hidden;
607 } 617 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698