----- Original Message ----- > Maybe we could use the load operation object to unify all load methods > into a single one. We currently have > > webkit_web_view_load_uri() > webkit_web_view_load_string() > webkit_web_view_load_html_string() > webkit_web_view_load_request() > > We could have something like: > > WebKitLoadOperation *webkit_load_operation_new_for_uri() > WebKitLoadOperation *webkit_load_operation_new_for_html() > WebKitLoadOperation *webkit_load_operation_new_for_plain_text() > WebKitLoadOperation *webkit_load_operation_new_for_network_request() > > webkit_web_view_load (WebKitWebView *view, > WebKitLoadOperation *operation, > GCancellable *cancellable, > GAsyncReadyCallback callback, > gpointer user_data); > > But we would still have to connect the signals all the time for every > load operation, unless we could reuse the WebKitLoadOperation object, > I'm not sure, though.
Yeah, I don't really see the point, its not really an easier to use API... _______________________________________________ webkit-gtk mailing list [email protected] http://lists.webkit.org/mailman/listinfo.cgi/webkit-gtk
