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

Side by Side Diff: Source/devtools/front_end/profiler/CPUProfileFlameChart.js

Issue 706313002: DevTools: draw load/first paint marks as tall vertical delimiters (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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) 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
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
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 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/components/FlameChart.js ('k') | Source/devtools/front_end/timeline/TimelineFlameChart.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698