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

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

Issue 202043002: DevTools: Use open resource dialog for go to line feature in sources panel. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebaselined 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 | « Source/devtools/front_end/GoToLineDialog.js ('k') | Source/devtools/front_end/SourcesPanel.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 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
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"));
262 section.addAlternateKeys(WebInspector.ShortcutsScreen.SourcesPanelShortcuts. GoToLine, WebInspector.UIString("Go to line"));
262 section.addAlternateKeys(WebInspector.ShortcutsScreen.SourcesPanelShortcuts. ToggleBreakpoint, WebInspector.UIString("Toggle breakpoint")); 263 section.addAlternateKeys(WebInspector.ShortcutsScreen.SourcesPanelShortcuts. ToggleBreakpoint, WebInspector.UIString("Toggle breakpoint"));
263 section.addAlternateKeys(WebInspector.ShortcutsScreen.SourcesPanelShortcuts. ToggleComment, WebInspector.UIString("Toggle comment")); 264 section.addAlternateKeys(WebInspector.ShortcutsScreen.SourcesPanelShortcuts. ToggleComment, WebInspector.UIString("Toggle comment"));
264 section.addAlternateKeys(WebInspector.ShortcutsScreen.SourcesPanelShortcuts. CloseEditorTab, WebInspector.UIString("Close editor tab")); 265 section.addAlternateKeys(WebInspector.ShortcutsScreen.SourcesPanelShortcuts. CloseEditorTab, WebInspector.UIString("Close editor tab"));
265 section.addAlternateKeys(WebInspector.ShortcutsScreen.SourcesPanelShortcuts. IncreaseCSSUnitByOne, WebInspector.UIString("Increment CSS unit by 1")); 266 section.addAlternateKeys(WebInspector.ShortcutsScreen.SourcesPanelShortcuts. IncreaseCSSUnitByOne, WebInspector.UIString("Increment CSS unit by 1"));
266 section.addAlternateKeys(WebInspector.ShortcutsScreen.SourcesPanelShortcuts. DecreaseCSSUnitByOne, WebInspector.UIString("Decrement CSS unit by 1")); 267 section.addAlternateKeys(WebInspector.ShortcutsScreen.SourcesPanelShortcuts. DecreaseCSSUnitByOne, WebInspector.UIString("Decrement CSS unit by 1"));
267 section.addAlternateKeys(WebInspector.ShortcutsScreen.SourcesPanelShortcuts. IncreaseCSSUnitByTen, WebInspector.UIString("Increment CSS unit by 10")); 268 section.addAlternateKeys(WebInspector.ShortcutsScreen.SourcesPanelShortcuts. IncreaseCSSUnitByTen, WebInspector.UIString("Increment CSS unit by 10"));
268 section.addAlternateKeys(WebInspector.ShortcutsScreen.SourcesPanelShortcuts. DecreaseCSSUnitByTen, WebInspector.UIString("Decrement CSS unit by 10")); 269 section.addAlternateKeys(WebInspector.ShortcutsScreen.SourcesPanelShortcuts. DecreaseCSSUnitByTen, WebInspector.UIString("Decrement CSS unit by 10"));
269 section.addAlternateKeys(WebInspector.ShortcutsScreen.SourcesPanelShortcuts. JumpToPreviousLocation, WebInspector.UIString("Jump to previous editing location ")); 270 section.addAlternateKeys(WebInspector.ShortcutsScreen.SourcesPanelShortcuts. JumpToPreviousLocation, WebInspector.UIString("Jump to previous editing location "));
270 section.addAlternateKeys(WebInspector.ShortcutsScreen.SourcesPanelShortcuts. JumpToNextLocation, WebInspector.UIString("Jump to next editing location")); 271 section.addAlternateKeys(WebInspector.ShortcutsScreen.SourcesPanelShortcuts. JumpToNextLocation, WebInspector.UIString("Jump to next editing location"));
271 272
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
399 ], 400 ],
400 401
401 AddSelectionToWatch: [ 402 AddSelectionToWatch: [
402 WebInspector.KeyboardShortcut.makeDescriptor("a", WebInspector.KeyboardS hortcut.Modifiers.Shift | WebInspector.KeyboardShortcut.Modifiers.Ctrl) 403 WebInspector.KeyboardShortcut.makeDescriptor("a", WebInspector.KeyboardS hortcut.Modifiers.Shift | WebInspector.KeyboardShortcut.Modifiers.Ctrl)
403 ], 404 ],
404 405
405 GoToMember: [ 406 GoToMember: [
406 WebInspector.KeyboardShortcut.makeDescriptor("o", WebInspector.KeyboardS hortcut.Modifiers.CtrlOrMeta | WebInspector.KeyboardShortcut.Modifiers.Shift) 407 WebInspector.KeyboardShortcut.makeDescriptor("o", WebInspector.KeyboardS hortcut.Modifiers.CtrlOrMeta | WebInspector.KeyboardShortcut.Modifiers.Shift)
407 ], 408 ],
408 409
410 GoToLine: [
411 WebInspector.KeyboardShortcut.makeDescriptor("g", WebInspector.KeyboardS hortcut.Modifiers.Ctrl)
412 ],
413
409 ToggleBreakpoint: [ 414 ToggleBreakpoint: [
410 WebInspector.KeyboardShortcut.makeDescriptor("b", WebInspector.KeyboardS hortcut.Modifiers.CtrlOrMeta) 415 WebInspector.KeyboardShortcut.makeDescriptor("b", WebInspector.KeyboardS hortcut.Modifiers.CtrlOrMeta)
411 ], 416 ],
412 417
413 NextCallFrame: [ 418 NextCallFrame: [
414 WebInspector.KeyboardShortcut.makeDescriptor(WebInspector.KeyboardShortc ut.Keys.Period, WebInspector.KeyboardShortcut.Modifiers.Ctrl) 419 WebInspector.KeyboardShortcut.makeDescriptor(WebInspector.KeyboardShortc ut.Keys.Period, WebInspector.KeyboardShortcut.Modifiers.Ctrl)
415 ], 420 ],
416 421
417 PrevCallFrame: [ 422 PrevCallFrame: [
418 WebInspector.KeyboardShortcut.makeDescriptor(WebInspector.KeyboardShortc ut.Keys.Comma, WebInspector.KeyboardShortcut.Modifiers.Ctrl) 423 WebInspector.KeyboardShortcut.makeDescriptor(WebInspector.KeyboardShortc ut.Keys.Comma, WebInspector.KeyboardShortcut.Modifiers.Ctrl)
(...skipping 28 matching lines...) Expand all
447 LoadFromFile: [ 452 LoadFromFile: [
448 WebInspector.KeyboardShortcut.makeDescriptor("o", WebInspector.KeyboardS hortcut.Modifiers.CtrlOrMeta) 453 WebInspector.KeyboardShortcut.makeDescriptor("o", WebInspector.KeyboardS hortcut.Modifiers.CtrlOrMeta)
449 ] 454 ]
450 }; 455 };
451 456
452 WebInspector.ShortcutsScreen.ProfilesPanelShortcuts = { 457 WebInspector.ShortcutsScreen.ProfilesPanelShortcuts = {
453 StartStopRecording: [ 458 StartStopRecording: [
454 WebInspector.KeyboardShortcut.makeDescriptor("e", WebInspector.KeyboardS hortcut.Modifiers.CtrlOrMeta) 459 WebInspector.KeyboardShortcut.makeDescriptor("e", WebInspector.KeyboardS hortcut.Modifiers.CtrlOrMeta)
455 ] 460 ]
456 } 461 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/GoToLineDialog.js ('k') | Source/devtools/front_end/SourcesPanel.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698