2 * Copyright (C) 2014 Google Inc. All rights reserved.
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are
8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer.
11 * 2. Redistributions in binary form must reproduce the above
12 * copyright notice, this list of conditions and the following disclaimer
13 * in the documentation and/or other materials provided with the
16 * THIS SOFTWARE IS PROVIDED BY GOOGLE INC. AND ITS CONTRIBUTORS
17 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
18 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
19 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL GOOGLE INC.
20 * OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
21 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
22 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
26 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 * @type {!Array.<!WebInspector.ModuleManager.ModuleDescriptor>}
32 var allDescriptors = [
37 type: "@WebInspector.ActionDelegate",
40 platform: "windows,linux",
48 className: "WebInspector.Main.ReloadActionDelegate"
51 type: "@WebInspector.ActionDelegate",
54 platform: "windows,linux",
55 shortcut: "Shift+F5 Ctrl+F5 Ctrl+Shift+F5 Shift+Ctrl+R"
59 shortcut: "Shift+Meta+R"
62 className: "WebInspector.Main.HardReloadActionDelegate"
65 type: "@WebInspector.ActionDelegate",
71 className: "WebInspector.InspectorView.DrawerToggleActionDelegate"
74 type: "@WebInspector.ActionDelegate",
80 className: "WebInspector.Main.DebugReloadActionDelegate"
88 type: "@WebInspector.Panel",
92 className: "WebInspector.ElementsPanel"
95 type: "@WebInspector.ContextMenu.Provider",
96 contextTypes: ["WebInspector.RemoteObject", "WebInspector.DOMNode"],
97 className: "WebInspector.ElementsPanel.ContextMenuProvider"
104 className: "WebInspector.OverridesView"
111 className: "WebInspector.RenderingOptionsView"
114 type: "@WebInspector.Renderer",
115 contextTypes: ["WebInspector.DOMNode"],
116 className: "WebInspector.ElementsTreeOutline.Renderer"
119 type: "@WebInspector.Revealer",
120 contextTypes: ["WebInspector.DOMNode"],
121 className: "WebInspector.ElementsPanel.DOMNodeRevealer"
124 scripts: [ "ElementsPanel.js" ]
130 type: "@WebInspector.Panel",
134 className: "WebInspector.NetworkPanel"
137 type: "@WebInspector.ContextMenu.Provider",
138 contextTypes: ["WebInspector.NetworkRequest", "WebInspector.Resource", "WebInspector.UISourceCode"],
139 className: "WebInspector.NetworkPanel.ContextMenuProvider"
142 type: "@WebInspector.Revealer",
143 contextTypes: ["WebInspector.NetworkRequest"],
144 className: "WebInspector.NetworkPanel.RequestRevealer"
147 scripts: [ "NetworkPanel.js" ]
153 type: "@WebInspector.InplaceEditor",
154 className: "WebInspector.CodeMirrorUtils"
157 type: "@WebInspector.TokenizerFactory",
158 className: "WebInspector.CodeMirrorUtils.TokenizerFactory"
161 scripts: [ "CodeMirrorTextEditor.js" ]
167 type: "@WebInspector.Panel",
171 className: "WebInspector.SourcesPanel"
174 type: "@WebInspector.ContextMenu.Provider",
175 contextTypes: ["WebInspector.UISourceCode", "WebInspector.RemoteObject"],
176 className: "WebInspector.SourcesPanel.ContextMenuProvider"
179 type: "@WebInspector.SearchScope",
180 className: "WebInspector.SourcesSearchScope"
187 className: "WebInspector.SearchView"
190 type: "@WebInspector.DrawerEditor",
191 className: "WebInspector.SourcesPanel.DrawerEditor"
194 type: "@WebInspector.Revealer",
195 contextTypes: ["WebInspector.UILocation"],
196 className: "WebInspector.SourcesPanel.UILocationRevealer"
199 type: "@WebInspector.SourcesView.EditorAction",
200 className: "WebInspector.InplaceFormatterEditorAction"
203 type: "@WebInspector.SourcesView.EditorAction",
204 className: "WebInspector.ScriptFormatterEditorAction"
207 type: "navigator-view",
211 className: "WebInspector.SourcesNavigatorView"
214 type: "navigator-view",
215 name: "contentScripts",
216 title: "Content scripts",
218 className: "WebInspector.ContentScriptsNavigatorView"
221 type: "navigator-view",
225 className: "WebInspector.SnippetsNavigatorView"
228 type: "@WebInspector.ActionDelegate",
232 shortcut: "Meta+O Meta+P"
235 platform: "windows,linux",
236 shortcut: "Ctrl+O Ctrl+P"
239 className: "WebInspector.SourcesPanel.ShowGoToSourceDialogActionDelegate"
242 scripts: [ "SourcesPanel.js" ]
248 type: "@WebInspector.Panel",
252 className: "WebInspector.TimelinePanel"
255 scripts: [ "TimelinePanel.js" ]
261 type: "@WebInspector.Panel",
265 className: "WebInspector.ProfilesPanel"
268 type: "@WebInspector.ContextMenu.Provider",
269 contextTypes: ["WebInspector.RemoteObject"],
270 className: "WebInspector.ProfilesPanel.ContextMenuProvider"
273 scripts: [ "ProfilesPanel.js" ]
279 type: "@WebInspector.Panel",
283 className: "WebInspector.ResourcesPanel"
286 type: "@WebInspector.Revealer",
287 contextTypes: ["WebInspector.Resource"],
288 className: "WebInspector.ResourcesPanel.ResourceRevealer"
291 scripts: [ "ResourcesPanel.js" ]
297 type: "@WebInspector.Panel",
301 className: "WebInspector.AuditsPanel"
304 scripts: [ "AuditsPanel.js" ]
310 type: "@WebInspector.Panel",
314 className: "WebInspector.ConsolePanel"
321 className: "WebInspector.ConsolePanel.WrapperView"
324 type: "@WebInspector.Revealer",
325 contextTypes: ["WebInspector.ConsoleModel"],
326 className: "WebInspector.ConsolePanel.ConsoleRevealer"
329 type: "@WebInspector.ActionDelegate",
335 className: "WebInspector.ConsoleView.ShowConsoleActionDelegate"
338 scripts: [ "ConsolePanel.js" ]
344 type: "@WebInspector.ActionDelegate",
347 shortcut: "F1 Shift+?"
350 className: "WebInspector.SettingsController.SettingsScreenActionDelegate"
358 type: "@WebInspector.ExtensionServerAPI",
359 className: "WebInspector.ExtensionServer"
362 scripts: [ "ExtensionServer.js" ]
368 type: "@WebInspector.Panel",
372 className: "WebInspector.LayersPanel"
375 type: "@WebInspector.Revealer",
376 contextTypes: ["WebInspector.LayerTreeSnapshot"],
377 className: "WebInspector.LayersPanel.LayerTreeRevealer"
380 scripts: [ "LayersPanel.js" ]
383 name: "handler-registry",
386 type: "@WebInspector.ContextMenu.Provider",
387 contextTypes: ["WebInspector.UISourceCode", "WebInspector.Resource", "WebInspector.NetworkRequest", "Node"],
388 className: "WebInspector.HandlerRegistry.ContextMenuProvider"