En 26/12/11 14:17, Carlos Garcia Campos escribiu:
> - WebKitWebFindClient webkit_web_view_get_find_client()
> - void webkit_web_view_get_find_client(WebKitWebFindClient)
I guess this would be set_find_client.
I would avoid using FindClient this way, we are indeed removing
LoaderClient object. I like the idea of using a separate object, but I
would do something similar to the downloads API.
The only doubt I have about this approach is when to actually trigger
the text search. Note that results will be provided using signals. If
the webview starts the search before returning the WebKitFind object
there is no guarantee that we will not loose any signal emission. On the
other hand having a webkit_web_view_find_text() + webkit_find_find()
(with the WebKitFind object starting the search) looks awkward to me too.
BR
_______________________________________________
webkit-gtk mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-gtk