Home | History | Annotate | Download | only in win

Lines Matching defs:webView

54 #include "WebView.h"
233 , webView(0)
242 WebView* webView;
446 HRESULT STDMETHODCALLTYPE WebFrame::webView(
450 if (!d->webView)
452 *view = d->webView;
1087 PassRefPtr<Frame> WebFrame::init(IWebView* webView, Page* page, HTMLFrameOwnerElement* ownerElement)
1089 webView->QueryInterface(&d->webView);
1090 d->webView->Release(); // don't hold the extra ref
1093 d->webView->viewWindow((OLE_HANDLE*)&viewWindow);
1560 if (FAILED(d->webView->formDelegate(&formDelegate))) {
1610 return WebView::canHandleRequest(request);
1674 return d->webView->userAgentForKURL(url);
1772 if (FAILED(d->webView->policyDelegate(&policyDelegate)))
1777 if (SUCCEEDED(policyDelegate->decidePolicyForMIMEType(d->webView, BString(response.mimeType()), urlRequest.get(), this, setUpPolicyListener(function).get())))
1789 if (FAILED(d->webView->policyDelegate(&policyDelegate)))
1795 if (SUCCEEDED(policyDelegate->decidePolicyForNewWindowAction(d->webView, actionInformation.get(), urlRequest.get(), BString(frameName), setUpPolicyListener(function).get())))
1807 if (FAILED(d->webView->policyDelegate(&policyDelegate)))
1813 if (SUCCEEDED(policyDelegate->decidePolicyForNavigationAction(d->webView, actionInformation.get(), urlRequest.get(), this, setUpPolicyListener(function).get())))
1822 if (FAILED(d->webView->policyDelegate(&policyDelegate)))
1826 policyDelegate->unableToImplementPolicyWithError(d->webView, webError.get(), this);
1832 COMPtr<IWebView> webView;
1833 if (SUCCEEDED(this->webView(&webView))) {
1834 if (FAILED(webView->downloadDelegate(&downloadDelegate))) {
1835 // If the WebView doesn't successfully provide a download delegate we'll pass a null one
1837 LOG_ERROR("Failed to get downloadDelegate from WebView");
1857 if (SUCCEEDED(d->webView->frameLoadDelegate(&frameLoadDelegate))) {
1860 frameLoadDelegate->didFailProvisionalLoadWithError(d->webView, webError.get(), this);
1867 if (SUCCEEDED(d->webView->frameLoadDelegate(&frameLoadDelegate))) {
1870 frameLoadDelegate->didFailLoadWithError(d->webView, webError.get(), this);
1876 d->webView->downloadURL(request.url());
1888 if (FAILED(d->webView->resourceLoadDelegate(&resourceLoadDelegate)))
1896 resourceLoadDelegate->plugInFailedWithError(d->webView, error.get(), getWebDataSource(d->frame->loader()->documentLoader()));
1922 if (FAILED(d->webView->frameLoadDelegate(&frameLoadDelegate)))
1926 if (delegatePrivate && delegatePrivate->didClearWindowObjectForFrameInScriptWorld(d->webView, this, WebScriptWorld::findOrCreateWorld(world).get()) != E_NOTIMPL)
1936 if (FAILED(frameLoadDelegate->didClearWindowObject(d->webView, context, windowObject, this)))
1937 frameLoadDelegate->windowScriptObjectAvailable(d->webView, context, windowObject);
1947 if (FAILED(d->webView->preferences(&preferences)))
1967 d->webView->registerForIconNotification(listen);
2035 if (FAILED(d->webView->uiDelegate(&ui)))
2037 if (headerHeight && SUCCEEDED(ui->webViewHeaderHeight(d->webView, &height)))
2039 if (footerHeight && SUCCEEDED(ui->webViewFooterHeight(d->webView, &height)))
2048 if (FAILED(d->webView->uiDelegate(&ui)))
2052 if (FAILED(ui->webViewPrintingMarginRect(d->webView, &rect)))
2122 ui->drawHeaderInRect(d->webView, &headerRect, static_cast<OLE_HANDLE>(reinterpret_cast<LONG64>(pctx)));
2130 ui->drawFooterInRect(d->webView, &footerRect, static_cast<OLE_HANDLE>(reinterpret_cast<LONG64>(pctx)), page+1, pageCount);
2201 ui->drawHeaderInRect(d->webView, &headerRect, static_cast<OLE_HANDLE>(reinterpret_cast<LONG64>(hdc)));
2212 ui->drawFooterInRect(d->webView, &footerRect, static_cast<OLE_HANDLE>(reinterpret_cast<LONG64>(hdc)), page+1, pageCount);
2388 if (FAILED(d->webView->uiDelegate(&ui)))
2602 WebView* WebFrame::webView() const
2604 return d->webView;
2607 void WebFrame::setWebView(WebView* webView)
2609 d->webView = webView;
2632 Color backgroundColor = webView()->transparent() ? Color::transparent : Color::white;
2638 coreFrame->view()->updateBackgroundRecursively(backgroundColor, webView()->transparent());