El jue, 09-02-2012 a las 10:05 -0800, Martin Robinson escribió: > On Thu, Feb 9, 2012 at 9:52 AM, Carlos Garcia Campos <[email protected]> > 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?
Maybe it shoulnd't be called _to_dir(). URI is the destination uri to save the main page, the directory to store the resources is created in the same dir where uri is. > Does it change the current page? what do you mean? > 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. Good point, maybe an enum SAVE_ALL, SAVE_MAIN_RESOURCE or something like that to avoid booleans. > --Martin -- Carlos Garcia Campos http://pgp.rediris.es:11371/pks/lookup?op=get&search=0xF3D322D0EC4582C3
signature.asc
Description: This is a digitally signed message part
_______________________________________________ webkit-gtk mailing list [email protected] http://lists.webkit.org/mailman/listinfo.cgi/webkit-gtk
