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

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

Issue 212623013: DevTools: Make SourcesView shortcut work when it's shown in drawer and move "save" shortcut into it (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 | Source/devtools/front_end/SourcesView.js » ('j') | 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) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 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 * * Redistributions of source code must retain the above copyright 8 * * 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 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 420 matching lines...) Expand 10 before | Expand all | Expand 10 after
431 WebInspector.KeyboardShortcut.makeDescriptor(WebInspector.KeyboardShortc ut.Keys.Minus, WebInspector.KeyboardShortcut.Modifiers.Alt) 431 WebInspector.KeyboardShortcut.makeDescriptor(WebInspector.KeyboardShortc ut.Keys.Minus, WebInspector.KeyboardShortcut.Modifiers.Alt)
432 ], 432 ],
433 433
434 JumpToNextLocation: [ 434 JumpToNextLocation: [
435 WebInspector.KeyboardShortcut.makeDescriptor(WebInspector.KeyboardShortc ut.Keys.Plus, WebInspector.KeyboardShortcut.Modifiers.Alt) 435 WebInspector.KeyboardShortcut.makeDescriptor(WebInspector.KeyboardShortc ut.Keys.Plus, WebInspector.KeyboardShortcut.Modifiers.Alt)
436 ], 436 ],
437 437
438 CloseEditorTab: [ 438 CloseEditorTab: [
439 WebInspector.KeyboardShortcut.makeDescriptor("w", WebInspector.KeyboardS hortcut.Modifiers.Alt) 439 WebInspector.KeyboardShortcut.makeDescriptor("w", WebInspector.KeyboardS hortcut.Modifiers.Alt)
440 ], 440 ],
441
442 Save: [
443 WebInspector.KeyboardShortcut.makeDescriptor("s", WebInspector.KeyboardS hortcut.Modifiers.CtrlOrMeta)
444 ],
441 }; 445 };
442 446
443 WebInspector.ShortcutsScreen.TimelinePanelShortcuts = { 447 WebInspector.ShortcutsScreen.TimelinePanelShortcuts = {
444 StartStopRecording: [ 448 StartStopRecording: [
445 WebInspector.KeyboardShortcut.makeDescriptor("e", WebInspector.KeyboardS hortcut.Modifiers.CtrlOrMeta) 449 WebInspector.KeyboardShortcut.makeDescriptor("e", WebInspector.KeyboardS hortcut.Modifiers.CtrlOrMeta)
446 ], 450 ],
447 451
448 SaveToFile: [ 452 SaveToFile: [
449 WebInspector.KeyboardShortcut.makeDescriptor("s", WebInspector.KeyboardS hortcut.Modifiers.CtrlOrMeta) 453 WebInspector.KeyboardShortcut.makeDescriptor("s", WebInspector.KeyboardS hortcut.Modifiers.CtrlOrMeta)
450 ], 454 ],
451 455
452 LoadFromFile: [ 456 LoadFromFile: [
453 WebInspector.KeyboardShortcut.makeDescriptor("o", WebInspector.KeyboardS hortcut.Modifiers.CtrlOrMeta) 457 WebInspector.KeyboardShortcut.makeDescriptor("o", WebInspector.KeyboardS hortcut.Modifiers.CtrlOrMeta)
454 ] 458 ]
455 }; 459 };
456 460
457 WebInspector.ShortcutsScreen.ProfilesPanelShortcuts = { 461 WebInspector.ShortcutsScreen.ProfilesPanelShortcuts = {
458 StartStopRecording: [ 462 StartStopRecording: [
459 WebInspector.KeyboardShortcut.makeDescriptor("e", WebInspector.KeyboardS hortcut.Modifiers.CtrlOrMeta) 463 WebInspector.KeyboardShortcut.makeDescriptor("e", WebInspector.KeyboardS hortcut.Modifiers.CtrlOrMeta)
460 ] 464 ]
461 } 465 }
OLDNEW
« no previous file with comments | « no previous file | Source/devtools/front_end/SourcesView.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698