• Home
  • Raw
  • Download

Lines Matching refs:m_webFrame

97     : m_webFrame(frame)  in FrameLoaderClientImpl()
115 m_webFrame->closing(); in frameLoaderDestroyed()
116 m_webFrame->deref(); in frameLoaderDestroyed()
121 if (m_webFrame->client()) in dispatchDidClearWindowObjectInWorld()
122 m_webFrame->client()->didClearWindowObject(m_webFrame); in dispatchDidClearWindowObjectInWorld()
124 WebViewImpl* webview = m_webFrame->viewImpl(); in dispatchDidClearWindowObjectInWorld()
126 webview->devToolsAgentPrivate()->didClearWindowObject(m_webFrame); in dispatchDidClearWindowObjectInWorld()
131 if (m_webFrame->client()) in documentElementAvailable()
132 m_webFrame->client()->didCreateDocumentElement(m_webFrame); in documentElementAvailable()
137 if (m_webFrame->client()) in didCreateScriptContextForFrame()
138 m_webFrame->client()->didCreateScriptContext(m_webFrame); in didCreateScriptContextForFrame()
143 if (m_webFrame->client()) in didDestroyScriptContextForFrame()
144 m_webFrame->client()->didDestroyScriptContext(m_webFrame); in didDestroyScriptContextForFrame()
149 if (m_webFrame->client()) in didCreateIsolatedScriptContext()
150 m_webFrame->client()->didCreateIsolatedScriptContext(m_webFrame); in didCreateIsolatedScriptContext()
156 if (m_webFrame->client()) in allowScriptExtension()
157 … return m_webFrame->client()->allowScriptExtension(m_webFrame, extensionName, extensionGroup); in allowScriptExtension()
171 if (m_webFrame->client()) in didChangeScrollOffset()
172 m_webFrame->client()->didChangeScrollOffset(m_webFrame); in didChangeScrollOffset()
177 if (m_webFrame->client()) in allowJavaScript()
178 return m_webFrame->client()->allowScript(m_webFrame, enabledPerSettings); in allowJavaScript()
185 if (m_webFrame->client()) in allowPlugins()
186 return m_webFrame->client()->allowPlugins(m_webFrame, enabledPerSettings); in allowPlugins()
193 if (m_webFrame->client()) in allowImages()
194 return m_webFrame->client()->allowImages(m_webFrame, enabledPerSettings); in allowImages()
201 if (m_webFrame->client()) in didNotAllowScript()
202 m_webFrame->client()->didNotAllowScript(m_webFrame); in didNotAllowScript()
207 if (m_webFrame->client()) in didNotAllowPlugins()
208 m_webFrame->client()->didNotAllowPlugins(m_webFrame); in didNotAllowPlugins()
213 return m_webFrame->viewImpl(); in hasWebView()
221 return m_webFrame->viewImpl(); in hasFrameView()
226 m_webFrame->createFrameView(); in makeDocumentView()
262 m_webFrame->frame()->script()->proxy()->clearForClose(); in detachedFromParent3()
266 if (m_webFrame->client()) in detachedFromParent3()
267 m_webFrame->client()->frameDetached(m_webFrame); in detachedFromParent3()
271 m_webFrame->setClient(0); in detachedFromParent3()
282 if (m_webFrame->client()) { in assignIdentifierToInitialRequest()
284 m_webFrame->client()->assignIdentifierToRequest( in assignIdentifierToInitialRequest()
285 m_webFrame, identifier, webreq); in assignIdentifierToInitialRequest()
334 if (m_webFrame->client()) { in dispatchWillSendRequest()
337 m_webFrame->client()->willSendRequest( in dispatchWillSendRequest()
338 m_webFrame, identifier, webreq, webresp); in dispatchWillSendRequest()
374 if (m_webFrame->client()) { in dispatchDidReceiveResponse()
376 m_webFrame->client()->didReceiveResponse(m_webFrame, identifier, webresp); in dispatchDidReceiveResponse()
391 if (m_webFrame->client()) in dispatchDidFinishLoading()
392 m_webFrame->client()->didFinishResourceLoad(m_webFrame, identifier); in dispatchDidFinishLoading()
399 if (m_webFrame->client()) in dispatchDidFailLoading()
400 m_webFrame->client()->didFailResourceLoad(m_webFrame, identifier, error); in dispatchDidFailLoading()
407 m_webFrame->clearPasswordListeners(); in dispatchDidFinishDocumentLoad()
409 if (m_webFrame->client()) in dispatchDidFinishDocumentLoad()
410 m_webFrame->client()->didFinishDocumentLoad(m_webFrame); in dispatchDidFinishDocumentLoad()
419 if (m_webFrame->client()) { in dispatchDidLoadResourceFromMemoryCache()
422 m_webFrame->client()->didLoadResourceFromMemoryCache( in dispatchDidLoadResourceFromMemoryCache()
423 m_webFrame, webreq, webresp); in dispatchDidLoadResourceFromMemoryCache()
430 if (m_webFrame->client()) in dispatchDidHandleOnloadEvents()
431 m_webFrame->client()->didHandleOnloadEvents(m_webFrame); in dispatchDidHandleOnloadEvents()
516 WebDataSourceImpl* ds = m_webFrame->provisionalDataSourceImpl(); in dispatchDidReceiveServerRedirectForProvisionalLoad()
537 if (m_webFrame->client()) in dispatchDidReceiveServerRedirectForProvisionalLoad()
538 m_webFrame->client()->didReceiveServerRedirectForProvisionalLoad(m_webFrame); in dispatchDidReceiveServerRedirectForProvisionalLoad()
545 if (m_webFrame->client()) { in dispatchDidCancelClientRedirect()
548 m_webFrame->client()->didCancelClientRedirect(m_webFrame); in dispatchDidCancelClientRedirect()
562 m_expectedClientRedirectSrc = m_webFrame->url(); in dispatchWillPerformClientRedirect()
576 if (m_webFrame->client()) { in dispatchWillPerformClientRedirect()
577 m_webFrame->client()->willPerformClientRedirect( in dispatchWillPerformClientRedirect()
578 m_webFrame, in dispatchWillPerformClientRedirect()
590 WebViewImpl* webView = m_webFrame->viewImpl(); in dispatchDidNavigateWithinPage()
605 HistoryItem* currentItem = m_webFrame->frame()->loader()->history()->currentItem(); in dispatchDidNavigateWithinPage()
608 WebDataSourceImpl* ds = m_webFrame->dataSourceImpl(); in dispatchDidNavigateWithinPage()
630 || !m_webFrame->isProcessingUserGesture(); in dispatchDidNavigateWithinPage()
633 if (m_webFrame->client()) in dispatchDidNavigateWithinPage()
634 m_webFrame->client()->didCompleteClientRedirect(m_webFrame, chainEnd); in dispatchDidNavigateWithinPage()
650 if (m_webFrame->client()) in dispatchDidNavigateWithinPage()
651 m_webFrame->client()->didNavigateWithinPage(m_webFrame, isNewNavigation); in dispatchDidNavigateWithinPage()
660 if (m_webFrame) in dispatchDidChangeLocationWithinPage()
661 m_webFrame->client()->didChangeLocationWithinPage(m_webFrame); in dispatchDidChangeLocationWithinPage()
681 if (m_webFrame->client()) in dispatchWillClose()
682 m_webFrame->client()->willClose(m_webFrame); in dispatchWillClose()
698 WebDataSourceImpl* ds = m_webFrame->provisionalDataSourceImpl(); in dispatchDidStartProvisionalLoad()
732 if (m_webFrame->client()) { in dispatchDidStartProvisionalLoad()
737 m_webFrame->client()->didStartProvisionalLoad(m_webFrame); in dispatchDidStartProvisionalLoad()
739 m_webFrame->client()->didCompleteClientRedirect( in dispatchDidStartProvisionalLoad()
740 m_webFrame, m_expectedClientRedirectSrc); in dispatchDidStartProvisionalLoad()
747 if (m_webFrame->client()) in dispatchDidReceiveTitle()
748m_webFrame->client()->didReceiveTitle(m_webFrame, title.string(), title.direction() == LTR ? WebTe… in dispatchDidReceiveTitle()
753 if (m_webFrame->client()) in dispatchDidChangeIcons()
754 m_webFrame->client()->didChangeIcons(m_webFrame); in dispatchDidChangeIcons()
759 WebViewImpl* webview = m_webFrame->viewImpl(); in dispatchDidCommitLoad()
763 if (m_webFrame->client()) in dispatchDidCommitLoad()
764 m_webFrame->client()->didCommitProvisionalLoad(m_webFrame, isNewNavigation); in dispatchDidCommitLoad()
777 m_webFrame->didFail(cancelledError(error.failingURL()), true); in dispatchDidFailProvisionalLoad()
782 m_webFrame->didFail(error, true); in dispatchDidFailProvisionalLoad()
790 m_webFrame->didFail(error, false); in dispatchDidFailLoad()
803 if (m_webFrame->client()) in dispatchDidFinishLoad()
804 m_webFrame->client()->didFinishLoad(m_webFrame); in dispatchDidFinishLoad()
816 if (m_webFrame->client()) in dispatchDidFirstLayout()
817 m_webFrame->client()->didFirstLayout(m_webFrame); in dispatchDidFirstLayout()
822 if (m_webFrame->client()) in dispatchDidFirstVisuallyNonEmptyLayout()
823 m_webFrame->client()->didFirstVisuallyNonEmptyLayout(m_webFrame); in dispatchDidFirstVisuallyNonEmptyLayout()
829 Page* newPage = m_webFrame->frame()->page()->chrome()->createWindow( in dispatchCreatePage()
830 m_webFrame->frame(), FrameLoadRequest(m_webFrame->frame()->document()->securityOrigin()), in dispatchCreatePage()
849 WebViewImpl* webView = m_webFrame->viewImpl(); in dispatchShow()
879 (m_webFrame->frame()->loader()->policyChecker()->*function)(action); in dispatchDecidePolicyForResponse()
905 (m_webFrame->frame()->loader()->policyChecker()->*function)(policyAction); in dispatchDecidePolicyForNewWindowAction()
919 if (m_webFrame->client() && !request.url().isNull()) { in dispatchDecidePolicyForNavigationAction()
924 const WebDataSourceImpl* ds = m_webFrame->provisionalDataSourceImpl(); in dispatchDecidePolicyForNavigationAction()
939 node = m_webFrame->frame()->eventHandler()->hitTestResultAtPoint( in dispatchDecidePolicyForNavigationAction()
946 navigationPolicy = m_webFrame->client()->decidePolicyForNavigation( in dispatchDecidePolicyForNavigationAction()
947 m_webFrame, ds->request(), webnavType, originatingNode, in dispatchDecidePolicyForNavigationAction()
958 m_webFrame->client()->loadURLExternally(m_webFrame, webreq, navigationPolicy); in dispatchDecidePolicyForNavigationAction()
964 (m_webFrame->frame()->loader()->policyChecker()->*function)(policyAction); in dispatchDecidePolicyForNavigationAction()
974 m_webFrame->client()->unableToImplementPolicyWithError(m_webFrame, error); in dispatchUnableToImplementPolicy()
979 if (m_webFrame->client()) in dispatchWillSendSubmitEvent()
980 m_webFrame->client()->willSendSubmitEvent(m_webFrame, WebFormElement(form)); in dispatchWillSendSubmitEvent()
986 if (m_webFrame->client()) in dispatchWillSubmitForm()
987 m_webFrame->client()->willSubmitForm(m_webFrame, WebFormElement(formState->form())); in dispatchWillSubmitForm()
988 (m_webFrame->frame()->loader()->policyChecker()->*function)(PolicyUse); in dispatchWillSubmitForm()
1015 WebViewImpl* webview = m_webFrame->viewImpl(); in postProgressStartedNotification()
1022 WebViewImpl* webview = m_webFrame->viewImpl(); in postProgressEstimateChangedNotification()
1025 m_webFrame, m_webFrame->frame()->page()->progress()->estimatedProgress()); in postProgressEstimateChangedNotification()
1033 WebViewImpl* webview = m_webFrame->viewImpl(); in postProgressFinishedNotification()
1047 if (m_webFrame->client()) { in startDownload()
1049 m_webFrame->client()->loadURLExternally( in startDownload()
1050 m_webFrame, webreq, WebNavigationPolicyDownload); in startDownload()
1068 if (m_webFrame->client()) { in committedLoad()
1070 m_webFrame->client()->didReceiveDocumentData(m_webFrame, data, length, preventDefault); in committedLoad()
1072 m_webFrame->commitDocumentData(data, length); in committedLoad()
1078 if (m_webFrame->frame()->document()->isMediaDocument()) in committedLoad()
1087 m_webFrame->frame()->loader()->activeDocumentLoader()->response()); in committedLoad()
1137 WebViewImpl* webview = m_webFrame->viewImpl(); in shouldGoToHistoryItem()
1166 if (m_webFrame->client()) in didDisplayInsecureContent()
1167 m_webFrame->client()->didDisplayInsecureContent(m_webFrame); in didDisplayInsecureContent()
1172 if (m_webFrame->client()) in didRunInsecureContent()
1173m_webFrame->client()->didRunInsecureContent(m_webFrame, WebSecurityOrigin(origin), insecureURL); in didRunInsecureContent()
1184 if (!m_webFrame->client()) in cancelledError()
1187 return m_webFrame->client()->cancelledError( in cancelledError()
1188 m_webFrame, WrappedResourceRequest(request)); in cancelledError()
1193 if (!m_webFrame->client()) in cannotShowURLError()
1196 return m_webFrame->client()->cannotHandleRequestError( in cannotShowURLError()
1197 m_webFrame, WrappedResourceRequest(request)); in cannotShowURLError()
1239 return m_webFrame->client()->canHandleRequest( in canHandleRequest()
1240 m_webFrame, WrappedResourceRequest(request)); in canHandleRequest()
1262 PluginData* pluginData = m_webFrame->frame()->page()->pluginData(); in canShowMIMEType()
1334 if (m_webFrame->client()) in createDocumentLoader()
1335 m_webFrame->client()->didCreateDataSource(m_webFrame, ds.get()); in createDocumentLoader()
1405 FrameLoadRequest frameRequest(m_webFrame->frame()->document()->securityOrigin(), in createFrame()
1407 return m_webFrame->createChildFrame(frameRequest, ownerElement); in createFrame()
1412 ASSERT(m_webFrame->frame()->ownerElement()); in didTransferChildFrameToNewDocument()
1414 WebFrameImpl* newParent = static_cast<WebFrameImpl*>(m_webFrame->parent()); in didTransferChildFrameToNewDocument()
1420 m_webFrame->setClient(newParent->client()); in didTransferChildFrameToNewDocument()
1441 if (!m_webFrame->client()) in createPlugin()
1451 WebPlugin* webPlugin = m_webFrame->client()->createPlugin(m_webFrame, params); in createPlugin()
1517 PluginData* pluginData = m_webFrame->frame()->page()->pluginData(); in objectContentType()
1563 m_webFrame->frame()->loader()->activeDocumentLoader()); in pluginLoadObserver()
1567 ASSERT(!m_webFrame->frame()->page()); in pluginLoadObserver()
1575 return FrameNetworkingContextImpl::create(m_webFrame->frame()); in createNetworkingContext()