OLD | NEW |
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 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
241 stylesPaneSection.addAlternateKeys(WebInspector.ShortcutsScreen.ElementsPane
lShortcuts.IncrementBy100, WebInspector.UIString("Increment by %f", 100)); | 241 stylesPaneSection.addAlternateKeys(WebInspector.ShortcutsScreen.ElementsPane
lShortcuts.IncrementBy100, WebInspector.UIString("Increment by %f", 100)); |
242 stylesPaneSection.addAlternateKeys(WebInspector.ShortcutsScreen.ElementsPane
lShortcuts.DecrementBy100, WebInspector.UIString("Decrement by %f", 100)); | 242 stylesPaneSection.addAlternateKeys(WebInspector.ShortcutsScreen.ElementsPane
lShortcuts.DecrementBy100, WebInspector.UIString("Decrement by %f", 100)); |
243 | 243 |
244 stylesPaneSection.addAlternateKeys(WebInspector.ShortcutsScreen.ElementsPane
lShortcuts.IncrementBy01, WebInspector.UIString("Increment by %f", 0.1)); | 244 stylesPaneSection.addAlternateKeys(WebInspector.ShortcutsScreen.ElementsPane
lShortcuts.IncrementBy01, WebInspector.UIString("Increment by %f", 0.1)); |
245 stylesPaneSection.addAlternateKeys(WebInspector.ShortcutsScreen.ElementsPane
lShortcuts.DecrementBy01, WebInspector.UIString("Decrement by %f", 0.1)); | 245 stylesPaneSection.addAlternateKeys(WebInspector.ShortcutsScreen.ElementsPane
lShortcuts.DecrementBy01, WebInspector.UIString("Decrement by %f", 0.1)); |
246 | 246 |
247 | 247 |
248 // Sources panel | 248 // Sources panel |
249 var section = WebInspector.shortcutsScreen.section(WebInspector.UIString("So
urces Panel")); | 249 var section = WebInspector.shortcutsScreen.section(WebInspector.UIString("So
urces Panel")); |
250 | 250 |
251 section.addAlternateKeys(WebInspector.ShortcutsScreen.SourcesPanelShortcuts.
PauseContinue, WebInspector.UIString("Pause/Continue")); | 251 section.addAlternateKeys(WebInspector.shortcutRegistry.shortcutDescriptorsFo
rAction("debugger.toggle-pause"), WebInspector.UIString("Pause/Continue")); |
252 section.addAlternateKeys(WebInspector.ShortcutsScreen.SourcesPanelShortcuts.
StepOver, WebInspector.UIString("Step over")); | 252 section.addAlternateKeys(WebInspector.ShortcutsScreen.SourcesPanelShortcuts.
StepOver, WebInspector.UIString("Step over")); |
253 section.addAlternateKeys(WebInspector.ShortcutsScreen.SourcesPanelShortcuts.
StepInto, WebInspector.UIString("Step into")); | 253 section.addAlternateKeys(WebInspector.ShortcutsScreen.SourcesPanelShortcuts.
StepInto, WebInspector.UIString("Step into")); |
254 section.addAlternateKeys(WebInspector.ShortcutsScreen.SourcesPanelShortcuts.
StepOut, WebInspector.UIString("Step out")); | 254 section.addAlternateKeys(WebInspector.ShortcutsScreen.SourcesPanelShortcuts.
StepOut, WebInspector.UIString("Step out")); |
255 | 255 |
256 var nextAndPrevFrameKeys = WebInspector.ShortcutsScreen.SourcesPanelShortcut
s.NextCallFrame.concat(WebInspector.ShortcutsScreen.SourcesPanelShortcuts.PrevCa
llFrame); | 256 var nextAndPrevFrameKeys = WebInspector.ShortcutsScreen.SourcesPanelShortcut
s.NextCallFrame.concat(WebInspector.ShortcutsScreen.SourcesPanelShortcuts.PrevCa
llFrame); |
257 section.addRelatedKeys(nextAndPrevFrameKeys, WebInspector.UIString("Next/pre
vious call frame")); | 257 section.addRelatedKeys(nextAndPrevFrameKeys, WebInspector.UIString("Next/pre
vious call frame")); |
258 | 258 |
259 section.addAlternateKeys(WebInspector.ShortcutsScreen.SourcesPanelShortcuts.
EvaluateSelectionInConsole, WebInspector.UIString("Evaluate selection in console
")); | 259 section.addAlternateKeys(WebInspector.ShortcutsScreen.SourcesPanelShortcuts.
EvaluateSelectionInConsole, WebInspector.UIString("Evaluate selection in console
")); |
260 section.addAlternateKeys(WebInspector.ShortcutsScreen.SourcesPanelShortcuts.
AddSelectionToWatch, WebInspector.UIString("Add selection to watch")); | 260 section.addAlternateKeys(WebInspector.ShortcutsScreen.SourcesPanelShortcuts.
AddSelectionToWatch, WebInspector.UIString("Add selection to watch")); |
261 section.addAlternateKeys(WebInspector.ShortcutsScreen.SourcesPanelShortcuts.
GoToMember, WebInspector.UIString("Go to member")); | 261 section.addAlternateKeys(WebInspector.ShortcutsScreen.SourcesPanelShortcuts.
GoToMember, WebInspector.UIString("Go to member")); |
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
385 ], | 385 ], |
386 | 386 |
387 DecreaseCSSUnitByTen: [ | 387 DecreaseCSSUnitByTen: [ |
388 WebInspector.KeyboardShortcut.makeDescriptor(WebInspector.KeyboardShortc
ut.Keys.PageDown, WebInspector.KeyboardShortcut.Modifiers.Alt) | 388 WebInspector.KeyboardShortcut.makeDescriptor(WebInspector.KeyboardShortc
ut.Keys.PageDown, WebInspector.KeyboardShortcut.Modifiers.Alt) |
389 ], | 389 ], |
390 | 390 |
391 RunSnippet: [ | 391 RunSnippet: [ |
392 WebInspector.KeyboardShortcut.makeDescriptor(WebInspector.KeyboardShortc
ut.Keys.Enter, WebInspector.KeyboardShortcut.Modifiers.CtrlOrMeta) | 392 WebInspector.KeyboardShortcut.makeDescriptor(WebInspector.KeyboardShortc
ut.Keys.Enter, WebInspector.KeyboardShortcut.Modifiers.CtrlOrMeta) |
393 ], | 393 ], |
394 | 394 |
395 PauseContinue: [ | |
396 WebInspector.KeyboardShortcut.makeDescriptor(WebInspector.KeyboardShortc
ut.Keys.F8), | |
397 WebInspector.KeyboardShortcut.makeDescriptor(WebInspector.KeyboardShortc
ut.Keys.Backslash, WebInspector.KeyboardShortcut.Modifiers.CtrlOrMeta) | |
398 ], | |
399 | |
400 StepOver: [ | 395 StepOver: [ |
401 WebInspector.KeyboardShortcut.makeDescriptor(WebInspector.KeyboardShortc
ut.Keys.F10), | 396 WebInspector.KeyboardShortcut.makeDescriptor(WebInspector.KeyboardShortc
ut.Keys.F10), |
402 WebInspector.KeyboardShortcut.makeDescriptor(WebInspector.KeyboardShortc
ut.Keys.SingleQuote, WebInspector.KeyboardShortcut.Modifiers.CtrlOrMeta) | 397 WebInspector.KeyboardShortcut.makeDescriptor(WebInspector.KeyboardShortc
ut.Keys.SingleQuote, WebInspector.KeyboardShortcut.Modifiers.CtrlOrMeta) |
403 ], | 398 ], |
404 | 399 |
405 StepInto: [ | 400 StepInto: [ |
406 WebInspector.KeyboardShortcut.makeDescriptor(WebInspector.KeyboardShortc
ut.Keys.F11), | 401 WebInspector.KeyboardShortcut.makeDescriptor(WebInspector.KeyboardShortc
ut.Keys.F11), |
407 WebInspector.KeyboardShortcut.makeDescriptor(WebInspector.KeyboardShortc
ut.Keys.Semicolon, WebInspector.KeyboardShortcut.Modifiers.CtrlOrMeta) | 402 WebInspector.KeyboardShortcut.makeDescriptor(WebInspector.KeyboardShortc
ut.Keys.Semicolon, WebInspector.KeyboardShortcut.Modifiers.CtrlOrMeta) |
408 ], | 403 ], |
409 | 404 |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
525 ], | 520 ], |
526 | 521 |
527 RotateCWY: [ | 522 RotateCWY: [ |
528 WebInspector.KeyboardShortcut.makeDescriptor(WebInspector.KeyboardShortc
ut.Keys.Left), | 523 WebInspector.KeyboardShortcut.makeDescriptor(WebInspector.KeyboardShortc
ut.Keys.Left), |
529 ], | 524 ], |
530 | 525 |
531 RotateCCWY: [ | 526 RotateCCWY: [ |
532 WebInspector.KeyboardShortcut.makeDescriptor(WebInspector.KeyboardShortc
ut.Keys.Right), | 527 WebInspector.KeyboardShortcut.makeDescriptor(WebInspector.KeyboardShortc
ut.Keys.Right), |
533 ] | 528 ] |
534 } | 529 } |
OLD | NEW |