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 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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.ShortcutsScreen.SourcesPanelShortcuts.
PauseContinue, 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.
StepIntoSelection, WebInspector.UIString("Step into selection")); | |
255 section.addAlternateKeys(WebInspector.ShortcutsScreen.SourcesPanelShortcuts.
StepOut, WebInspector.UIString("Step out")); | 254 section.addAlternateKeys(WebInspector.ShortcutsScreen.SourcesPanelShortcuts.
StepOut, WebInspector.UIString("Step out")); |
256 | 255 |
257 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); |
258 section.addRelatedKeys(nextAndPrevFrameKeys, WebInspector.UIString("Next/pre
vious call frame")); | 257 section.addRelatedKeys(nextAndPrevFrameKeys, WebInspector.UIString("Next/pre
vious call frame")); |
259 | 258 |
260 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
")); |
261 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")); |
262 section.addAlternateKeys(WebInspector.ShortcutsScreen.SourcesPanelShortcuts.
GoToMember, WebInspector.UIString("Go to member")); | 261 section.addAlternateKeys(WebInspector.ShortcutsScreen.SourcesPanelShortcuts.
GoToMember, WebInspector.UIString("Go to member")); |
263 section.addAlternateKeys(WebInspector.ShortcutsScreen.SourcesPanelShortcuts.
ToggleBreakpoint, WebInspector.UIString("Toggle breakpoint")); | 262 section.addAlternateKeys(WebInspector.ShortcutsScreen.SourcesPanelShortcuts.
ToggleBreakpoint, WebInspector.UIString("Toggle breakpoint")); |
264 section.addAlternateKeys(WebInspector.ShortcutsScreen.SourcesPanelShortcuts.
ToggleComment, WebInspector.UIString("Toggle comment")); | 263 section.addAlternateKeys(WebInspector.ShortcutsScreen.SourcesPanelShortcuts.
ToggleComment, WebInspector.UIString("Toggle comment")); |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
383 StepOver: [ | 382 StepOver: [ |
384 WebInspector.KeyboardShortcut.makeDescriptor(WebInspector.KeyboardShortc
ut.Keys.F10), | 383 WebInspector.KeyboardShortcut.makeDescriptor(WebInspector.KeyboardShortc
ut.Keys.F10), |
385 WebInspector.KeyboardShortcut.makeDescriptor(WebInspector.KeyboardShortc
ut.Keys.SingleQuote, WebInspector.KeyboardShortcut.Modifiers.CtrlOrMeta) | 384 WebInspector.KeyboardShortcut.makeDescriptor(WebInspector.KeyboardShortc
ut.Keys.SingleQuote, WebInspector.KeyboardShortcut.Modifiers.CtrlOrMeta) |
386 ], | 385 ], |
387 | 386 |
388 StepInto: [ | 387 StepInto: [ |
389 WebInspector.KeyboardShortcut.makeDescriptor(WebInspector.KeyboardShortc
ut.Keys.F11), | 388 WebInspector.KeyboardShortcut.makeDescriptor(WebInspector.KeyboardShortc
ut.Keys.F11), |
390 WebInspector.KeyboardShortcut.makeDescriptor(WebInspector.KeyboardShortc
ut.Keys.Semicolon, WebInspector.KeyboardShortcut.Modifiers.CtrlOrMeta) | 389 WebInspector.KeyboardShortcut.makeDescriptor(WebInspector.KeyboardShortc
ut.Keys.Semicolon, WebInspector.KeyboardShortcut.Modifiers.CtrlOrMeta) |
391 ], | 390 ], |
392 | 391 |
393 StepIntoSelection: [ | |
394 WebInspector.KeyboardShortcut.makeDescriptor(WebInspector.KeyboardShortc
ut.Keys.F11, WebInspector.KeyboardShortcut.Modifiers.CtrlOrMeta), | |
395 WebInspector.KeyboardShortcut.makeDescriptor(WebInspector.KeyboardShortc
ut.Keys.F11, WebInspector.KeyboardShortcut.Modifiers.Shift | WebInspector.Keyboa
rdShortcut.Modifiers.CtrlOrMeta) | |
396 ], | |
397 | |
398 StepOut: [ | 392 StepOut: [ |
399 WebInspector.KeyboardShortcut.makeDescriptor(WebInspector.KeyboardShortc
ut.Keys.F11, WebInspector.KeyboardShortcut.Modifiers.Shift), | 393 WebInspector.KeyboardShortcut.makeDescriptor(WebInspector.KeyboardShortc
ut.Keys.F11, WebInspector.KeyboardShortcut.Modifiers.Shift), |
400 WebInspector.KeyboardShortcut.makeDescriptor(WebInspector.KeyboardShortc
ut.Keys.Semicolon, WebInspector.KeyboardShortcut.Modifiers.Shift | WebInspector.
KeyboardShortcut.Modifiers.CtrlOrMeta) | 394 WebInspector.KeyboardShortcut.makeDescriptor(WebInspector.KeyboardShortc
ut.Keys.Semicolon, WebInspector.KeyboardShortcut.Modifiers.Shift | WebInspector.
KeyboardShortcut.Modifiers.CtrlOrMeta) |
401 ], | 395 ], |
402 | 396 |
403 EvaluateSelectionInConsole: [ | 397 EvaluateSelectionInConsole: [ |
404 WebInspector.KeyboardShortcut.makeDescriptor("e", WebInspector.KeyboardS
hortcut.Modifiers.Shift | WebInspector.KeyboardShortcut.Modifiers.Ctrl) | 398 WebInspector.KeyboardShortcut.makeDescriptor("e", WebInspector.KeyboardS
hortcut.Modifiers.Shift | WebInspector.KeyboardShortcut.Modifiers.Ctrl) |
405 ], | 399 ], |
406 | 400 |
407 AddSelectionToWatch: [ | 401 AddSelectionToWatch: [ |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
453 LoadFromFile: [ | 447 LoadFromFile: [ |
454 WebInspector.KeyboardShortcut.makeDescriptor("o", WebInspector.KeyboardS
hortcut.Modifiers.CtrlOrMeta) | 448 WebInspector.KeyboardShortcut.makeDescriptor("o", WebInspector.KeyboardS
hortcut.Modifiers.CtrlOrMeta) |
455 ] | 449 ] |
456 }; | 450 }; |
457 | 451 |
458 WebInspector.ShortcutsScreen.ProfilesPanelShortcuts = { | 452 WebInspector.ShortcutsScreen.ProfilesPanelShortcuts = { |
459 StartStopRecording: [ | 453 StartStopRecording: [ |
460 WebInspector.KeyboardShortcut.makeDescriptor("e", WebInspector.KeyboardS
hortcut.Modifiers.CtrlOrMeta) | 454 WebInspector.KeyboardShortcut.makeDescriptor("e", WebInspector.KeyboardS
hortcut.Modifiers.CtrlOrMeta) |
461 ] | 455 ] |
462 } | 456 } |
OLD | NEW |