[webkit-gtk] Resources in WebKit2 GTK+ API

Martin Robinson mrobinson at webkit.org
Thu Feb 9 10:05:46 PST 2012


On Thu, Feb 9, 2012 at 9:52 AM, Carlos Garcia Campos <cgarcia at igalia.com> wrote:

This API looks good to me!

 And we can probably add a convenient method to save a WebView:
>
> void webkit_web_view_save_to_dir (WebKitWebView          *web_view,
>                                                        const gchar                *uri,
>                                                        GAsyncReadyCallback callback,
>                                                        gpointer                       user_data);

How does the URI argument work here? Does it change the current page?
We might consider adding a boolean here determining whether to save
all the resources or just the main resource. Chromium has this option
in its save dialog.

--Martin


More information about the webkit-gtk mailing list