Bug 55618

Summary: Expose ability to create instance of DOMFileSystem from Chromium side
Product: WebKit Reporter: Zelidrag Hornung <zelidrag>
Component: PlatformAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Enhancement CC: commit-queue, ericu, fishd, kinuko, levin
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Other   
OS: Other   
Attachments:
Description Flags
Created WebKit::WebFrame::createFileSystem() - factory method that lets us create DOMFileSystem instance from Chromium side.
none
fixed comments in ChangeLog
levin: review-
fixed nits from levin's feedback none

Description Zelidrag Hornung 2011-03-02 14:43:24 PST
We need to expose ability to create instance of DOMFileSystem from Chromium side. Currently, DOMFileSystem instance can be created only though path used to process window.requestFileSystem() call. On Chromium side, we also want to be able to expose special file system object in the context of Chrome extensions. There isn't any good way to do this right now.
Comment 1 Zelidrag Hornung 2011-03-02 14:58:14 PST
Created attachment 84471 [details]
Created WebKit::WebFrame::createFileSystem() - factory method that lets us create DOMFileSystem instance from Chromium side.

For the lack of better place, I've added this new method as:

WebKit::WebFrame::createFileSystem(int type, const WebString& name, const WebString& path)

Please advise if this should live somewhere else instead.
Comment 2 Kinuko Yasuda 2011-03-02 16:45:17 PST
Comment on attachment 84471 [details]
Created WebKit::WebFrame::createFileSystem() - factory method that lets us create DOMFileSystem instance from Chromium side.

The patch seems to include unrelated LayoutTests files (and they don't look really changed -- maybe end-of-line issues?).  Can you get rid of them?

I believe this change needs Darin's review.

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

> Source/WebKit/chromium/ChangeLog:3
> +        Reviewed by Eric Uhrhane.

The reviewer line should be filled after this patch gets reviewed.
Comment 3 Eric U. 2011-03-02 17:14:33 PST
Comment on attachment 84471 [details]
Created WebKit::WebFrame::createFileSystem() - factory method that lets us create DOMFileSystem instance from Chromium side.

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

> Source/WebKit/chromium/ChangeLog:4
> +

Yeah, you just leave them as "Reviewed by NOBODY (OOPS!)." and the reviewer who commits it [or the commit queue daemon] will fill it in for you.

Incidentally, I'm not a webkit reviewer.  I have no particular opinion on this side of the change--as Kinuko says, Darin likes to review all the WebKit API CLs.
Comment 4 Eric U. 2011-03-03 16:25:27 PST
(In reply to comment #3)
> (From update of attachment 84471 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=84471&action=review
> 
> > Source/WebKit/chromium/ChangeLog:4
> > +
> 
> Yeah, you just leave them as "Reviewed by NOBODY (OOPS!)." and the reviewer who commits it [or the commit queue daemon] will fill it in for you.
> 
> Incidentally, I'm not a webkit reviewer.  I have no particular opinion on this side of the change--as Kinuko says, Darin likes to review all the WebKit API CLs.

...except that Darin's out on leave for a bit.  Another reviewer will have to do.
Comment 5 Zelidrag Hornung 2011-03-03 17:04:03 PST
Created attachment 84658 [details]
fixed comments in ChangeLog

fixed comments in ChangeLog
Comment 6 Zelidrag Hornung 2011-03-03 17:05:09 PST
Comment on attachment 84471 [details]
Created WebKit::WebFrame::createFileSystem() - factory method that lets us create DOMFileSystem instance from Chromium side.

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

>> Source/WebKit/chromium/ChangeLog:3

> 
> The reviewer line should be filled after this patch gets reviewed.

fixed

>>> Source/WebKit/chromium/ChangeLog:4

>> 
>> Yeah, you just leave them as "Reviewed by NOBODY (OOPS!)." and the reviewer who commits it [or the commit queue daemon] will fill it in for you.
>> 
>> Incidentally, I'm not a webkit reviewer.  I have no particular opinion on this side of the change--as Kinuko says, Darin likes to review all the WebKit API CLs.
> 
> ...except that Darin's out on leave for a bit.  Another reviewer will have to do.

fixed
Comment 7 David Levin 2011-03-03 17:21:43 PST
Comment on attachment 84658 [details]
fixed comments in ChangeLog

r- to fix nits (as noted), so I can cq+ the next version of the patch.
Comment 8 Zelidrag Hornung 2011-03-03 17:26:19 PST
Created attachment 84661 [details]
fixed nits from levin's feedback

fixed nits from levin's feedback
Comment 9 WebKit Commit Bot 2011-03-04 00:38:31 PST
Comment on attachment 84661 [details]
fixed nits from levin's feedback

Clearing flags on attachment: 84661

Committed r80333: <http://trac.webkit.org/changeset/80333>
Comment 10 WebKit Commit Bot 2011-03-04 00:38:37 PST
All reviewed patches have been landed.  Closing bug.