/external/webkit/Source/WebCore/loader/ |
D | DocumentWriter.cpp | 58 : m_frame(frame) in DocumentWriter() 69 m_frame->loader()->stopAllLoaders(); in replaceDocument() 70 begin(m_frame->document()->url(), true, m_frame->document()->securityOrigin()); in replaceDocument() 75 m_frame->document()->setCompatibilityMode(Document::NoQuirksMode); in replaceDocument() 80 if (DocumentParser* parser = m_frame->document()->parser()) in replaceDocument() 102 …if (!m_frame->loader()->stateMachine()->isDisplayingInitialEmptyDocument() && m_frame->loader()->c… in createDocument() 103 return PluginDocument::create(m_frame, url); in createDocument() 104 if (!m_frame->loader()->client()->hasHTMLView()) in createDocument() 105 return PlaceholderDocument::create(m_frame, url); in createDocument() 106 return DOMImplementation::createDocument(m_mimeType, m_frame, url, m_frame->inViewSourceMode()); in createDocument() [all …]
|
D | HistoryController.cpp | 68 : m_frame(frame) in HistoryController() 79 if (!item || !m_frame->view()) in saveScrollPositionAndViewStateToItem() 82 if (m_frame->document()->inPageCache()) in saveScrollPositionAndViewStateToItem() 83 item->setScrollPoint(m_frame->view()->cachedScrollPosition()); in saveScrollPositionAndViewStateToItem() 85 item->setScrollPoint(m_frame->view()->scrollPosition()); in saveScrollPositionAndViewStateToItem() 87 item->setPageScaleFactor(m_frame->pageScaleFactor()); in saveScrollPositionAndViewStateToItem() 90 m_frame->loader()->client()->saveViewStateToItem(item); in saveScrollPositionAndViewStateToItem() 106 if (!m_frame->loader()->stateMachine()->committedFirstRealDocumentLoad()) in restoreScrollPositionAndViewState() 121 m_frame->loader()->client()->restoreViewState(); in restoreScrollPositionAndViewState() 123 if (FrameView* view = m_frame->view()) { in restoreScrollPositionAndViewState() [all …]
|
D | FrameLoader.cpp | 179 : m_frame(frame) in FrameLoader() 239 m_frame->document()->cancelParsing(); in init() 256 m_frame->navigationScheduler()->startTimer(); in setDefersLoading() 268 RefPtr<Frame> protect(m_frame); in changeLocation() 275 …urlSelected(FrameLoadRequest(m_frame->document()->securityOrigin(), ResourceRequest(url), passedTa… in urlSelected() 287 …if (m_frame->script()->executeIfJavaScriptURL(frameRequest.resourceRequest().url(), shouldReplaceD… in urlSelected() 291 frameRequest.setFrameName(m_frame->document()->baseTarget()); in urlSelected() 311 ASSERT(submission->state()->sourceFrame() == m_frame); in submitForm() 313 if (!m_frame->page()) in submitForm() 319 if (isDocumentSandboxed(m_frame, SandboxForms)) in submitForm() [all …]
|
D | ResourceLoadNotifier.cpp | 46 : m_frame(frame) in ResourceLoadNotifier() 52 …m_frame->loader()->client()->dispatchDidReceiveAuthenticationChallenge(loader->documentLoader(), l… in didReceiveAuthenticationChallenge() 57 …m_frame->loader()->client()->dispatchDidCancelAuthenticationChallenge(loader->documentLoader(), lo… in didCancelAuthenticationChallenge() 62 m_frame->loader()->applyUserAgent(clientRequest); in willSendRequest() 71 if (Page* page = m_frame->page()) in didReceiveResponse() 79 if (Page* page = m_frame->page()) in didReceiveData() 87 if (Page* page = m_frame->page()) in didFinishLoad() 94 if (Page* page = m_frame->page()) in didFailToLoad() 98 …m_frame->loader()->client()->dispatchDidFailLoading(loader->documentLoader(), loader->identifier()… in didFailToLoad() 100 InspectorInstrumentation::didFailLoading(m_frame, loader->identifier(), error); in didFailToLoad() [all …]
|
D | SubframeLoader.cpp | 62 , m_frame(frame) in SubframeLoader() 104 Settings* settings = m_frame->settings(); in requestPlugin() 113 if (m_frame->document()) { in requestPlugin() 114 if (m_frame->document()->securityOrigin()->isSandboxed(SandboxPlugins)) in requestPlugin() 116 if (!m_frame->document()->contentSecurityPolicy()->allowObjectFromSource(url)) in requestPlugin() 159 if (!m_frame->document()->securityOrigin()->canDisplay(completedURL)) { in loadMediaPlayerProxyPlugin() 160 FrameLoader::reportLocalLoadFailed(m_frame, completedURL.string()); in loadMediaPlayerProxyPlugin() 173 … m_frame->loader()->checkIfRunInsecureContent(m_frame->document()->securityOrigin(), completedURL); in loadMediaPlayerProxyPlugin() 175 …RefPtr<Widget> widget = m_frame->loader()->client()->createMediaPlayerProxyPlugin(size, mediaEleme… in loadMediaPlayerProxyPlugin() 207 FrameLoader::reportLocalLoadFailed(m_frame, codeBaseURL.string()); in createJavaAppletWidget() [all …]
|
D | NavigationScheduler.cpp | 243 : m_frame(frame) in NavigationScheduler() 270 return m_frame->page(); in shouldScheduleNavigation() 289 …schedule(adoptPtr(new ScheduledRedirect(delay, m_frame->document()->securityOrigin(), url, true, d… in scheduleRedirect() 317 lockBackForwardList = lockBackForwardList || mustLockBackForwardList(m_frame); in scheduleLocationChange() 319 FrameLoader* loader = m_frame->loader(); in scheduleLocationChange() 324 …if (parsedURL.hasFragmentIdentifier() && equalIgnoringFragmentIdentifier(m_frame->document()->url(… in scheduleLocationChange() 338 ASSERT(m_frame->page()); in scheduleFormSubmission() 345 bool duringLoad = !m_frame->loader()->stateMachine()->committedFirstRealDocumentLoad(); in scheduleFormSubmission() 350 bool lockBackForwardList = mustLockBackForwardList(m_frame) in scheduleFormSubmission() 352 && m_frame->tree()->parent() && !ScriptController::processingUserGesture()); in scheduleFormSubmission() [all …]
|
/external/webkit/Source/WebKit2/WebProcess/WebCoreSupport/ |
D | WebFrameLoaderClient.cpp | 76 : m_frame(frame) in WebFrameLoaderClient() 88 m_frame->invalidate(); in frameLoaderDestroyed() 91 m_frame->deref(); in frameLoaderDestroyed() 101 return m_frame->page(); in hasWebView() 126 WebPage* webPage = m_frame->page(); in detachedFromParent2() 133 webPage->injectedBundleLoaderClient().didRemoveFrameFromHierarchy(webPage, m_frame, userData); in detachedFromParent2() 136 …webPage->send(Messages::WebPageProxy::DidRemoveFrameFromHierarchy(m_frame->frameID(), InjectedBund… in detachedFromParent2() 147 WebPage* webPage = m_frame->page(); in assignIdentifierToInitialRequest() 155 …webPage->injectedBundleResourceLoadClient().didInitiateLoadForResource(webPage, m_frame, identifie… in assignIdentifierToInitialRequest() 156 …webPage->send(Messages::WebPageProxy::DidInitiateLoadForResource(m_frame->frameID(), identifier, r… in assignIdentifierToInitialRequest() [all …]
|
/external/webkit/Source/WebCore/page/ |
D | Location.cpp | 41 : m_frame(frame) in Location() 47 m_frame = 0; in disconnectFrame() 52 ASSERT(m_frame); in url() 54 const KURL& url = m_frame->document()->url(); in url() 63 if (!m_frame) in href() 71 if (!m_frame) in protocol() 79 if (!m_frame) in host() 90 if (!m_frame) in hostname() 98 if (!m_frame) in port() 107 if (!m_frame) in pathname() [all …]
|
D | Screen.cpp | 42 : m_frame(frame) in Screen() 48 return m_frame; in frame() 53 m_frame = 0; in disconnectFrame() 58 if (!m_frame) in height() 60 return static_cast<unsigned>(screenRect(m_frame->view()).height()); in height() 65 if (!m_frame) in width() 67 return static_cast<unsigned>(screenRect(m_frame->view()).width()); in width() 72 if (!m_frame) in colorDepth() 74 return static_cast<unsigned>(screenDepth(m_frame->view())); in colorDepth() 79 if (!m_frame) in pixelDepth() [all …]
|
D | DOMSelection.cpp | 56 : m_frame(frame) in DOMSelection() 62 return m_frame; in frame() 67 m_frame = 0; in disconnectFrame() 72 ASSERT(m_frame); in visibleSelection() 73 return m_frame->selection()->selection(); in visibleSelection() 100 if (!m_frame) in anchorNode() 102 if (Node* shadowAncestor = selectionShadowAncestor(m_frame)) in anchorNode() 109 if (!m_frame) in anchorOffset() 111 if (Node* shadowAncestor = selectionShadowAncestor(m_frame)) in anchorOffset() 118 if (!m_frame) in focusNode() [all …]
|
D | DOMWindow.cpp | 372 return m_frame && allowPopUp(m_frame); in allowPopUp() 397 , m_frame(frame) in DOMWindow() 404 if (m_frame) in ~DOMWindow() 405 m_frame->clearFormerDOMWindow(this); in ~DOMWindow() 423 m_frame = 0; in disconnectFrame() 519 if (!m_frame) in orientation() 522 return m_frame->orientation(); in orientation() 529 m_screen = Screen::create(m_frame); in screen() 536 m_history = History::create(m_frame); in history() 550 m_locationbar = BarInfo::create(m_frame, BarInfo::Locationbar); in locationbar() [all …]
|
D | History.cpp | 41 : m_frame(frame) in History() 47 return m_frame; in frame() 52 m_frame = 0; in disconnectFrame() 57 if (!m_frame) in length() 59 if (!m_frame->page()) in length() 61 return m_frame->page()->backForward()->count(); in length() 86 if (!m_frame) in go() 89 m_frame->navigationScheduler()->scheduleHistoryNavigation(distance); in go() 94 if (!m_frame) in go() 102 if (!activeFrame->loader()->shouldAllowNavigation(m_frame)) in go() [all …]
|
D | Navigator.cpp | 57 : m_frame(frame) in Navigator() 86 m_frame = 0; in disconnectFrame() 108 if (!m_frame) in appVersion() 111 if (shouldHideFourDot(m_frame)) in appVersion() 123 if (!m_frame) in userAgent() 128 if (!m_frame->page()) in userAgent() 131 return m_frame->loader()->userAgent(m_frame->document()->url()); in userAgent() 137 m_plugins = DOMPluginArray::create(m_frame); in plugins() 144 m_mimeTypes = DOMMimeTypeArray::create(m_frame); in mimeTypes() 150 if (!m_frame) in cookieEnabled() [all …]
|
D | FrameView.cpp | 118 : m_frame(frame) in FrameView() 146 if (m_frame) { in FrameView() 147 if (Page* page = m_frame->page()) { in FrameView() 151 if (m_frame == m_page->mainFrame()) { in FrameView() 200 if (m_frame) { in ~FrameView() 201 ASSERT(m_frame->view() != this || !m_frame->contentRenderer()); in ~FrameView() 202 RenderPart* renderer = m_frame->ownerRenderer(); in ~FrameView() 251 m_frame = 0; in clearFrame() 287 Element* ownerElement = m_frame ? m_frame->ownerElement() : 0; in init() 303 if (!m_frame) in detachCustomScrollbars() [all …]
|
D | EventHandler.cpp | 179 : m_frame(frame) in EventHandler() 299 … if (result.event().clickCount() == 2 && m_frame->editor()->isSelectTrailingWhitespaceEnabled()) in selectClosestWordFromMouseEvent() 303 setNonDirectionalSelectionIfNeeded(m_frame->selection(), newSelection, granularity); in selectClosestWordFromMouseEvent() 327 setNonDirectionalSelectionIfNeeded(m_frame->selection(), newSelection, granularity); in selectClosestWordOrLinkFromMouseEvent() 336 if (m_frame->selection()->isRange()) in handleMousePressEventDoubleClick() 371 setNonDirectionalSelectionIfNeeded(m_frame->selection(), newSelection, granularity); in handleMousePressEventTripleClick() 393 if (FrameView* view = m_frame->view()) { in handleMousePressEventSingleClick() 395 if (!extendSelection && m_frame->selection()->contains(vPoint)) { in handleMousePressEventSingleClick() 406 VisibleSelection newSelection = m_frame->selection()->selection(); in handleMousePressEventSingleClick() 410 m_frame->selection()->setIsDirectional(false); in handleMousePressEventSingleClick() [all …]
|
/external/webkit/Source/WebCore/storage/ |
D | Storage.cpp | 46 : m_frame(frame) in Storage() 49 ASSERT(m_frame); in Storage() 59 if (!m_frame || !m_frame->page() || m_frame->page()->settings()->privateBrowsingEnabled()) in length() 67 if (!m_frame || !m_frame->page() || m_frame->page()->settings()->privateBrowsingEnabled()) in key() 75 if (!m_frame || !m_frame->page() || m_frame->page()->settings()->privateBrowsingEnabled()) in getItem() 84 if (!m_frame) in setItem() 87 m_storageArea->setItem(key, value, ec, m_frame); in setItem() 92 if (!m_frame) in removeItem() 95 m_storageArea->removeItem(key, m_frame); in removeItem() 100 if (!m_frame) in clear() [all …]
|
/external/webkit/Source/WebKit/android/WebCoreSupport/ |
D | FrameLoaderClientAndroid.cpp | 92 : m_frame(NULL) in FrameLoaderClientAndroid() 108 m_frame = 0; in frameLoaderDestroyed() 127 ASSERT(m_frame); in forceLayout() 128 m_frame->view()->forceLayout(); in forceLayout() 130 m_frame->view()->adjustViewSize(); in forceLayout() 249 ASSERT(m_frame); in dispatchDidReceiveIcon() 250 if (m_frame->tree() && m_frame->tree()->parent()) in dispatchDidReceiveIcon() 252 WTF::String url(m_frame->document()->url().string()); in dispatchDidReceiveIcon() 259 DocumentLoader* docLoader = m_frame->loader()->activeDocumentLoader(); in dispatchDidReceiveIcon() 279 ASSERT(m_frame); in dispatchDidReceiveTouchIconURL() [all …]
|
/external/webkit/Source/WebKit/gtk/WebCoreSupport/ |
D | FrameLoaderClientGtk.cpp | 101 : m_frame(frame) in FrameLoaderClient() 108 ASSERT(m_frame); in FrameLoaderClient() 217 WebKitWebSettings* settings = webkit_web_view_get_settings(getViewFromFrame(m_frame)); in userAgent() 313 (core(m_frame)->loader()->policyChecker()->*policyFunction)(PolicyUse); in dispatchWillSubmitForm() 378 WebKitWebView* webView = getViewFromFrame(m_frame); in dispatchWillSendRequest() 390 …g_signal_emit_by_name(webView, "resource-request-starting", m_frame, webResource, networkRequest.g… in dispatchWillSendRequest() 410 … webkit_web_view_add_main_resource(getViewFromFrame(m_frame), identifierString.get(), webResource); in assignIdentifierToInitialRequest() 414 webkit_web_view_add_resource(getViewFromFrame(m_frame), identifierString.get(), webResource); in assignIdentifierToInitialRequest() 419 WebKitWebView* webView = getViewFromFrame(m_frame); in postProgressStartedNotification() 420 g_signal_emit_by_name(webView, "load-started", m_frame); in postProgressStartedNotification() [all …]
|
/external/webkit/Source/WebKit/chromium/src/ |
D | WebFrameImpl.cpp | 341 m_frame->view()->paintContents(&ctx, pageRect); in spoolPage() 499 return m_frame->tree()->uniqueName(); in name() 504 m_frame->tree()->setName(name); in setName() 522 FrameLoader* frameLoader = m_frame->loader(); in favIconURL() 535 FrameLoader* frameLoader = m_frame->loader(); in openSearchDescriptionURL() 537 && m_frame->document() && m_frame->document()->head() in openSearchDescriptionURL() 538 && !m_frame->tree()->parent()) { in openSearchDescriptionURL() 539 HTMLHeadElement* head = m_frame->document()->head(); in openSearchDescriptionURL() 582 if (m_frame->document() && m_frame->document()->renderView()) in contentsPreferredWidth() 583 return m_frame->document()->renderView()->minPreferredLogicalWidth(); in contentsPreferredWidth() [all …]
|
/external/webkit/Source/WebCore/editing/ |
D | Editor.cpp | 101 VisibleSelection selection = m_frame->selection()->selection(); in selectionForCommand() 124 if (!m_frame || !m_frame->settings()) in behavior() 127 return EditingBehavior(m_frame->settings()->editingBehaviorType()); in behavior() 132 if (Page* page = m_frame->page()) in client() 184 return m_frame->selection()->rootEditableElement(); in canEdit() 189 return m_frame->selection()->isContentRichlyEditable(); in canEditRichly() 199 …return !m_frame->selection()->isInPasswordField() && !dispatchCPPEvent(eventNames().beforecutEvent… in canDHTMLCut() 204 …return !m_frame->selection()->isInPasswordField() && !dispatchCPPEvent(eventNames().beforecopyEven… in canDHTMLCopy() 238 if (imageElementFromImageDocument(m_frame->document())) in canCopy() 240 SelectionController* selection = m_frame->selection(); in canCopy() [all …]
|
/external/webkit/Source/WebCore/bindings/ |
D | ScriptControllerBase.cpp | 38 if (m_frame->loader()->isSandboxed(SandboxScripts)) in canExecuteScripts() 41 Settings* settings = m_frame->settings(); in canExecuteScripts() 42 …const bool allowed = m_frame->loader()->client()->allowJavaScript(settings && settings->isJavaScri… in canExecuteScripts() 44 m_frame->loader()->client()->didNotAllowScript(); in canExecuteScripts() 50 …return executeScript(ScriptSourceCode(script, forceUserGesture ? KURL() : m_frame->document()->url… in executeScript() 76 if (!m_frame->page() in executeIfJavaScriptURL() 77 || !m_frame->page()->javaScriptURLsAreAllowed() in executeIfJavaScriptURL() 78 || !m_frame->document()->contentSecurityPolicy()->allowJavaScriptURLs() in executeIfJavaScriptURL() 79 || m_frame->inViewSourceMode()) in executeIfJavaScriptURL() 84 RefPtr<Frame> protector(m_frame); in executeIfJavaScriptURL() [all …]
|
/external/webkit/Source/WebKit/efl/WebCoreSupport/ |
D | FrameLoaderClientEfl.cpp | 72 , m_frame(0) in FrameLoaderClientEfl() 130 Frame* f = ewk_frame_core_get(m_frame); in callPolicyFunction() 220 ewk_frame_request_will_send(m_frame, &request); in dispatchWillSendRequest() 243 ewk_frame_request_assign_identifier(m_frame, &request); in assignIdentifierToInitialRequest() 248 ewk_frame_load_started(m_frame); in postProgressStartedNotification() 254 ewk_frame_load_progress_changed(m_frame); in postProgressEstimateChangedNotification() 260 ewk_frame_load_finished(m_frame, 0, 0, 0, 0, 0); in postProgressFinishedNotification() 262 ewk_frame_load_finished(m_frame, in postProgressFinishedNotification() 273 if (m_frame) in frameLoaderDestroyed() 274 ewk_frame_core_gone(m_frame); in frameLoaderDestroyed() [all …]
|
/external/webkit/Source/WebKit/win/ |
D | WebHTMLRepresentation.cpp | 44 , m_frame(0) in WebHTMLRepresentation() 53 if (m_frame) { in ~WebHTMLRepresentation() 54 m_frame->Release(); in ~WebHTMLRepresentation() 55 m_frame = 0; in ~WebHTMLRepresentation() 66 instance->m_frame = frame; in createInstance() 146 if (!m_frame) in elementWithName() 149 return m_frame->elementWithName(name, form, element); in elementWithName() 157 HRESULT hr = m_frame->elementDoesAutoComplete(element, &doesAutoComplete); in elementDoesAutoComplete() 167 HRESULT hr = m_frame->elementIsPassword(element, &isPassword); in elementIsPassword() 176 if (!m_frame) in formForElement() [all …]
|
/external/webkit/Source/WebCore/platform/audio/mac/ |
D | FFTFrameMac.cpp | 58 m_frame.realp = m_realData.data(); in FFTFrame() 59 m_frame.imagp = m_imagData.data(); in FFTFrame() 68 m_frame.realp = 0; in FFTFrame() 69 m_frame.imagp = 0; in FFTFrame() 84 m_frame.realp = m_realData.data(); in FFTFrame() 85 m_frame.imagp = m_imagData.data(); in FFTFrame() 89 memcpy(realData(), frame.m_frame.realp, nbytes); in FFTFrame() 90 memcpy(imagData(), frame.m_frame.imagp, nbytes); in FFTFrame() 136 vDSP_ctoz((DSPComplex*)data, 2, &m_frame, 1, m_FFTSize / 2); in doFFT() 137 vDSP_fft_zrip(m_FFTSetup, &m_frame, 1, m_log2FFTSize, FFT_FORWARD); in doFFT() [all …]
|
/external/webkit/Source/WebCore/plugins/ |
D | DOMMimeType.cpp | 34 , m_frame(frame) in DOMMimeType() 37 if (m_frame) in DOMMimeType() 38 m_frame->addDestructionObserver(this); in DOMMimeType() 43 if (m_frame) in ~DOMMimeType() 44 m_frame->removeDestructionObserver(this); in ~DOMMimeType() 72 …if (!m_frame || !m_frame->page() || !m_frame->page()->mainFrame()->loader()->subframeLoader()->all… in enabledPlugin() 75 … return DOMPlugin::create(m_pluginData.get(), m_frame, m_pluginData->mimePluginIndices()[m_index]); in enabledPlugin()
|