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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/timeline/TimelineFlameChart.js

Issue 1744613002: DevTools: Tweak timeline group headers drawing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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) 2014 Google Inc. All rights reserved. 2 * Copyright (C) 2014 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 { 75 {
76 return 4; 76 return 4;
77 }, 77 },
78 78
79 /** 79 /**
80 * @return {number} 80 * @return {number}
81 * @override 81 * @override
82 */ 82 */
83 groupSeparatorHeight: function() 83 groupSeparatorHeight: function()
84 { 84 {
85 return 12; 85 return 3;
86 }, 86 },
87 87
88 /** 88 /**
89 * @override 89 * @override
90 * @param {number} entryIndex 90 * @param {number} entryIndex
91 * @return {string} 91 * @return {string}
92 */ 92 */
93 entryFont: function(entryIndex) 93 entryFont: function(entryIndex)
94 { 94 {
95 return this._font; 95 return this._font;
(...skipping 1361 matching lines...) Expand 10 before | Expand all | Expand 10 after
1457 /** 1457 /**
1458 * @constructor 1458 * @constructor
1459 * @param {!WebInspector.TimelineSelection} selection 1459 * @param {!WebInspector.TimelineSelection} selection
1460 * @param {number} entryIndex 1460 * @param {number} entryIndex
1461 */ 1461 */
1462 WebInspector.TimelineFlameChartView.Selection = function(selection, entryIndex) 1462 WebInspector.TimelineFlameChartView.Selection = function(selection, entryIndex)
1463 { 1463 {
1464 this.timelineSelection = selection; 1464 this.timelineSelection = selection;
1465 this.entryIndex = entryIndex; 1465 this.entryIndex = entryIndex;
1466 } 1466 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698