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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 */ | 48 */ |
49 WebInspector.ProfileType.Events = { | 49 WebInspector.ProfileType.Events = { |
50 AddProfileHeader: "add-profile-header", | 50 AddProfileHeader: "add-profile-header", |
51 ProfileComplete: "profile-complete", | 51 ProfileComplete: "profile-complete", |
52 RemoveProfileHeader: "remove-profile-header", | 52 RemoveProfileHeader: "remove-profile-header", |
53 ViewUpdated: "view-updated" | 53 ViewUpdated: "view-updated" |
54 } | 54 } |
55 | 55 |
56 WebInspector.ProfileType.prototype = { | 56 WebInspector.ProfileType.prototype = { |
57 /** | 57 /** |
| 58 * @return {number} |
| 59 */ |
| 60 nextProfileUid: function() |
| 61 { |
| 62 return this._nextProfileUid; |
| 63 }, |
| 64 |
| 65 /** |
58 * @return {boolean} | 66 * @return {boolean} |
59 */ | 67 */ |
60 hasTemporaryView: function() | 68 hasTemporaryView: function() |
61 { | 69 { |
62 return false; | 70 return false; |
63 }, | 71 }, |
64 | 72 |
65 /** | 73 /** |
66 * @return {?string} | 74 * @return {?string} |
67 */ | 75 */ |
(...skipping 1273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1341 importScript("HeapSnapshotCommon.js"); | 1349 importScript("HeapSnapshotCommon.js"); |
1342 importScript("HeapSnapshotProxy.js"); | 1350 importScript("HeapSnapshotProxy.js"); |
1343 importScript("HeapSnapshotDataGrids.js"); | 1351 importScript("HeapSnapshotDataGrids.js"); |
1344 importScript("HeapSnapshotGridNodes.js"); | 1352 importScript("HeapSnapshotGridNodes.js"); |
1345 importScript("HeapSnapshotView.js"); | 1353 importScript("HeapSnapshotView.js"); |
1346 importScript("ProfileLauncherView.js"); | 1354 importScript("ProfileLauncherView.js"); |
1347 importScript("CanvasProfileView.js"); | 1355 importScript("CanvasProfileView.js"); |
1348 importScript("CanvasReplayStateView.js"); | 1356 importScript("CanvasReplayStateView.js"); |
1349 | 1357 |
1350 WebInspector.ProfileTypeRegistry.instance = new WebInspector.ProfileTypeRegistry
(); | 1358 WebInspector.ProfileTypeRegistry.instance = new WebInspector.ProfileTypeRegistry
(); |
OLD | NEW |