void ChromeClientImpl::startDragging(LocalFrame* frame, const WebDragData& dragData, WebDragOperationsMask mask, const WebImage& dragImage, const WebPoint& dragImageOffset) { WebLocalFrameImpl* webFrame = WebLocalFrameImpl::fromFrame(frame); WebReferrerPolicy policy = webFrame->document().referrerPolicy(); m_webView->setDoingDragAndDrop(true); webFrame->localRoot()->frameWidget()->client()->startDragging( policy, dragData, mask, dragImage, dragImageOffset); }
CompositorProxyClient* ChromeClientImpl::createCompositorProxyClient( LocalFrame* frame) { WebLocalFrameImpl* webFrame = WebLocalFrameImpl::fromFrame(frame); return webFrame->localRoot()->frameWidget()->createCompositorProxyClient(); }