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 1003 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1014 * @this {WebInspector.ProfilesPanel} | 1014 * @this {WebInspector.ProfilesPanel} |
1015 */ | 1015 */ |
1016 function didReceiveHeapObjectId(viewName, error, result) | 1016 function didReceiveHeapObjectId(viewName, error, result) |
1017 { | 1017 { |
1018 if (WebInspector.inspectorView.currentPanel() !== this) | 1018 if (WebInspector.inspectorView.currentPanel() !== this) |
1019 return; | 1019 return; |
1020 if (!error) | 1020 if (!error) |
1021 this.showObject(result, viewName); | 1021 this.showObject(result, viewName); |
1022 } | 1022 } |
1023 | 1023 |
1024 if (WebInspector.settings.showAdvancedHeapSnapshotProperties.get()) | |
1025 contextMenu.appendItem(WebInspector.UIString(WebInspector.useLowerCa
seMenuTitles() ? "Reveal in Dominators view" : "Reveal in Dominators View"), rev
ealInView.bind(this, "Dominators")); | |
1026 contextMenu.appendItem(WebInspector.UIString(WebInspector.useLowerCaseMe
nuTitles() ? "Reveal in Summary view" : "Reveal in Summary View"), revealInView.
bind(this, "Summary")); | 1024 contextMenu.appendItem(WebInspector.UIString(WebInspector.useLowerCaseMe
nuTitles() ? "Reveal in Summary view" : "Reveal in Summary View"), revealInView.
bind(this, "Summary")); |
1027 }, | 1025 }, |
1028 | 1026 |
1029 __proto__: WebInspector.PanelWithSidebarTree.prototype | 1027 __proto__: WebInspector.PanelWithSidebarTree.prototype |
1030 } | 1028 } |
1031 | 1029 |
1032 | 1030 |
1033 /** | 1031 /** |
1034 * @constructor | 1032 * @constructor |
1035 * @extends {WebInspector.SidebarSectionTreeElement} | 1033 * @extends {WebInspector.SidebarSectionTreeElement} |
(...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1343 importScript("HeapSnapshotCommon.js"); | 1341 importScript("HeapSnapshotCommon.js"); |
1344 importScript("HeapSnapshotProxy.js"); | 1342 importScript("HeapSnapshotProxy.js"); |
1345 importScript("HeapSnapshotDataGrids.js"); | 1343 importScript("HeapSnapshotDataGrids.js"); |
1346 importScript("HeapSnapshotGridNodes.js"); | 1344 importScript("HeapSnapshotGridNodes.js"); |
1347 importScript("HeapSnapshotView.js"); | 1345 importScript("HeapSnapshotView.js"); |
1348 importScript("ProfileLauncherView.js"); | 1346 importScript("ProfileLauncherView.js"); |
1349 importScript("CanvasProfileView.js"); | 1347 importScript("CanvasProfileView.js"); |
1350 importScript("CanvasReplayStateView.js"); | 1348 importScript("CanvasReplayStateView.js"); |
1351 | 1349 |
1352 WebInspector.ProfileTypeRegistry.instance = new WebInspector.ProfileTypeRegistry
(); | 1350 WebInspector.ProfileTypeRegistry.instance = new WebInspector.ProfileTypeRegistry
(); |
OLD | NEW |