Bug 144068 - Web Inspector: Make debugger keyboard shortcuts global
Summary: Web Inspector: Make debugger keyboard shortcuts global
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Timothy Hatcher
URL:
Keywords: DoNotImportToRadar
Depends on:
Blocks:
 
Reported: 2015-04-22 12:50 PDT by Timothy Hatcher
Modified: 2015-09-14 10:53 PDT (History)
8 users (show)

See Also:


Attachments
Patch (17.68 KB, patch)
2015-04-22 12:54 PDT, Timothy Hatcher
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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).