Bug 49441 - Web Inspector: [Extensions API] [refactoring] generate public API interfaces automatically
Summary: Web Inspector: [Extensions API] [refactoring] generate public API interfaces ...
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-11-12 06:51 PST by Andrey Kosyakov
Modified: 2010-11-12 07:43 PST (History)
11 users (show)

See Also:


Attachments
patch (9.84 KB, patch)
2010-11-12 06:56 PST, Andrey Kosyakov
no flags Details | Formatted Diff | Diff
patch (9.84 KB, patch)
2010-11-12 07:09 PST, Andrey Kosyakov
no flags 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-11-12 06:51:43 PST
In order to hide implementation fields from the client, the extensions API often makes publicly visible classes as wrappers that create an instance of implementation class as a lexical variable named impl in constructor and re-bind all public methods from impl.
This used to be done manually, which produces annoying clutter in ExtensionsAPI.js. This patch automates creation of public interface wrappers.
Comment 1 Andrey Kosyakov 2010-11-12 06:56:36 PST
Created attachment 73736 [details]
patch
Comment 2 Andrey Kosyakov 2010-11-12 07:09:51 PST
Created attachment 73738 [details]
patch
Comment 3 WebKit Commit Bot 2010-11-12 07:43:44 PST
Comment on attachment 73738 [details]
patch

Clearing flags on attachment: 73738

Committed r71911: <http://trac.webkit.org/changeset/71911>
Comment 4 WebKit Commit Bot 2010-11-12 07:43:49 PST
All reviewed patches have been landed.  Closing bug.