OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. | 2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. |
3 * Copyright (C) 2011 Google Inc. All rights reserved. | 3 * Copyright (C) 2011 Google Inc. All rights reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 28 matching lines...) Expand all Loading... |
39 importScript("SourcesNavigator.js"); | 39 importScript("SourcesNavigator.js"); |
40 importScript("SourcesSearchScope.js"); | 40 importScript("SourcesSearchScope.js"); |
41 importScript("StyleSheetOutlineDialog.js"); | 41 importScript("StyleSheetOutlineDialog.js"); |
42 importScript("TabbedEditorContainer.js"); | 42 importScript("TabbedEditorContainer.js"); |
43 importScript("WatchExpressionsSidebarPane.js"); | 43 importScript("WatchExpressionsSidebarPane.js"); |
44 importScript("WorkersSidebarPane.js"); | 44 importScript("WorkersSidebarPane.js"); |
45 importScript("ThreadsToolbar.js"); | 45 importScript("ThreadsToolbar.js"); |
46 importScript("ScriptFormatterEditorAction.js"); | 46 importScript("ScriptFormatterEditorAction.js"); |
47 importScript("InplaceFormatterEditorAction.js"); | 47 importScript("InplaceFormatterEditorAction.js"); |
48 importScript("ScriptFormatter.js"); | 48 importScript("ScriptFormatter.js"); |
49 importScript("SourcesEditor.js"); | 49 importScript("SourcesView.js"); |
50 | 50 |
51 /** | 51 /** |
52 * @constructor | 52 * @constructor |
53 * @implements {WebInspector.ContextMenu.Provider} | 53 * @implements {WebInspector.ContextMenu.Provider} |
54 * @extends {WebInspector.Panel} | 54 * @extends {WebInspector.Panel} |
55 * @param {!WebInspector.Workspace=} workspaceForTest | 55 * @param {!WebInspector.Workspace=} workspaceForTest |
56 */ | 56 */ |
57 WebInspector.SourcesPanel = function(workspaceForTest) | 57 WebInspector.SourcesPanel = function(workspaceForTest) |
58 { | 58 { |
59 WebInspector.Panel.call(this, "sources"); | 59 WebInspector.Panel.call(this, "sources"); |
(...skipping 1172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1232 WebInspector.SourcesPanel.ShowGoToSourceDialogActionDelegate.prototype = { | 1232 WebInspector.SourcesPanel.ShowGoToSourceDialogActionDelegate.prototype = { |
1233 /** | 1233 /** |
1234 * @return {boolean} | 1234 * @return {boolean} |
1235 */ | 1235 */ |
1236 handleAction: function() | 1236 handleAction: function() |
1237 { | 1237 { |
1238 /** @type {!WebInspector.SourcesPanel} */ (WebInspector.inspectorView.sh
owPanel("sources")).showGoToSourceDialog(); | 1238 /** @type {!WebInspector.SourcesPanel} */ (WebInspector.inspectorView.sh
owPanel("sources")).showGoToSourceDialog(); |
1239 return true; | 1239 return true; |
1240 } | 1240 } |
1241 } | 1241 } |
OLD | NEW |