OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 | 70 |
71 section.addAlternateKeys(WebInspector.SourcesPanelDescriptor.ShortcutKey
s.EvaluateSelectionInConsole, WebInspector.UIString("Evaluate selection in conso
le")); | 71 section.addAlternateKeys(WebInspector.SourcesPanelDescriptor.ShortcutKey
s.EvaluateSelectionInConsole, WebInspector.UIString("Evaluate selection in conso
le")); |
72 section.addAlternateKeys(WebInspector.SourcesPanelDescriptor.ShortcutKey
s.AddSelectionToWatch, WebInspector.UIString("Add selection to watch")); | 72 section.addAlternateKeys(WebInspector.SourcesPanelDescriptor.ShortcutKey
s.AddSelectionToWatch, WebInspector.UIString("Add selection to watch")); |
73 section.addAlternateKeys(WebInspector.SourcesPanelDescriptor.ShortcutKey
s.GoToMember, WebInspector.UIString("Go to member")); | 73 section.addAlternateKeys(WebInspector.SourcesPanelDescriptor.ShortcutKey
s.GoToMember, WebInspector.UIString("Go to member")); |
74 section.addAlternateKeys(WebInspector.SourcesPanelDescriptor.ShortcutKey
s.ToggleBreakpoint, WebInspector.UIString("Toggle breakpoint")); | 74 section.addAlternateKeys(WebInspector.SourcesPanelDescriptor.ShortcutKey
s.ToggleBreakpoint, WebInspector.UIString("Toggle breakpoint")); |
75 section.addAlternateKeys(WebInspector.SourcesPanelDescriptor.ShortcutKey
s.ToggleComment, WebInspector.UIString("Toggle comment")); | 75 section.addAlternateKeys(WebInspector.SourcesPanelDescriptor.ShortcutKey
s.ToggleComment, WebInspector.UIString("Toggle comment")); |
76 section.addAlternateKeys(WebInspector.SourcesPanelDescriptor.ShortcutKey
s.IncreaseCSSUnitByOne, WebInspector.UIString("Increment CSS unit by 1")); | 76 section.addAlternateKeys(WebInspector.SourcesPanelDescriptor.ShortcutKey
s.IncreaseCSSUnitByOne, WebInspector.UIString("Increment CSS unit by 1")); |
77 section.addAlternateKeys(WebInspector.SourcesPanelDescriptor.ShortcutKey
s.DecreaseCSSUnitByOne, WebInspector.UIString("Decrement CSS unit by 1")); | 77 section.addAlternateKeys(WebInspector.SourcesPanelDescriptor.ShortcutKey
s.DecreaseCSSUnitByOne, WebInspector.UIString("Decrement CSS unit by 1")); |
78 section.addAlternateKeys(WebInspector.SourcesPanelDescriptor.ShortcutKey
s.IncreaseCSSUnitByTen, WebInspector.UIString("Increment CSS unit by 10")); | 78 section.addAlternateKeys(WebInspector.SourcesPanelDescriptor.ShortcutKey
s.IncreaseCSSUnitByTen, WebInspector.UIString("Increment CSS unit by 10")); |
79 section.addAlternateKeys(WebInspector.SourcesPanelDescriptor.ShortcutKey
s.DecreaseCSSUnitByTen, WebInspector.UIString("Decrement CSS unit by 10")); | 79 section.addAlternateKeys(WebInspector.SourcesPanelDescriptor.ShortcutKey
s.DecreaseCSSUnitByTen, WebInspector.UIString("Decrement CSS unit by 10")); |
| 80 section.addAlternateKeys(WebInspector.SourcesPanelDescriptor.ShortcutKey
s.JumpToPreviousLocation, WebInspector.UIString("Jump to previous editing locati
on")); |
| 81 section.addAlternateKeys(WebInspector.SourcesPanelDescriptor.ShortcutKey
s.JumpToNextLocation, WebInspector.UIString("Jump to next editing location")); |
80 }, | 82 }, |
81 | 83 |
82 __proto__: WebInspector.PanelDescriptor.prototype | 84 __proto__: WebInspector.PanelDescriptor.prototype |
83 } | 85 } |
84 | 86 |
85 WebInspector.SourcesPanelDescriptor.ShortcutKeys = { | 87 WebInspector.SourcesPanelDescriptor.ShortcutKeys = { |
86 IncreaseCSSUnitByOne: [ | 88 IncreaseCSSUnitByOne: [ |
87 WebInspector.KeyboardShortcut.makeDescriptor(WebInspector.KeyboardShortc
ut.Keys.Up, WebInspector.KeyboardShortcut.Modifiers.Alt) | 89 WebInspector.KeyboardShortcut.makeDescriptor(WebInspector.KeyboardShortc
ut.Keys.Up, WebInspector.KeyboardShortcut.Modifiers.Alt) |
88 ], | 90 ], |
89 | 91 |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
147 NextCallFrame: [ | 149 NextCallFrame: [ |
148 WebInspector.KeyboardShortcut.makeDescriptor(WebInspector.KeyboardShortc
ut.Keys.Period, WebInspector.KeyboardShortcut.Modifiers.Ctrl) | 150 WebInspector.KeyboardShortcut.makeDescriptor(WebInspector.KeyboardShortc
ut.Keys.Period, WebInspector.KeyboardShortcut.Modifiers.Ctrl) |
149 ], | 151 ], |
150 | 152 |
151 PrevCallFrame: [ | 153 PrevCallFrame: [ |
152 WebInspector.KeyboardShortcut.makeDescriptor(WebInspector.KeyboardShortc
ut.Keys.Comma, WebInspector.KeyboardShortcut.Modifiers.Ctrl) | 154 WebInspector.KeyboardShortcut.makeDescriptor(WebInspector.KeyboardShortc
ut.Keys.Comma, WebInspector.KeyboardShortcut.Modifiers.Ctrl) |
153 ], | 155 ], |
154 | 156 |
155 ToggleComment: [ | 157 ToggleComment: [ |
156 WebInspector.KeyboardShortcut.makeDescriptor(WebInspector.KeyboardShortc
ut.Keys.Slash, WebInspector.KeyboardShortcut.Modifiers.CtrlOrMeta) | 158 WebInspector.KeyboardShortcut.makeDescriptor(WebInspector.KeyboardShortc
ut.Keys.Slash, WebInspector.KeyboardShortcut.Modifiers.CtrlOrMeta) |
| 159 ], |
157 | 160 |
| 161 JumpToPreviousLocation: [ |
| 162 WebInspector.KeyboardShortcut.makeDescriptor(WebInspector.KeyboardShortc
ut.Keys.Minus, WebInspector.KeyboardShortcut.Modifiers.Alt) |
| 163 ], |
| 164 |
| 165 JumpToNextLocation: [ |
| 166 WebInspector.KeyboardShortcut.makeDescriptor(WebInspector.KeyboardShortc
ut.Keys.Plus, WebInspector.KeyboardShortcut.Modifiers.Alt) |
158 ] | 167 ] |
159 }; | 168 }; |
OLD | NEW |