| OLD | NEW |
| 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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 /** | 122 /** |
| 123 * @param {number} index | 123 * @param {number} index |
| 124 * @return {string} | 124 * @return {string} |
| 125 */ | 125 */ |
| 126 markerTitle: function(index) | 126 markerTitle: function(index) |
| 127 { | 127 { |
| 128 throw new Error("Unreachable."); | 128 throw new Error("Unreachable."); |
| 129 }, | 129 }, |
| 130 | 130 |
| 131 /** | 131 /** |
| 132 * @param {number} index |
| 133 * @return {boolean} |
| 134 */ |
| 135 isTallMarker: function(index) |
| 136 { |
| 137 throw new Error("Unreachable."); |
| 138 }, |
| 139 |
| 140 /** |
| 132 * @return {!WebInspector.FlameChart.TimelineData} | 141 * @return {!WebInspector.FlameChart.TimelineData} |
| 133 */ | 142 */ |
| 134 _calculateTimelineData: function() | 143 _calculateTimelineData: function() |
| 135 { | 144 { |
| 136 /** | 145 /** |
| 137 * @constructor | 146 * @constructor |
| 138 * @param {number} depth | 147 * @param {number} depth |
| 139 * @param {number} duration | 148 * @param {number} duration |
| 140 * @param {number} startTime | 149 * @param {number} startTime |
| 141 * @param {number} selfTime | 150 * @param {number} selfTime |
| (...skipping 524 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 666 { | 675 { |
| 667 var ratio = window.devicePixelRatio; | 676 var ratio = window.devicePixelRatio; |
| 668 this._overviewCanvas.width = width * ratio; | 677 this._overviewCanvas.width = width * ratio; |
| 669 this._overviewCanvas.height = height * ratio; | 678 this._overviewCanvas.height = height * ratio; |
| 670 this._overviewCanvas.style.width = width + "px"; | 679 this._overviewCanvas.style.width = width + "px"; |
| 671 this._overviewCanvas.style.height = height + "px"; | 680 this._overviewCanvas.style.height = height + "px"; |
| 672 }, | 681 }, |
| 673 | 682 |
| 674 __proto__: WebInspector.VBox.prototype | 683 __proto__: WebInspector.VBox.prototype |
| 675 } | 684 } |
| OLD | NEW |