Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(278)

Side by Side Diff: Source/devtools/front_end/modules.js

Issue 216693003: DevTools: Fix platform-specific extension-based shortcuts on Windows (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 19 matching lines...) Expand all
30 * @type {!Array.<!WebInspector.ModuleManager.ModuleDescriptor>} 30 * @type {!Array.<!WebInspector.ModuleManager.ModuleDescriptor>}
31 */ 31 */
32 var allDescriptors = [ 32 var allDescriptors = [
33 { 33 {
34 name: "main", 34 name: "main",
35 extensions: [ 35 extensions: [
36 { 36 {
37 type: "@WebInspector.ActionDelegate", 37 type: "@WebInspector.ActionDelegate",
38 bindings: [ 38 bindings: [
39 { 39 {
40 platform: "win,linux", 40 platform: "windows,linux",
41 shortcut: "F5 Ctrl+R" 41 shortcut: "F5 Ctrl+R"
42 }, 42 },
43 { 43 {
44 platform: "mac", 44 platform: "mac",
45 shortcut: "Meta+R" 45 shortcut: "Meta+R"
46 } 46 }
47 ], 47 ],
48 className: "WebInspector.Main.ReloadActionDelegate" 48 className: "WebInspector.Main.ReloadActionDelegate"
49 }, 49 },
50 { 50 {
51 type: "@WebInspector.ActionDelegate", 51 type: "@WebInspector.ActionDelegate",
52 bindings: [ 52 bindings: [
53 { 53 {
54 platform: "win,linux", 54 platform: "windows,linux",
55 shortcut: "Shift+F5 Ctrl+F5 Ctrl+Shift+F5 Shift+Ctrl+R" 55 shortcut: "Shift+F5 Ctrl+F5 Ctrl+Shift+F5 Shift+Ctrl+R"
56 }, 56 },
57 { 57 {
58 platform: "mac", 58 platform: "mac",
59 shortcut: "Shift+Meta+R" 59 shortcut: "Shift+Meta+R"
60 } 60 }
61 ], 61 ],
62 className: "WebInspector.Main.HardReloadActionDelegate" 62 className: "WebInspector.Main.HardReloadActionDelegate"
63 }, 63 },
64 { 64 {
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 className: "WebInspector.SnippetsNavigatorView" 225 className: "WebInspector.SnippetsNavigatorView"
226 }, 226 },
227 { 227 {
228 type: "@WebInspector.ActionDelegate", 228 type: "@WebInspector.ActionDelegate",
229 bindings: [ 229 bindings: [
230 { 230 {
231 platform: "mac", 231 platform: "mac",
232 shortcut: "Meta+O Meta+P" 232 shortcut: "Meta+O Meta+P"
233 }, 233 },
234 { 234 {
235 platform: "win,linux", 235 platform: "windows,linux",
236 shortcut: "Ctrl+O Ctrl+P" 236 shortcut: "Ctrl+O Ctrl+P"
237 } 237 }
238 ], 238 ],
239 className: "WebInspector.SourcesPanel.ShowGoToSourceDialogAction Delegate" 239 className: "WebInspector.SourcesPanel.ShowGoToSourceDialogAction Delegate"
240 } 240 }
241 ], 241 ],
242 scripts: [ "SourcesPanel.js" ] 242 scripts: [ "SourcesPanel.js" ]
243 }, 243 },
244 { 244 {
245 name: "timeline", 245 name: "timeline",
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
383 name: "handler-registry", 383 name: "handler-registry",
384 extensions: [ 384 extensions: [
385 { 385 {
386 type: "@WebInspector.ContextMenu.Provider", 386 type: "@WebInspector.ContextMenu.Provider",
387 contextTypes: ["WebInspector.UISourceCode", "WebInspector.Resour ce", "WebInspector.NetworkRequest", "Node"], 387 contextTypes: ["WebInspector.UISourceCode", "WebInspector.Resour ce", "WebInspector.NetworkRequest", "Node"],
388 className: "WebInspector.HandlerRegistry.ContextMenuProvider" 388 className: "WebInspector.HandlerRegistry.ContextMenuProvider"
389 } 389 }
390 ] 390 ]
391 } 391 }
392 ]; 392 ];
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698