Lines Matching refs:policyDelegate
1771 COMPtr<IWebPolicyDelegate> policyDelegate;
1772 if (FAILED(d->webView->policyDelegate(&policyDelegate)))
1773 policyDelegate = DefaultPolicyDelegate::sharedInstance();
1777 if (SUCCEEDED(policyDelegate->decidePolicyForMIMEType(d->webView, BString(response.mimeType()), urlRequest.get(), this, setUpPolicyListener(function).get())))
1788 COMPtr<IWebPolicyDelegate> policyDelegate;
1789 if (FAILED(d->webView->policyDelegate(&policyDelegate)))
1790 policyDelegate = DefaultPolicyDelegate::sharedInstance();
1795 if (SUCCEEDED(policyDelegate->decidePolicyForNewWindowAction(d->webView, actionInformation.get(), urlRequest.get(), BString(frameName), setUpPolicyListener(function).get())))
1806 COMPtr<IWebPolicyDelegate> policyDelegate;
1807 if (FAILED(d->webView->policyDelegate(&policyDelegate)))
1808 policyDelegate = DefaultPolicyDelegate::sharedInstance();
1813 if (SUCCEEDED(policyDelegate->decidePolicyForNavigationAction(d->webView, actionInformation.get(), urlRequest.get(), this, setUpPolicyListener(function).get())))
1821 COMPtr<IWebPolicyDelegate> policyDelegate;
1822 if (FAILED(d->webView->policyDelegate(&policyDelegate)))
1823 policyDelegate = DefaultPolicyDelegate::sharedInstance();
1826 policyDelegate->unableToImplementPolicyWithError(d->webView, webError.get(), this);