Lines Matching refs:WebView
55 #include "WebView.h"
232 , webView(0)
241 WebView* webView;
417 HRESULT STDMETHODCALLTYPE WebFrame::webView(
421 if (!d->webView)
423 *view = d->webView;
1006 PassRefPtr<Frame> WebFrame::init(IWebView* webView, Page* page, HTMLFrameOwnerElement* ownerElement)
1008 webView->QueryInterface(&d->webView);
1009 d->webView->Release(); // don't hold the extra ref
1012 d->webView->viewWindow((OLE_HANDLE*)&viewWindow);
1432 if (FAILED(d->webView->formDelegate(&formDelegate))) {
1477 return WebView::canHandleRequest(request);
1535 return d->webView->userAgentForKURL(url);
1627 if (FAILED(d->webView->policyDelegate(&policyDelegate)))
1632 if (SUCCEEDED(policyDelegate->decidePolicyForMIMEType(d->webView, BString(mimeType), urlRequest.get(), this, setUpPolicyListener(function).get())))
1644 if (FAILED(d->webView->policyDelegate(&policyDelegate)))
1650 if (SUCCEEDED(policyDelegate->decidePolicyForNewWindowAction(d->webView, actionInformation.get(), urlRequest.get(), BString(frameName), setUpPolicyListener(function).get())))
1662 if (FAILED(d->webView->policyDelegate(&policyDelegate)))
1668 if (SUCCEEDED(policyDelegate->decidePolicyForNavigationAction(d->webView, actionInformation.get(), urlRequest.get(), this, setUpPolicyListener(function).get())))
1677 if (FAILED(d->webView->policyDelegate(&policyDelegate)))
1681 policyDelegate->unableToImplementPolicyWithError(d->webView, webError.get(), this);
1687 COMPtr<IWebView> webView;
1688 if (SUCCEEDED(this->webView(&webView))) {
1689 if (FAILED(webView->downloadDelegate(&downloadDelegate))) {
1690 // If the WebView doesn't successfully provide a download delegate we'll pass a null one
1692 LOG_ERROR("Failed to get downloadDelegate from WebView");
1712 if (SUCCEEDED(d->webView->frameLoadDelegate(&frameLoadDelegate))) {
1715 frameLoadDelegate->didFailProvisionalLoadWithError(d->webView, webError.get(), this);
1722 if (SUCCEEDED(d->webView->frameLoadDelegate(&frameLoadDelegate))) {
1725 frameLoadDelegate->didFailLoadWithError(d->webView, webError.get(), this);
1731 d->webView->downloadURL(request.url());
1743 if (FAILED(d->webView->resourceLoadDelegate(&resourceLoadDelegate)))
1751 resourceLoadDelegate->plugInFailedWithError(d->webView, error.get(), getWebDataSource(d->frame->loader()->documentLoader()));
1777 if (FAILED(d->webView->frameLoadDelegate(&frameLoadDelegate)))
1781 if (delegatePrivate && delegatePrivate->didClearWindowObjectForFrameInScriptWorld(d->webView, this, WebScriptWorld::findOrCreateWorld(world).get()) != E_NOTIMPL)
1791 if (FAILED(frameLoadDelegate->didClearWindowObject(d->webView, context, windowObject, this)))
1792 frameLoadDelegate->windowScriptObjectAvailable(d->webView, context, windowObject);
1802 if (FAILED(d->webView->preferences(&preferences)))
1822 d->webView->registerForIconNotification(listen);
1885 if (FAILED(d->webView->uiDelegate(&ui)))
1887 if (headerHeight && SUCCEEDED(ui->webViewHeaderHeight(d->webView, &height)))
1889 if (footerHeight && SUCCEEDED(ui->webViewFooterHeight(d->webView, &height)))
1898 if (FAILED(d->webView->uiDelegate(&ui)))
1902 if (FAILED(ui->webViewPrintingMarginRect(d->webView, &rect)))
1972 ui->drawHeaderInRect(d->webView, &headerRect, static_cast<OLE_HANDLE>(reinterpret_cast<LONG64>(pctx)));
1980 ui->drawFooterInRect(d->webView, &footerRect, static_cast<OLE_HANDLE>(reinterpret_cast<LONG64>(pctx)), page+1, pageCount);
2054 ui->drawHeaderInRect(d->webView, &headerRect, static_cast<OLE_HANDLE>(reinterpret_cast<LONG64>(hdc)));
2067 ui->drawFooterInRect(d->webView, &footerRect, static_cast<OLE_HANDLE>(reinterpret_cast<LONG64>(hdc)), page+1, pageCount);
2171 if (FAILED(d->webView->uiDelegate(&ui)))
2386 WebView* WebFrame::webView() const
2388 return d->webView;
2411 Color backgroundColor = webView()->transparent() ? Color::transparent : Color::white;
2417 coreFrame->view()->updateBackgroundRecursively(backgroundColor, webView()->transparent());