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 879 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
890 */ | 890 */ |
891 write: function(text) | 891 write: function(text) |
892 { | 892 { |
893 this._jsonifiedProfile += text; | 893 this._jsonifiedProfile += text; |
894 }, | 894 }, |
895 | 895 |
896 close: function() { }, | 896 close: function() { }, |
897 | 897 |
898 /** | 898 /** |
899 * @override | 899 * @override |
| 900 */ |
| 901 dispose: function() |
| 902 { |
| 903 this.removeTempFile(); |
| 904 }, |
| 905 |
| 906 /** |
| 907 * @override |
900 * @return {!WebInspector.ProfileSidebarTreeElement} | 908 * @return {!WebInspector.ProfileSidebarTreeElement} |
901 */ | 909 */ |
902 createSidebarTreeElement: function() | 910 createSidebarTreeElement: function() |
903 { | 911 { |
904 return new WebInspector.ProfileSidebarTreeElement(this, "profile-sidebar
-tree-item"); | 912 return new WebInspector.ProfileSidebarTreeElement(this, "profile-sidebar
-tree-item"); |
905 }, | 913 }, |
906 | 914 |
907 /** | 915 /** |
908 * @override | 916 * @override |
909 * @param {!WebInspector.ProfilesPanel} profilesPanel | 917 * @param {!WebInspector.ProfilesPanel} profilesPanel |
(...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1229 /** | 1237 /** |
1230 * @param {number} entryIndex | 1238 * @param {number} entryIndex |
1231 * @return {!Object} | 1239 * @return {!Object} |
1232 */ | 1240 */ |
1233 entryData: function(entryIndex) | 1241 entryData: function(entryIndex) |
1234 { | 1242 { |
1235 return this._timelineData.entryNodes[entryIndex]; | 1243 return this._timelineData.entryNodes[entryIndex]; |
1236 } | 1244 } |
1237 } | 1245 } |
1238 | 1246 |
OLD | NEW |