[Webkit-unassigned] [Bug 69572] [Qt] QTouchWebView missing navigationPolicyForUrl
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Oct 12 12:51:07 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=69572
--- Comment #3 from Gopal Raghavan <gopal.1.raghavan at nokia.com> 2011-10-12 12:51:06 PST ---
The PolicyAction enums defined in PolicyInterface.h is not available to qml. The current implementation enables the following in qml:
TouchWebView {
id: webView
......
.....
function navigationPolicyForUrl(url, button, modifiers) {
// link delegation
if (button == Qt.LeftButton && pageLoaded) {
return webView.TouchWebView.IgnorePolicy
}
return webView.TouchWebView.UsePolicy
}
}
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list