Bug 45955 - Web Inspector: [Extensions API] Provide a way for extension to create a status bar icon
Summary: Web Inspector: [Extensions API] Provide a way for extension to create a statu...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Andrey Kosyakov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-17 03:20 PDT by Andrey Kosyakov
Modified: 2011-11-18 02:22 PST (History)
8 users (show)

See Also:


Attachments
Patch (15.14 KB, patch)
2011-11-18 00:48 PST, Andrey Kosyakov
pfeldman: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Kosyakov 2010-09-17 03:20:26 PDT
For many types of extensions, rendering an own panel or sidebar is an overkill. It is suggested to allow extensions to add their own status bar icons to be able to trigger basic actions.
Comment 1 Andrey Kosyakov 2011-11-18 00:48:19 PST
Created attachment 115758 [details]
Patch
Comment 2 Pavel Feldman 2011-11-18 01:59:49 PST
Comment on attachment 115758 [details]
Patch

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

> Source/WebCore/ChangeLog:3
> +        Web Inspector: [Extensions API] Provide a way for extension to create a status bar icon

status bar button?

> Source/WebCore/inspector/front-end/ExtensionPanel.js:114
> +    this._statusBarItems = [];

statusBarButtons ?

> Source/WebCore/inspector/front-end/ExtensionPanel.js:199
> +     * @param {?string} iconURL

Are these nullable or optional?
Comment 3 Andrey Kosyakov 2011-11-18 02:22:36 PST
Committed r100735: <http://trac.webkit.org/changeset/100735>