Bug 144068

Summary: Web Inspector: Make debugger keyboard shortcuts global
Product: WebKit Reporter: Timothy Hatcher <timothy>
Component: Web InspectorAssignee: Timothy Hatcher <timothy>
Status: RESOLVED FIXED    
Severity: Normal CC: adam.g.helm, graouts, joepeck, jonowells, mattbaker, nvasilyev, timothy, webkit-bug-importer
Priority: P2 Keywords: DoNotImportToRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch none

Description Timothy Hatcher 2015-04-22 12:50:42 PDT
Move them out of DebuggerSidebarPanel.
Comment 1 Timothy Hatcher 2015-04-22 12:54:16 PDT
Created attachment 251358 [details]
Patch
Comment 2 Joseph Pecoraro 2015-04-22 13:15:01 PDT
Comment on attachment 251358 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=251358&action=review

> Source/WebInspectorUI/ChangeLog:6
> +        We wont always have a DebuggerSidebarPanel to listen for the shortcuts.

Typo: "wont" => "won't".

Would DebuggerManager be a better place instead of WebInspector / Main.js?

The manager will always exist, these are wrapping DebuggerAgent APIs, and DebuggerManager is also sending the "Pause" / "Resume" events.
Comment 3 Timothy Hatcher 2015-04-22 13:38:02 PDT
Comment on attachment 251358 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=251358&action=review

>> Source/WebInspectorUI/ChangeLog:6
>> +        We wont always have a DebuggerSidebarPanel to listen for the shortcuts.
> 
> Typo: "wont" => "won't".
> 
> Would DebuggerManager be a better place instead of WebInspector / Main.js?
> 
> The manager will always exist, these are wrapping DebuggerAgent APIs, and DebuggerManager is also sending the "Pause" / "Resume" events.

Managers should not have UI (keyboard shortcuts). I don't think they will be in Test.html for example.
Comment 4 Joseph Pecoraro 2015-04-22 13:44:28 PDT
> Managers should not have UI (keyboard shortcuts). I don't think they will be
> in Test.html for example.

Excellent point.
Comment 5 Timothy Hatcher 2015-04-25 18:36:16 PDT
r183322r183342

http://trac.webkit.org/log/?revs=183322-183342
Comment 6 Csaba Osztrogonác 2015-09-14 10:53:52 PDT
Comment on attachment 251358 [details]
Patch

Cleared review? from attachment 251358 [details] so that this bug does not appear in http://webkit.org/pending-review.  If you would like this patch reviewed, please attach it to a new bug (or re-open this bug before marking it for review again).