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 961 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
972 if (this._searchResultsView) { | 972 if (this._searchResultsView) { |
973 if (this._searchResultsView.searchCanceled) | 973 if (this._searchResultsView.searchCanceled) |
974 this._searchResultsView.searchCanceled(); | 974 this._searchResultsView.searchCanceled(); |
975 this._searchResultsView.currentQuery = null; | 975 this._searchResultsView.currentQuery = null; |
976 this._searchResultsView = null; | 976 this._searchResultsView = null; |
977 } | 977 } |
978 this._searchableView.updateSearchMatchesCount(0); | 978 this._searchableView.updateSearchMatchesCount(0); |
979 }, | 979 }, |
980 | 980 |
981 /** | 981 /** |
982 * @param {?Event} event | 982 * @param {!Event} event |
983 * @param {!WebInspector.ContextMenu} contextMenu | 983 * @param {!WebInspector.ContextMenu} contextMenu |
984 * @param {!Object} target | 984 * @param {!Object} target |
985 */ | 985 */ |
986 appendApplicableItems: function(event, contextMenu, target) | 986 appendApplicableItems: function(event, contextMenu, target) |
987 { | 987 { |
988 if (!(target instanceof WebInspector.RemoteObject)) | 988 if (!(target instanceof WebInspector.RemoteObject)) |
989 return; | 989 return; |
990 | 990 |
991 if (WebInspector.inspectorView.currentPanel() !== this) | 991 if (WebInspector.inspectorView.currentPanel() !== this) |
992 return; | 992 return; |
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1174 /** | 1174 /** |
1175 * @constructor | 1175 * @constructor |
1176 * @implements {WebInspector.ContextMenu.Provider} | 1176 * @implements {WebInspector.ContextMenu.Provider} |
1177 */ | 1177 */ |
1178 WebInspector.ProfilesPanel.ContextMenuProvider = function() | 1178 WebInspector.ProfilesPanel.ContextMenuProvider = function() |
1179 { | 1179 { |
1180 } | 1180 } |
1181 | 1181 |
1182 WebInspector.ProfilesPanel.ContextMenuProvider.prototype = { | 1182 WebInspector.ProfilesPanel.ContextMenuProvider.prototype = { |
1183 /** | 1183 /** |
1184 * @param {?Event} event | 1184 * @param {!Event} event |
1185 * @param {!WebInspector.ContextMenu} contextMenu | 1185 * @param {!WebInspector.ContextMenu} contextMenu |
1186 * @param {!Object} target | 1186 * @param {!Object} target |
1187 */ | 1187 */ |
1188 appendApplicableItems: function(event, contextMenu, target) | 1188 appendApplicableItems: function(event, contextMenu, target) |
1189 { | 1189 { |
1190 WebInspector.inspectorView.panel("profiles").appendApplicableItems(event
, contextMenu, target); | 1190 WebInspector.inspectorView.panel("profiles").appendApplicableItems(event
, contextMenu, target); |
1191 } | 1191 } |
1192 } | 1192 } |
1193 | 1193 |
1194 /** | 1194 /** |
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1341 importScript("HeapSnapshotCommon.js"); | 1341 importScript("HeapSnapshotCommon.js"); |
1342 importScript("HeapSnapshotProxy.js"); | 1342 importScript("HeapSnapshotProxy.js"); |
1343 importScript("HeapSnapshotDataGrids.js"); | 1343 importScript("HeapSnapshotDataGrids.js"); |
1344 importScript("HeapSnapshotGridNodes.js"); | 1344 importScript("HeapSnapshotGridNodes.js"); |
1345 importScript("HeapSnapshotView.js"); | 1345 importScript("HeapSnapshotView.js"); |
1346 importScript("ProfileLauncherView.js"); | 1346 importScript("ProfileLauncherView.js"); |
1347 importScript("CanvasProfileView.js"); | 1347 importScript("CanvasProfileView.js"); |
1348 importScript("CanvasReplayStateView.js"); | 1348 importScript("CanvasReplayStateView.js"); |
1349 | 1349 |
1350 WebInspector.ProfileTypeRegistry.instance = new WebInspector.ProfileTypeRegistry
(); | 1350 WebInspector.ProfileTypeRegistry.instance = new WebInspector.ProfileTypeRegistry
(); |
OLD | NEW |