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

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

Issue 104523002: [DevTools] Add power profiler and power overview in timeline panel. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 9 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
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 15 matching lines...) Expand all
26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28 */ 28 */
29 29
30 #timeline-overview-panel { 30 #timeline-overview-panel {
31 flex: 0 0 81px; 31 flex: 0 0 81px;
32 position: relative; 32 position: relative;
33 border-bottom: 1px solid rgb(140, 140, 140); 33 border-bottom: 1px solid rgb(140, 140, 140);
34 } 34 }
35 35
36 #timeline-overview-panel.power-overview {
pfeldman 2014/03/24 13:41:25 You should not adjust timeline styles.
Pan 2014/03/25 12:30:20 removed
37 flex: 0 0 106px;
38 position: relative;
39 border-bottom: 1px solid rgb(140, 140, 140);
40 }
41
36 #timeline-overview-panel .timeline-graph-bar { 42 #timeline-overview-panel .timeline-graph-bar {
37 pointer-events: none; 43 pointer-events: none;
38 } 44 }
39 45
40 .timeline-records-title, .timeline-records-list { 46 .timeline-records-title, .timeline-records-list {
41 background-color: rgb(236, 236, 236); 47 background-color: rgb(236, 236, 236);
42 } 48 }
43 49
44 .timeline-records-title { 50 .timeline-records-title {
45 padding: 3px 3px 3px 5px; 51 padding: 3px 3px 3px 5px;
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 } 85 }
80 86
81 #timeline-overview-grid #resources-graphs { 87 #timeline-overview-grid #resources-graphs {
82 position: absolute; 88 position: absolute;
83 top: 0; 89 top: 0;
84 left: 0; 90 left: 0;
85 right: 0; 91 right: 0;
86 height: 80px; 92 height: 80px;
87 } 93 }
88 94
95
96 #timeline-overview-grid.power-overview #resources-graphs {
pfeldman 2014/03/24 13:41:25 ditto
Pan 2014/03/25 12:30:20 removed
97 position: absolute;
98 top: 0;
99 left: 0;
100 right: 0;
101 height: 105px;
102 }
103
89 #timeline-container { 104 #timeline-container {
90 border-right: 0 none transparent; 105 border-right: 0 none transparent;
91 overflow-y: scroll; 106 overflow-y: scroll;
92 overflow-x: hidden; 107 overflow-x: hidden;
93 } 108 }
94 109
95 .timeline-records-view { 110 .timeline-records-view {
96 overflow: hidden !important; 111 overflow: hidden !important;
97 } 112 }
98 113
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 .timeline-tree-item.selected .data.dimmed { 273 .timeline-tree-item.selected .data.dimmed {
259 color: rgba(255, 255, 255, 0.8); 274 color: rgba(255, 255, 255, 0.8);
260 pointer-events: auto; 275 pointer-events: auto;
261 } 276 }
262 277
263 .timeline-tree-item.selected .timeline-tree-item-expand-arrow { 278 .timeline-tree-item.selected .timeline-tree-item-expand-arrow {
264 background-color: white; 279 background-color: white;
265 } 280 }
266 281
267 #timeline-overview-events, 282 #timeline-overview-events,
268 #timeline-overview-memory { 283 #timeline-overview-memory,
284 #timeline-overview-power {
269 position: absolute; 285 position: absolute;
270 left: 0; 286 left: 0;
271 right: 0; 287 right: 0;
272 bottom: 0; 288 bottom: 0;
273 top: 20px; 289 top: 20px;
274 z-index: 160; 290 z-index: 160;
275 } 291 }
276 292
277 #timeline-overview-memory { 293 #timeline-overview-memory,
294 #timeline-overview-power {
278 top: 25px; 295 top: 25px;
279 } 296 }
280 297
281 #timeline-overview-pane { 298 #timeline-overview-pane {
282 flex: 0 0 80px; 299 flex: 0 0 80px;
283 position: relative; 300 position: relative;
284 overflow: hidden; 301 overflow: hidden;
285 } 302 }
286 303
287 #timeline-overview-container { 304 #timeline-overview-container {
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
467 } 484 }
468 485
469 .timeline-overview-sidebar-frames .icon { 486 .timeline-overview-sidebar-frames .icon {
470 -webkit-mask-position: -160px -48px; 487 -webkit-mask-position: -160px -48px;
471 } 488 }
472 489
473 .timeline-overview-sidebar-memory .icon { 490 .timeline-overview-sidebar-memory .icon {
474 -webkit-mask-position: -224px -48px; 491 -webkit-mask-position: -224px -48px;
475 } 492 }
476 493
494 .timeline-overview-sidebar-power .icon {
495 -webkit-mask-position: -64px -120px;
496 }
497
477 .memory-graph-label { 498 .memory-graph-label {
478 position: absolute; 499 position: absolute;
479 left: 5px; 500 left: 5px;
480 font-size: 9px; 501 font-size: 9px;
481 color: rgb(50%, 50%, 50%); 502 color: rgb(50%, 50%, 50%);
482 white-space: nowrap; 503 white-space: nowrap;
483 } 504 }
484 505
485 .max.memory-graph-label { 506 .max.memory-graph-label {
486 top: 5px; 507 top: 5px;
(...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after
797 display: none; 818 display: none;
798 } 819 }
799 820
800 .timeline-flamechart-view .flame-chart-main-pane .resources-divider-label { 821 .timeline-flamechart-view .flame-chart-main-pane .resources-divider-label {
801 text-align: center; 822 text-align: center;
802 } 823 }
803 824
804 .timeline-flamechart { 825 .timeline-flamechart {
805 overflow: hidden; 826 overflow: hidden;
806 } 827 }
828
829 .timeline-power-marker {
pfeldman 2014/03/24 13:41:25 ditto
Pan 2014/03/25 12:30:20 removed
830 position: absolute;
831 border-radius: 3px;
832 width: 4px;
833 height: 4px;
834 margin-left: -3px;
835 margin-top: -2px;
836 background-color: rgb(255, 0, 0);
837 }
838
839 .timeline-power-text {
840 position: absolute;
841 width: 60px;
842 height: 16px;
843 margin-top: -8px;
844 color: rgb(0, 0, 0);
845 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698