OLD | NEW |
---|---|
1 /* | 1 /* |
2 * Copyright (C) 2014 Google Inc. All rights reserved. | 2 * Copyright (C) 2014 Google 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 are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
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 * | 10 * |
(...skipping 13 matching lines...) Expand all Loading... | |
24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 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. | 26 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
27 */ | 27 */ |
28 | 28 |
29 /** | 29 /** |
30 * @type {!Array.<!WebInspector.ModuleManager.ModuleDescriptor>} | 30 * @type {!Array.<!WebInspector.ModuleManager.ModuleDescriptor>} |
31 */ | 31 */ |
32 var allDescriptors = [ | 32 var allDescriptors = [ |
33 { | 33 { |
34 name: "core", | |
35 extensions: [ | |
36 { | |
37 type: "@WebInspector.ActionDelegate", | |
38 bindings: [ | |
39 { | |
40 platform: "win,linux", | |
41 shortcut: "F5" | |
pfeldman
2014/03/24 16:54:22
Space-separated?
apavlov
2014/03/25 10:03:45
Done.
| |
42 }, | |
43 { | |
44 platform: "win,linux", | |
45 shortcut: "Ctrl+R" | |
46 }, | |
47 { | |
48 platform: "mac", | |
49 shortcut: "Meta+R" | |
50 } | |
51 ], | |
52 className: "WebInspector.Main.SkipAllPausesAndReloadActionDelega te" | |
53 }, | |
54 { | |
55 type: "@WebInspector.ActionDelegate", | |
56 bindings: [ | |
57 { | |
58 platform: "win,linux", | |
59 shortcut: "Shift+F5" | |
60 }, | |
61 { | |
62 platform: "win,linux", | |
63 shortcut: "Ctrl+F5" | |
64 }, | |
65 { | |
66 platform: "win,linux", | |
67 shortcut: "Ctrl+Shift+F5" | |
68 }, | |
69 { | |
70 platform: "win,linux", | |
71 shortcut: "Shift+Ctrl+R" | |
72 }, | |
73 { | |
74 platform: "mac", | |
75 shortcut: "Shift+Meta+R" | |
76 } | |
77 ], | |
78 className: "WebInspector.Main.SkipAllPausesAndHardReloadActionDe legate" | |
pfeldman
2014/03/24 16:54:22
WebInspector.Main.HardReloadActionDelegate
apavlov
2014/03/25 10:03:45
Done.
| |
79 }, | |
80 { | |
81 type: "@WebInspector.ActionDelegate", | |
82 bindings: [ | |
83 { | |
84 shortcut: "Esc" | |
85 } | |
86 ], | |
87 className: "WebInspector.InspectorView.DrawerToggleActionDelegat e" | |
88 }, | |
89 { | |
90 type: "@WebInspector.ActionDelegate", | |
91 bindings: [ | |
92 { | |
93 shortcut: "Alt+R" | |
94 } | |
95 ], | |
96 className: "WebInspector.Main.DebugReloadActionDelegate" | |
97 } | |
98 ] | |
99 }, | |
100 { | |
34 name: "elements", | 101 name: "elements", |
35 extensions: [ | 102 extensions: [ |
36 { | 103 { |
37 type: "@WebInspector.Panel", | 104 type: "@WebInspector.Panel", |
38 name: "elements", | 105 name: "elements", |
39 title: "Elements", | 106 title: "Elements", |
40 order: 0, | 107 order: 0, |
41 className: "WebInspector.ElementsPanel" | 108 className: "WebInspector.ElementsPanel" |
42 }, | 109 }, |
43 { | 110 { |
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
165 title: "Content scripts", | 232 title: "Content scripts", |
166 order: 2, | 233 order: 2, |
167 className: "WebInspector.ContentScriptsNavigatorView" | 234 className: "WebInspector.ContentScriptsNavigatorView" |
168 }, | 235 }, |
169 { | 236 { |
170 type: "navigator-view", | 237 type: "navigator-view", |
171 name: "snippets", | 238 name: "snippets", |
172 title: "Snippets", | 239 title: "Snippets", |
173 order: 3, | 240 order: 3, |
174 className: "WebInspector.SnippetsNavigatorView" | 241 className: "WebInspector.SnippetsNavigatorView" |
242 }, | |
243 { | |
244 type: "@WebInspector.ActionDelegate", | |
245 bindings: [ | |
246 { | |
247 platform: "mac", | |
248 shortcut: "Meta+O" | |
249 }, | |
250 { | |
251 platform: "mac", | |
252 shortcut: "Meta+P" | |
253 }, | |
254 { | |
255 platform: "win,linux", | |
256 shortcut: "Ctrl+O" | |
257 }, | |
258 { | |
259 platform: "win,linux", | |
260 shortcut: "Ctrl+P" | |
261 } | |
262 ], | |
263 className: "WebInspector.SourcesPanel.ShowGoToSourceDialogAction Delegate" | |
175 } | 264 } |
176 ], | 265 ], |
177 scripts: [ "SourcesPanel.js" ] | 266 scripts: [ "SourcesPanel.js" ] |
178 }, | 267 }, |
179 { | 268 { |
180 name: "timeline", | 269 name: "timeline", |
181 extensions: [ | 270 extensions: [ |
182 { | 271 { |
183 type: "@WebInspector.Panel", | 272 type: "@WebInspector.Panel", |
184 name: "timeline", | 273 name: "timeline", |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
252 type: "drawer-view", | 341 type: "drawer-view", |
253 name: "console", | 342 name: "console", |
254 title: "Console", | 343 title: "Console", |
255 order: "0", | 344 order: "0", |
256 className: "WebInspector.ConsolePanel.WrapperView" | 345 className: "WebInspector.ConsolePanel.WrapperView" |
257 }, | 346 }, |
258 { | 347 { |
259 type: "@WebInspector.Revealer", | 348 type: "@WebInspector.Revealer", |
260 contextTypes: ["WebInspector.ConsoleModel"], | 349 contextTypes: ["WebInspector.ConsoleModel"], |
261 className: "WebInspector.ConsolePanel.ConsoleRevealer" | 350 className: "WebInspector.ConsolePanel.ConsoleRevealer" |
351 }, | |
352 { | |
353 type: "@WebInspector.ActionDelegate", | |
354 bindings: [ | |
355 { | |
356 shortcut: "Ctrl+`" | |
357 } | |
358 ], | |
359 className: "WebInspector.ConsoleModel.ShowConsoleActionDelegate" | |
262 } | 360 } |
263 ], | 361 ], |
264 scripts: [ "ConsolePanel.js" ] | 362 scripts: [ "ConsolePanel.js" ] |
265 }, | 363 }, |
266 { | 364 { |
365 name: "settings", | |
366 extensions: [ | |
367 { | |
368 type: "@WebInspector.ActionDelegate", | |
369 bindings: [ | |
370 { | |
371 shortcut: "F1" | |
372 }, | |
373 { | |
374 shortcut: "Shift+?" | |
375 } | |
376 ], | |
377 className: "WebInspector.SettingsController.SettingsScreenAction Delegate" | |
378 } | |
379 ] | |
380 }, | |
381 { | |
382 name: "extensions", | |
267 extensions: [ | 383 extensions: [ |
268 { | 384 { |
269 type: "@WebInspector.ExtensionServerAPI", | 385 type: "@WebInspector.ExtensionServerAPI", |
270 className: "WebInspector.ExtensionServer" | 386 className: "WebInspector.ExtensionServer" |
271 } | 387 } |
272 ], | 388 ], |
273 name: "extensions", | |
274 scripts: [ "ExtensionServer.js" ] | 389 scripts: [ "ExtensionServer.js" ] |
275 }, | 390 }, |
276 { | 391 { |
277 name: "layers", | 392 name: "layers", |
278 extensions: [ | 393 extensions: [ |
279 { | 394 { |
280 type: "@WebInspector.Panel", | 395 type: "@WebInspector.Panel", |
281 name: "layers", | 396 name: "layers", |
282 title: "Layers", | 397 title: "Layers", |
283 order: 7, | 398 order: 7, |
(...skipping 11 matching lines...) Expand all Loading... | |
295 name: "handler-registry", | 410 name: "handler-registry", |
296 extensions: [ | 411 extensions: [ |
297 { | 412 { |
298 type: "@WebInspector.ContextMenu.Provider", | 413 type: "@WebInspector.ContextMenu.Provider", |
299 contextTypes: ["WebInspector.UISourceCode", "WebInspector.Resour ce", "WebInspector.NetworkRequest", "Node"], | 414 contextTypes: ["WebInspector.UISourceCode", "WebInspector.Resour ce", "WebInspector.NetworkRequest", "Node"], |
300 className: "WebInspector.HandlerRegistry.ContextMenuProvider" | 415 className: "WebInspector.HandlerRegistry.ContextMenuProvider" |
301 } | 416 } |
302 ] | 417 ] |
303 } | 418 } |
304 ]; | 419 ]; |
OLD | NEW |