| 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 701 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 712 ProfilerAgent.start(); | 712 ProfilerAgent.start(); |
| 713 }, | 713 }, |
| 714 | 714 |
| 715 stopRecordingProfile: function() | 715 stopRecordingProfile: function() |
| 716 { | 716 { |
| 717 this._recording = false; | 717 this._recording = false; |
| 718 ProfilerAgent.stop(); | 718 ProfilerAgent.stop(); |
| 719 }, | 719 }, |
| 720 | 720 |
| 721 /** | 721 /** |
| 722 * @param {boolean} isProfiling | |
| 723 */ | |
| 724 setRecordingProfile: function(isProfiling) | |
| 725 { | |
| 726 this._recording = isProfiling; | |
| 727 }, | |
| 728 | |
| 729 /** | |
| 730 * @override | 722 * @override |
| 731 * @param {string=} title | 723 * @param {string=} title |
| 732 * @return {!WebInspector.ProfileHeader} | 724 * @return {!WebInspector.ProfileHeader} |
| 733 */ | 725 */ |
| 734 createTemporaryProfile: function(title) | 726 createTemporaryProfile: function(title) |
| 735 { | 727 { |
| 736 title = title || WebInspector.UIString("Recording\u2026"); | 728 title = title || WebInspector.UIString("Recording\u2026"); |
| 737 return new WebInspector.CPUProfileHeader(this, title); | 729 return new WebInspector.CPUProfileHeader(this, title); |
| 738 }, | 730 }, |
| 739 | 731 |
| (...skipping 407 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1147 * @return {Object} | 1139 * @return {Object} |
| 1148 */ | 1140 */ |
| 1149 entryData: function(entryIndex) | 1141 entryData: function(entryIndex) |
| 1150 { | 1142 { |
| 1151 return this._timelineData.entryNodes[entryIndex]; | 1143 return this._timelineData.entryNodes[entryIndex]; |
| 1152 }, | 1144 }, |
| 1153 | 1145 |
| 1154 __proto__: WebInspector.FlameChartDataProvider | 1146 __proto__: WebInspector.FlameChartDataProvider |
| 1155 } | 1147 } |
| 1156 | 1148 |
| OLD | NEW |