OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. | 2 * Copyright (C) 2008 Apple 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 | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 1049 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1060 WebInspector.CPUFlameChartDataProvider.prototype = { | 1060 WebInspector.CPUFlameChartDataProvider.prototype = { |
1061 /** | 1061 /** |
1062 * @return {number} | 1062 * @return {number} |
1063 */ | 1063 */ |
1064 barHeight: function() | 1064 barHeight: function() |
1065 { | 1065 { |
1066 return 15; | 1066 return 15; |
1067 }, | 1067 }, |
1068 | 1068 |
1069 /** | 1069 /** |
| 1070 * @return {number} |
| 1071 */ |
| 1072 textBaseline: function() |
| 1073 { |
| 1074 return 4; |
| 1075 }, |
| 1076 |
| 1077 /** |
| 1078 * @return {number} |
| 1079 */ |
| 1080 textPadding: function() |
| 1081 { |
| 1082 return 2; |
| 1083 }, |
| 1084 |
| 1085 /** |
1070 * @param {number} startTime | 1086 * @param {number} startTime |
1071 * @param {number} endTime | 1087 * @param {number} endTime |
1072 * @return {?Array.<number>} | 1088 * @return {?Array.<number>} |
1073 */ | 1089 */ |
1074 dividerOffsets: function(startTime, endTime) | 1090 dividerOffsets: function(startTime, endTime) |
1075 { | 1091 { |
1076 return null; | 1092 return null; |
1077 }, | 1093 }, |
1078 | 1094 |
1079 /** | 1095 /** |
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1330 }, | 1346 }, |
1331 | 1347 |
1332 /** | 1348 /** |
1333 * @param {number} entryIndex | 1349 * @param {number} entryIndex |
1334 * @return {!string} | 1350 * @return {!string} |
1335 */ | 1351 */ |
1336 entryColor: function(entryIndex) | 1352 entryColor: function(entryIndex) |
1337 { | 1353 { |
1338 return this._entryColors[entryIndex]; | 1354 return this._entryColors[entryIndex]; |
1339 }, | 1355 }, |
| 1356 |
| 1357 /** |
| 1358 * @param {number} entryIndex |
| 1359 * @return {!string} |
| 1360 */ |
| 1361 textColor: function(entryIndex) |
| 1362 { |
| 1363 return "#333"; |
| 1364 } |
1340 } | 1365 } |
OLD | NEW |