[webkit-qt] decidePolicyForNavigationAction QML API

Caio Marcelo de Oliveira Filho caio.oliveira at openbossa.org
Thu Oct 13 10:13:40 PDT 2011


> The WebView component gets a signal navigationRequested (naturally the name is just a proposal) that provides a "NavigationRequest" object (that internally wraps a WKFramePolicyListenerRef) and which provides corresponding methods/slots for use/download/ignore. This changes the usage to the following pattern:


I'm the author of the current implementation and I think this will be
a real improvement.

Couple of questions: who will delete the request objects (maybe
themselves when answer function called...)?
And do we expect to webView be in a "consistent" state in the meantime
-- IOW is it fine to call webView.load() before answering the request?


Caio Marcelo de Oliveira Filho
OpenBossa - INdT

More information about the webkit-qt mailing list