• andersca@apple.com's avatar
    <https://webkit.org/b/119859> Frame::loader() should return a reference · df550b96
    andersca@apple.com authored
    Reviewed by Andreas Kling.
    
    Source/WebCore:
    
    * Modules/websockets/WebSocketChannel.cpp:
    (WebCore::WebSocketChannel::willOpenSocketStream):
    * WebCore.xcodeproj/project.pbxproj:
    * accessibility/AccessibilityObject.cpp:
    (WebCore::AccessibilityObject::press):
    * accessibility/mac/WebAccessibilityObjectWrapperMac.mm:
    (-[WebAccessibilityObjectWrapper remoteAccessibilityParentObject]):
    * bindings/ScriptControllerBase.cpp:
    (WebCore::ScriptController::canExecuteScripts):
    * bindings/js/ScriptController.cpp:
    (WebCore::ScriptController::initScript):
    * css/CSSFontSelector.cpp:
    (WebCore::CSSFontSelector::beginLoadTimerFired):
    * dom/DOMImplementation.cpp:
    (WebCore::DOMImplementation::createDocument):
    * dom/Document.cpp:
    (WebCore::Document::Document):
    (WebCore::Document::setVisualUpdatesAllowed):
    (WebCore::Document::updateTitle):
    (WebCore::Document::open):
    (WebCore::Document::explicitClose):
    (WebCore::Document::implicitClose):
    (WebCore::Document::userAgent):
    (WebCore::Document::canNavigate):
    (WebCore::Document::processHttpEquiv):
    (WebCore::Document::referrer):
    (WebCore::Document::documentDidResumeFromPageCache):
    (WebCore::Document::openSearchDescriptionURL):
    (WebCore::Document::finishedParsing):
    (WebCore::Document::addIconURL):
    (WebCore::Document::initSecurityContext):
    (WebCore::Document::updateURLForPushOrReplaceState):
    (WebCore::Document::loadEventDelayTimerFired):
    (WebCore::Document::loader):
    (WebCore::Document::decrementActiveParserCount):
    * history/CachedFrame.cpp:
    (WebCore::CachedFrameBase::CachedFrameBase):
    (WebCore::CachedFrameBase::restore):
    (WebCore::CachedFrame::CachedFrame):
    (WebCore::CachedFrame::open):
    (WebCore::CachedFrame::destroy):
    * history/PageCache.cpp:
    (WebCore::logCanCacheFrameDecision):
    (WebCore::logCanCachePageDecision):
    (WebCore::PageCache::canCachePageContainingThisFrame):
    (WebCore::PageCache::canCache):
    * html/HTMLAnchorElement.cpp:
    (WebCore::HTMLAnchorElement::handleClick):
    * html/HTMLAppletElement.cpp:
    (WebCore::HTMLAppletElement::updateWidget):
    * html/HTMLElement.cpp:
    (WebCore::HTMLElement::rendererIsNeeded):
    * html/HTMLEmbedElement.cpp:
    (WebCore::HTMLEmbedElement::updateWidget):
    * html/HTMLFormElement.cpp:
    (WebCore::HTMLFormElement::prepareForSubmission):
    (WebCore::HTMLFormElement::submit):
    * html/HTMLFrameElementBase.cpp:
    (WebCore::HTMLFrameElementBase::openURL):
    * html/HTMLFrameOwnerElement.cpp:
    (WebCore::HTMLFrameOwnerElement::disconnectContentFrame):
    * html/HTMLFrameSetElement.cpp:
    (WebCore::HTMLFrameSetElement::insertedInto):
    (WebCore::HTMLFrameSetElement::removedFrom):
    * html/HTMLHtmlElement.cpp:
    (WebCore::HTMLHtmlElement::insertedByParser):
    * html/HTMLMediaElement.cpp:
    (WebCore::HTMLMediaElement::createRenderer):
    (WebCore::HTMLMediaElement::attach):
    (WebCore::HTMLMediaElement::loadResource):
    (WebCore::HTMLMediaElement::getPluginProxyParams):
    (WebCore::HTMLMediaElement::createMediaPlayerProxy):
    (WebCore::HTMLMediaElement::updateWidget):
    (WebCore::HTMLMediaElement::mediaPlayerReferrer):
    (WebCore::HTMLMediaElement::mediaPlayerUserAgent):
    * html/HTMLObjectElement.cpp:
    (WebCore::HTMLObjectElement::parametersForPlugin):
    (WebCore::HTMLObjectElement::updateWidget):
    * html/HTMLPlugInImageElement.cpp:
    (WebCore::HTMLPlugInImageElement::isImageType):
    (WebCore::HTMLPlugInImageElement::wouldLoadAsNetscapePlugin):
    (WebCore::HTMLPlugInImageElement::restartSimilarPlugIns):
    * html/HTMLVideoElement.cpp:
    (WebCore::HTMLVideoElement::setDisplayMode):
    * html/ImageDocument.cpp:
    (WebCore::ImageDocumentParser::appendBytes):
    (WebCore::ImageDocumentParser::finish):
    (WebCore::ImageDocument::createDocumentStructure):
    * html/MediaDocument.cpp:
    (WebCore::MediaDocumentParser::createDocumentStructure):
    * html/PluginDocument.cpp:
    (WebCore::PluginDocumentParser::createDocumentStructure):
    (WebCore::PluginDocumentParser::appendBytes):
    (WebCore::PluginDocument::detach):
    (WebCore::PluginDocument::cancelManualPluginLoad):
    * html/canvas/WebGLRenderingContext.cpp:
    (WebCore::WebGLRenderingContext::create):
    (WebCore::WebGLRenderingContext::loseContextImpl):
    (WebCore::WebGLRenderingContext::maybeRestoreContext):
    * html/parser/HTMLConstructionSite.cpp:
    (WebCore::HTMLConstructionSite::dispatchDocumentElementAvailableIfNeeded):
    (WebCore::HTMLConstructionSite::insertHTMLBodyElement):
    * html/parser/HTMLParserOptions.cpp:
    (WebCore::HTMLParserOptions::HTMLParserOptions):
    * html/parser/XSSAuditor.cpp:
    (WebCore::XSSAuditor::init):
    * html/parser/XSSAuditorDelegate.cpp:
    (WebCore::XSSAuditorDelegate::generateViolationReport):
    (WebCore::XSSAuditorDelegate::didBlockScript):
    * inspector/InspectorApplicationCacheAgent.cpp:
    (WebCore::InspectorApplicationCacheAgent::updateApplicationCacheStatus):
    (WebCore::InspectorApplicationCacheAgent::getFramesWithManifests):
    * inspector/InspectorFrontendClientLocal.cpp:
    (WebCore::InspectorFrontendClientLocal::openInNewTab):
    * inspector/InspectorFrontendHost.cpp:
    (WebCore::InspectorFrontendHost::loadResourceSynchronously):
    * inspector/InspectorOverlay.cpp:
    (WebCore::InspectorOverlay::overlayPage):
    * inspector/InspectorPageAgent.cpp:
    (WebCore::InspectorPageAgent::mainResourceContent):
    (WebCore::InspectorPageAgent::reload):
    (WebCore::InspectorPageAgent::navigate):
    (WebCore::allResourcesURLsForFrame):
    (WebCore::InspectorPageAgent::searchInResource):
    (WebCore::InspectorPageAgent::assertDocumentLoader):
    (WebCore::InspectorPageAgent::buildObjectForFrame):
    * inspector/InspectorResourceAgent.cpp:
    (WebCore::InspectorResourceAgent::didFailLoading):
    * loader/CookieJar.cpp:
    (WebCore::networkingContext):
    * loader/DocumentLoader.cpp:
    (WebCore::DocumentLoader::frameLoader):
    (WebCore::DocumentLoader::document):
    (WebCore::DocumentLoader::stopLoading):
    (WebCore::DocumentLoader::removeSubresourceLoader):
    (WebCore::DocumentLoader::subresourceLoaderFinishedLoadingOnePart):
    (WebCore::DocumentLoader::iconLoadDecisionAvailable):
    (WebCore::DocumentLoader::continueIconLoadWithDecision):
    * loader/DocumentThreadableLoader.cpp:
    (WebCore::DocumentThreadableLoader::didReceiveResponse):
    (WebCore::DocumentThreadableLoader::didFinishLoading):
    (WebCore::DocumentThreadableLoader::didFail):
    (WebCore::DocumentThreadableLoader::preflightFailure):
    (WebCore::DocumentThreadableLoader::loadRequest):
    * loader/DocumentWriter.cpp:
    (WebCore::DocumentWriter::replaceDocument):
    (WebCore::DocumentWriter::createDocument):
    (WebCore::DocumentWriter::begin):
    * loader/FrameLoader.cpp:
    (WebCore::FrameLoader::~FrameLoader):
    (WebCore::FrameLoader::allChildrenAreComplete):
    (WebCore::FrameLoader::allAncestorsAreComplete):
    (WebCore::FrameLoader::loadURLIntoChildFrame):
    (WebCore::FrameLoader::outgoingReferrer):
    (WebCore::FrameLoader::setOpener):
    (WebCore::FrameLoader::completed):
    (WebCore::FrameLoader::started):
    (WebCore::FrameLoader::loadFrameRequest):
    (WebCore::FrameLoader::loadURL):
    (WebCore::FrameLoader::load):
    (WebCore::FrameLoader::loadWithDocumentLoader):
    (WebCore::FrameLoader::stopAllLoaders):
    (WebCore::FrameLoader::closeOldDataSources):
    (WebCore::FrameLoader::subframeIsLoading):
    (WebCore::FrameLoader::subresourceCachePolicy):
    (WebCore::FrameLoader::checkLoadCompleteForThisFrame):
    (WebCore::FrameLoader::detachChildren):
    (WebCore::FrameLoader::checkLoadComplete):
    (WebCore::FrameLoader::detachFromParent):
    (WebCore::FrameLoader::loadPostRequest):
    (WebCore::FrameLoader::loadResourceSynchronously):
    (WebCore::FrameLoader::shouldClose):
    (WebCore::FrameLoader::handleBeforeUnloadEvent):
    (WebCore::FrameLoader::continueLoadAfterNavigationPolicy):
    (WebCore::FrameLoader::continueLoadAfterNewWindowPolicy):
    (WebCore::createWindow):
    * loader/HistoryController.cpp:
    (WebCore::HistoryController::saveScrollPositionAndViewStateToItem):
    (WebCore::HistoryController::restoreScrollPositionAndViewState):
    (WebCore::HistoryController::saveDocumentState):
    (WebCore::HistoryController::saveDocumentAndScrollState):
    (WebCore::isAssociatedToRequestedHistoryItem):
    (WebCore::HistoryController::restoreDocumentState):
    (WebCore::HistoryController::shouldStopLoadingForHistoryItem):
    (WebCore::HistoryController::goToItem):
    (WebCore::HistoryController::updateForBackForwardNavigation):
    (WebCore::HistoryController::updateForReload):
    (WebCore::HistoryController::updateForStandardLoad):
    (WebCore::HistoryController::updateForRedirectWithLockedBackForwardList):
    (WebCore::HistoryController::updateForClientRedirect):
    (WebCore::HistoryController::updateForCommit):
    (WebCore::HistoryController::recursiveUpdateForCommit):
    (WebCore::HistoryController::updateForSameDocumentNavigation):
    (WebCore::HistoryController::recursiveUpdateForSameDocumentNavigation):
    (WebCore::HistoryController::initializeItem):
    (WebCore::HistoryController::createItemTree):
    (WebCore::HistoryController::recursiveSetProvisionalItem):
    (WebCore::HistoryController::recursiveGoToItem):
    (WebCore::HistoryController::updateBackForwardListClippedAtTarget):
    (WebCore::HistoryController::updateCurrentItem):
    (WebCore::HistoryController::pushState):
    (WebCore::HistoryController::replaceState):
    * loader/ImageLoader.cpp:
    (WebCore::pageIsBeingDismissed):
    * loader/MixedContentChecker.cpp:
    (WebCore::MixedContentChecker::client):
    * loader/NavigationScheduler.cpp:
    (WebCore::ScheduledURLNavigation::fire):
    (WebCore::ScheduledURLNavigation::didStartTimer):
    (WebCore::ScheduledURLNavigation::didStopTimer):
    (WebCore::ScheduledRedirect::shouldStartTimer):
    (WebCore::ScheduledRedirect::fire):
    (WebCore::ScheduledRefresh::fire):
    (WebCore::ScheduledHistoryNavigation::fire):
    (WebCore::ScheduledFormSubmission::fire):
    (WebCore::ScheduledFormSubmission::didStartTimer):
    (WebCore::ScheduledFormSubmission::didStopTimer):
    (WebCore::NavigationScheduler::mustLockBackForwardList):
    (WebCore::NavigationScheduler::scheduleLocationChange):
    (WebCore::NavigationScheduler::scheduleFormSubmission):
    (WebCore::NavigationScheduler::scheduleRefresh):
    (WebCore::NavigationScheduler::schedule):
    * loader/PingLoader.cpp:
    (WebCore::PingLoader::loadImage):
    (WebCore::PingLoader::sendPing):
    (WebCore::PingLoader::sendViolationReport):
    (WebCore::PingLoader::PingLoader):
    * loader/PolicyChecker.cpp:
    (WebCore::PolicyChecker::checkNavigationPolicy):
    (WebCore::PolicyChecker::checkNewWindowPolicy):
    (WebCore::PolicyChecker::checkContentPolicy):
    (WebCore::PolicyChecker::cancelCheck):
    (WebCore::PolicyChecker::stopCheck):
    (WebCore::PolicyChecker::cannotShowMIMEType):
    (WebCore::PolicyChecker::continueLoadAfterWillSubmitForm):
    (WebCore::PolicyChecker::continueAfterNavigationPolicy):
    (WebCore::PolicyChecker::continueAfterNewWindowPolicy):
    (WebCore::PolicyChecker::handleUnimplementablePolicy):
    * loader/ProgressTracker.cpp:
    (WebCore::ProgressTracker::progressStarted):
    (WebCore::ProgressTracker::progressCompleted):
    (WebCore::ProgressTracker::finalProgressComplete):
    (WebCore::ProgressTracker::incrementProgress):
    (WebCore::ProgressTracker::progressHeartbeatTimerFired):
    * loader/ResourceLoadNotifier.cpp:
    (WebCore::ResourceLoadNotifier::didReceiveAuthenticationChallenge):
    (WebCore::ResourceLoadNotifier::didCancelAuthenticationChallenge):
    (WebCore::ResourceLoadNotifier::willSendRequest):
    (WebCore::ResourceLoadNotifier::didFailToLoad):
    (WebCore::ResourceLoadNotifier::assignIdentifierToInitialRequest):
    (WebCore::ResourceLoadNotifier::dispatchWillSendRequest):
    (WebCore::ResourceLoadNotifier::dispatchDidReceiveResponse):
    (WebCore::ResourceLoadNotifier::dispatchDidReceiveData):
    (WebCore::ResourceLoadNotifier::dispatchDidFinishLoading):
    (WebCore::ResourceLoadNotifier::dispatchDidFailLoading):
    * loader/ResourceLoader.cpp:
    (WebCore::ResourceLoader::ResourceLoader):
    (WebCore::ResourceLoader::start):
    (WebCore::ResourceLoader::frameLoader):
    (WebCore::ResourceLoader::willSendRequest):
    * loader/SubframeLoader.cpp:
    (WebCore::SubframeLoader::pluginIsLoadable):
    (WebCore::SubframeLoader::loadMediaPlayerProxyPlugin):
    (WebCore::SubframeLoader::createJavaAppletWidget):
    (WebCore::SubframeLoader::loadOrRedirectSubframe):
    (WebCore::SubframeLoader::loadSubframe):
    (WebCore::SubframeLoader::allowPlugins):
    (WebCore::SubframeLoader::shouldUsePlugin):
    (WebCore::SubframeLoader::loadPlugin):
    * loader/appcache/ApplicationCacheGroup.cpp:
    (WebCore::ApplicationCacheGroup::selectCache):
    (WebCore::ApplicationCacheGroup::selectCacheWithoutManifestURL):
    (WebCore::ApplicationCacheGroup::update):
    (WebCore::ApplicationCacheGroup::createResourceHandle):
    (WebCore::ApplicationCacheGroup::didReceiveResponse):
    (WebCore::ApplicationCacheGroup::didFinishLoading):
    (WebCore::ApplicationCacheGroup::didFail):
    (WebCore::ApplicationCacheGroup::addEntry):
    (WebCore::CallCacheListenerTask::performTask):
    (WebCore::ApplicationCacheGroup::postListenerTask):
    * loader/appcache/DOMApplicationCache.cpp:
    (WebCore::DOMApplicationCache::applicationCacheHost):
    * loader/archive/cf/LegacyWebArchive.cpp:
    (WebCore::LegacyWebArchive::create):
    (WebCore::LegacyWebArchive::createFromSelection):
    * loader/cache/CachedResource.cpp:
    (WebCore::CachedResource::addAdditionalRequestHeaders):
    (WebCore::CachedResource::load):
    * loader/cache/CachedResourceLoader.cpp:
    (WebCore::CachedResourceLoader::requestImage):
    (WebCore::CachedResourceLoader::checkInsecureContent):
    (WebCore::CachedResourceLoader::canRequest):
    (WebCore::CachedResourceLoader::shouldContinueAfterNotifyingLoadedFromMemoryCache):
    (WebCore::CachedResourceLoader::requestResource):
    (WebCore::CachedResourceLoader::clientDefersImage):
    (WebCore::CachedResourceLoader::cachePolicy):
    (WebCore::CachedResourceLoader::loadDone):
    * loader/icon/IconController.cpp:
    (WebCore::IconController::commitToDatabase):
    (WebCore::IconController::startLoader):
    (WebCore::IconController::continueLoadWithDecision):
    * loader/icon/IconLoader.cpp:
    (WebCore::IconLoader::startLoading):
    (WebCore::IconLoader::notifyFinished):
    * page/Chrome.cpp:
    (WebCore::canRunModalIfDuringPageDismissal):
    * page/ContextMenuController.cpp:
    (WebCore::openNewWindow):
    (WebCore::ContextMenuController::contextMenuItemSelected):
    (WebCore::ContextMenuController::populate):
    (WebCore::ContextMenuController::checkOrEnableIfNeeded):
    * page/DOMWindow.cpp:
    (WebCore::DOMWindow::dispatchAllPendingBeforeUnloadEvents):
    (WebCore::DOMWindow::postMessageTimerFired):
    (WebCore::DOMWindow::close):
    (WebCore::DOMWindow::print):
    (WebCore::DOMWindow::stop):
    (WebCore::DOMWindow::setName):
    (WebCore::DOMWindow::opener):
    (WebCore::DOMWindow::dispatchLoadEvent):
    (WebCore::DOMWindow::setLocation):
    (WebCore::DOMWindow::createWindow):
    (WebCore::DOMWindow::open):
    * page/DOMWindowExtension.cpp:
    (WebCore::DOMWindowExtension::disconnectFrameForPageCache):
    (WebCore::DOMWindowExtension::reconnectFrameFromPageCache):
    (WebCore::DOMWindowExtension::willDestroyGlobalObjectInCachedFrame):
    (WebCore::DOMWindowExtension::willDestroyGlobalObjectInFrame):
    (WebCore::DOMWindowExtension::willDetachGlobalObjectFromFrame):
    * page/DragController.cpp:
    (WebCore::DragController::performDrag):
    * page/EventHandler.cpp:
    (WebCore::EventHandler::handleMousePressEvent):
    (WebCore::EventHandler::keyEvent):
    * page/Frame.cpp:
    (WebCore::Frame::~Frame):
    (WebCore::Frame::setView):
    (WebCore::Frame::injectUserScripts):
    (WebCore::Frame::willDetachPage):
    * page/Frame.h:
    (WebCore::Frame::loader):
    * page/FrameView.cpp:
    (WebCore::FrameView::mediaType):
    (WebCore::FrameView::setFixedVisibleContentRect):
    (WebCore::FrameView::shouldUseLoadTimeDeferredRepaintDelay):
    (WebCore::FrameView::performPostLayoutTasks):
    (WebCore::FrameView::autoSizeIfEnabled):
    (WebCore::FrameView::scrollTo):
    (WebCore::FrameView::shouldSuspendScrollAnimations):
    (WebCore::FrameView::qualifiesAsVisuallyNonEmpty):
    (WebCore::FrameView::wheelEvent):
    (WebCore::FrameView::firePaintRelatedMilestones):
    * page/History.cpp:
    (WebCore::History::stateInternal):
    (WebCore::History::stateObjectAdded):
    * page/Location.cpp:
    (WebCore::Location::setLocation):
    * page/Navigator.cpp:
    (WebCore::Navigator::userAgent):
    * page/Page.cpp:
    (WebCore::Page::goToItem):
    (WebCore::Page::refreshPlugins):
    (WebCore::Page::setDefersLoading):
    (WebCore::Page::setMemoryCacheClientCallsEnabled):
    (WebCore::Page::addRelevantRepaintedObject):
    * page/Performance.cpp:
    (WebCore::Performance::now):
    * page/PerformanceNavigation.cpp:
    (WebCore::PerformanceNavigation::type):
    (WebCore::PerformanceNavigation::redirectCount):
    * page/PerformanceResourceTiming.cpp:
    (WebCore::monotonicTimeToDocumentMilliseconds):
    * page/mac/PageMac.cpp:
    (WebCore::Page::addSchedulePair):
    (WebCore::Page::removeSchedulePair):
    * platform/ios/PasteboardIOS.mm:
    (WebCore::documentFragmentWithImageResource):
    (WebCore::documentFragmentWithRTF):
    (WebCore::Pasteboard::documentFragmentForPasteboardItemAtIndex):
    * platform/mac/HTMLConverter.mm:
    (-[WebHTMLConverter _addAttachmentForElement:URL:needsParagraph:usePlaceholder:]):
    (-[WebHTMLConverter _loadFromDOMRange]):
    * platform/mac/PasteboardMac.mm:
    (WebCore::documentFragmentWithImageResource):
    (WebCore::documentFragmentWithRTF):
    (WebCore::fragmentFromWebArchive):
    * plugins/DOMMimeType.cpp:
    (WebCore::DOMMimeType::enabledPlugin):
    * rendering/RenderLayer.cpp:
    (WebCore::RenderLayer::scrollTo):
    * svg/SVGAElement.cpp:
    (WebCore::SVGAElement::defaultEventHandler):
    * svg/graphics/SVGImage.cpp:
    (WebCore::SVGImage::~SVGImage):
    (WebCore::SVGImage::dataChanged):
    * testing/Internals.cpp:
    (WebCore::Internals::formControlStateOfPreviousHistoryItem):
    (WebCore::Internals::setFormControlStateOfPreviousHistoryItem):
    (WebCore::Internals::getReferencedFilePaths):
    (WebCore::Internals::forceReload):
    * xml/XSLTProcessorLibxslt.cpp:
    (WebCore::docLoaderFunc):
    * xml/parser/XMLDocumentParserLibxml2.cpp:
    (WebCore::openFunc):
    (WebCore::XMLDocumentParser::startElementNs):
    
    Source/WebKit/blackberry:
    
    * Api/WebPage.cpp:
    (BlackBerry::WebKit::WebPagePrivate::load):
    (BlackBerry::WebKit::WebPagePrivate::loadString):
    (BlackBerry::WebKit::WebPagePrivate::stopCurrentLoad):
    (BlackBerry::WebKit::closeURLRecursively):
    (BlackBerry::WebKit::WebPage::dispatchBeforeUnloadEvent):
    (BlackBerry::WebKit::WebPagePrivate::shouldSendResizeEvent):
    (BlackBerry::WebKit::WebPagePrivate::zoomToInitialScaleOnLoad):
    (BlackBerry::WebKit::WebPage::reload):
    (BlackBerry::WebKit::WebPage::reloadFromCache):
    (BlackBerry::WebKit::WebPage::textEncoding):
    (BlackBerry::WebKit::WebPage::forcedTextEncoding):
    (BlackBerry::WebKit::WebPage::setForcedTextEncoding):
    (BlackBerry::WebKit::WebPage::title):
    * WebCoreSupport/ChromeClientBlackBerry.cpp:
    (WebCore::ChromeClientBlackBerry::createWindow):
    * WebCoreSupport/FrameLoaderClientBlackBerry.cpp:
    (WebCore::FrameLoaderClientBlackBerry::dispatchDidChangeLocationWithinPage):
    (WebCore::FrameLoaderClientBlackBerry::dispatchDecidePolicyForResponse):
    (WebCore::FrameLoaderClientBlackBerry::dispatchDecidePolicyForNavigationAction):
    (WebCore::FrameLoaderClientBlackBerry::delayPolicyCheckUntilFragmentExists):
    (WebCore::FrameLoaderClientBlackBerry::dispatchDecidePolicyForNewWindowAction):
    (WebCore::FrameLoaderClientBlackBerry::createPlugin):
    (WebCore::FrameLoaderClientBlackBerry::receivedData):
    (WebCore::FrameLoaderClientBlackBerry::createDocumentLoader):
    (WebCore::FrameLoaderClientBlackBerry::dispatchDidCommitLoad):
    (WebCore::FrameLoaderClientBlackBerry::dispatchDidFailProvisionalLoad):
    (WebCore::FrameLoaderClientBlackBerry::dispatchWillSubmitForm):
    (WebCore::FrameLoaderClientBlackBerry::createFrame):
    (WebCore::FrameLoaderClientBlackBerry::dispatchDidLayout):
    (WebCore::FrameLoaderClientBlackBerry::dispatchWillSendRequest):
    (WebCore::FrameLoaderClientBlackBerry::restoreViewState):
    (WebCore::FrameLoaderClientBlackBerry::startDownload):
    (WebCore::FrameLoaderClientBlackBerry::canCachePage):
    (WebCore::FrameLoaderClientBlackBerry::didRestoreFromPageCache):
    * WebKitSupport/PagePopup.cpp:
    (BlackBerry::WebKit::PagePopup::initialize):
    
    Source/WebKit/efl:
    
    * WebCoreSupport/ChromeClientEfl.cpp:
    (kit):
    * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
    (DumpRenderTreeSupportEfl::callShouldCloseOnWebView):
    (DumpRenderTreeSupportEfl::clearOpener):
    (DumpRenderTreeSupportEfl::frameChildren):
    (DumpRenderTreeSupportEfl::responseMimeType):
    (DumpRenderTreeSupportEfl::provisionalURL):
    * WebCoreSupport/FrameLoaderClientEfl.cpp:
    (WebCore::FrameLoaderClientEfl::callPolicyFunction):
    (WebCore::FrameLoaderClientEfl::dispatchDecidePolicyForNewWindowAction):
    (WebCore::FrameLoaderClientEfl::dispatchDecidePolicyForNavigationAction):
    (WebCore::FrameLoaderClientEfl::updateGlobalHistoryRedirectLinks):
    (WebCore::FrameLoaderClientEfl::updateGlobalHistory):
    * ewk/ewk_frame.cpp:
    (_ewk_frame_loader_efl_get):
    (_ewk_frame_smart_del):
    (_ewk_frame_contents_set_internal):
    (ewk_frame_stop):
    (ewk_frame_reload):
    (ewk_frame_reload_full):
    (ewk_frame_child_add):
    * ewk/ewk_view.cpp:
    (ewk_view_frame_focused_get):
    (ewk_view_setting_user_agent_set):
    (ewk_view_setting_encoding_custom_get):
    (ewk_view_setting_encoding_custom_set):
    
    Source/WebKit/gtk:
    
    * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
    (DumpRenderTreeSupportGtk::clearOpener):
    (DumpRenderTreeSupportGtk::shouldClose):
    * WebCoreSupport/FrameLoaderClientGtk.cpp:
    (WebKit::FrameLoaderClient::dispatchWillSubmitForm):
    (WebKit::FrameLoaderClient::committedLoad):
    (WebKit::FrameLoaderClient::dispatchDecidePolicyForResponse):
    (WebKit::FrameLoaderClient::dispatchDecidePolicyForNewWindowAction):
    (WebKit::FrameLoaderClient::dispatchDecidePolicyForNavigationAction):
    (WebKit::FrameLoaderClient::createFrame):
    (WebKit::FrameLoaderClient::dispatchDidCommitLoad):
    * webkit/webkitwebframe.cpp:
    (webkit_web_frame_finalize):
    (webkit_web_frame_load_uri):
    (webkit_web_frame_load_data):
    (webkit_web_frame_load_request):
    (webkit_web_frame_stop_loading):
    (webkit_web_frame_reload):
    (webkit_web_frame_get_data_source):
    (webkit_web_frame_get_provisional_data_source):
    (webkit_web_frame_get_response_mime_type):
    (webkit_web_frame_get_network_response):
    (WebKit::kit):
    * webkit/webkitwebpolicydecision.cpp:
    (webkit_web_policy_decision_use):
    (webkit_web_policy_decision_ignore):
    (webkit_web_policy_decision_download):
    * webkit/webkitwebview.cpp:
    (webkit_web_view_dispose):
    (webkit_web_view_reload):
    (webkit_web_view_reload_bypass_cache):
    (webkit_web_view_stop_loading):
    (webkit_web_view_can_show_mime_type):
    (webkit_web_view_set_custom_encoding):
    (webkit_web_view_get_custom_encoding):
    (webkit_web_view_get_subresources):
    
    Source/WebKit/mac:
    
    * Plugins/Hosted/HostedNetscapePluginStream.mm:
    (WebKit::HostedNetscapePluginStream::HostedNetscapePluginStream):
    * Plugins/Hosted/NetscapePluginInstanceProxy.mm:
    (WebKit::NetscapePluginInstanceProxy::performRequest):
    (WebKit::NetscapePluginInstanceProxy::loadRequest):
    * Plugins/Hosted/WebHostedNetscapePluginView.mm:
    (-[WebHostedNetscapePluginView pluginView:receivedResponse:]):
    * Plugins/WebBaseNetscapePluginView.mm:
    (-[WebBaseNetscapePluginView requestWithURLCString:]):
    * Plugins/WebNetscapePluginStream.mm:
    (WebNetscapePluginStream::WebNetscapePluginStream):
    * Plugins/WebNetscapePluginView.mm:
    (-[WebNetscapePluginView loadStream]):
    (-[WebNetscapePluginView pluginView:receivedResponse:]):
    (-[WebNetscapePluginView loadPluginRequest:]):
    (-[WebNetscapePluginView loadRequest:inTarget:withNotifyData:sendNotification:]):
    * Plugins/WebPluginController.mm:
    * WebCoreSupport/WebFrameLoaderClient.mm:
    (WebFrameLoaderClient::dispatchDidReceiveServerRedirectForProvisionalLoad):
    (WebFrameLoaderClient::dispatchDidStartProvisionalLoad):
    (WebFrameLoaderClient::dispatchWillSubmitForm):
    (WebFrameLoaderClient::updateGlobalHistory):
    (WebFrameLoaderClient::updateGlobalHistoryRedirectLinks):
    (WebFrameLoaderClient::restoreViewState):
    (WebFrameLoaderClient::transitionToCommittedForNewPage):
    (WebFrameLoaderClient::createFrame):
    * WebCoreSupport/WebFrameNetworkingContext.mm:
    (WebFrameNetworkingContext::blockedError):
    * WebCoreSupport/WebPlatformStrategies.mm:
    (WebPlatformStrategies::getPluginInfo):
    * WebView/WebFrame.mm:
    (kit):
    (-[WebFrame _dataSource]):
    (-[WebFrame _canProvideDocumentSource]):
    (-[WebFrame _commitData:]):
    (-[WebFrame _firstLayoutDone]):
    (-[WebFrame _loadType]):
    (-[WebFrame _cacheabilityDictionary]):
    (-[WebFrame _clearOpener]):
    (-[WebFrame provisionalDataSource]):
    (-[WebFrame dataSource]):
    (-[WebFrame loadRequest:]):
    (-[WebFrame _loadData:MIMEType:textEncodingName:baseURL:unreachableURL:]):
    (-[WebFrame loadArchive:]):
    (-[WebFrame stopLoading]):
    (-[WebFrame reload]):
    (-[WebFrame reloadFromOrigin]):
    * WebView/WebHTMLRepresentation.mm:
    (-[WebHTMLRepresentation receivedData:withDataSource:]):
    * WebView/WebHTMLView.mm:
    (-[WebHTMLView validateUserInterfaceItemWithoutDelegate:]):
    * WebView/WebPDFView.mm:
    (-[WebPDFView PDFViewWillClickOnLink:withURL:]):
    * WebView/WebRenderLayer.mm:
    (-[WebRenderLayer initWithWebFrame:]):
    * WebView/WebRenderNode.mm:
    (-[WebRenderNode _initWithCoreFrame:]):
    * WebView/WebView.mm:
    (-[WebView _close]):
    (-[WebView _loadBackForwardListFromOtherView:]):
    (-[WebView _cachedResponseForURL:]):
    (-[WebView setCustomTextEncodingName:]):
    (-[WebView shouldClose]):
    
    Source/WebKit/qt:
    
    * WebCoreSupport/ChromeClientQt.cpp:
    (WebCore::ChromeClientQt::closeWindowSoon):
    * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
    (DumpRenderTreeSupportQt::shouldClose):
    (DumpRenderTreeSupportQt::responseMimeType):
    (DumpRenderTreeSupportQt::clearOpener):
    (DumpRenderTreeSupportQt::thirdPartyCookiePolicyAllows):
    (DumpRenderTreeSupportQt::setAlternateHtml):
    * WebCoreSupport/FrameLoaderClientQt.cpp:
    (WebCore::FrameLoaderClientQt::callPolicyFunction):
    (WebCore::FrameLoaderClientQt::dispatchDidStartProvisionalLoad):
    (WebCore::FrameLoaderClientQt::updateGlobalHistory):
    (WebCore::FrameLoaderClientQt::updateGlobalHistoryRedirectLinks):
    (WebCore::FrameLoaderClientQt::callErrorPageExtension):
    (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNewWindowAction):
    (WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction):
    (WebCore::FrameLoaderClientQt::startDownload):
    (WebCore::FrameLoaderClientQt::createFrame):
    (WebCore::FrameLoaderClientQt::objectContentType):
    * WebCoreSupport/QWebFrameAdapter.cpp:
    (QWebFrameAdapter::load):
    (QWebFrameAdapter::setContent):
    (QWebFrameAdapter::setHtml):
    (QWebFrameAdapter::kit):
    (QWebFrameAdapter::title):
    (QWebFrameAdapter::clearCoreFrame):
    * WebCoreSupport/QWebPageAdapter.cpp:
    (frameLoadRequest):
    (openNewWindow):
    (QWebPageAdapter::triggerAction):
    (QWebPageAdapter::currentFrame):
    
    Source/WebKit/win:
    
    * WebCoreSupport/WebContextMenuClient.cpp:
    (WebContextMenuClient::searchWithGoogle):
    * WebCoreSupport/WebFrameLoaderClient.cpp:
    (WebFrameLoaderClient::updateGlobalHistory):
    (WebFrameLoaderClient::updateGlobalHistoryRedirectLinks):
    (WebFrameLoaderClient::savePlatformDataToCachedFrame):
    (WebFrameLoaderClient::createFrame):
    (WebFrameLoaderClient::dispatchDidFailToStartPlugin):
    * WebCoreSupport/WebFrameNetworkingContext.cpp:
    (WebFrameNetworkingContext::blockedError):
    (WebFrameNetworkingContext::referrer):
    * WebElementPropertyBag.cpp:
    (WebElementPropertyBag::Read):
    * WebFrame.cpp:
    (kit):
    (WebFrame::reloadFromOrigin):
    (WebFrame::loadRequest):
    (WebFrame::loadData):
    (WebFrame::dataSource):
    (WebFrame::provisionalDataSource):
    (WebFrame::stopLoading):
    (WebFrame::reload):
    (WebFrame::firstLayoutDone):
    (WebFrame::loadType):
    (WebFrame::clearOpener):
    (WebFrame::dispatchWillSubmitForm):
    (WebFrame::receivedPolicyDecision):
    (WebFrame::dispatchDecidePolicyForResponse):
    (WebFrame::dispatchDecidePolicyForNewWindowAction):
    (WebFrame::dispatchDecidePolicyForNavigationAction):
    (WebFrame::createJavaAppletWidget):
    * WebFramePolicyListener.cpp:
    (WebFramePolicyListener::receivedPolicyDecision):
    * WebView.cpp:
    (WebView::close):
    (WebView::canShowMIMEType):
    (WebView::setCustomTextEncodingName):
    (WebView::loadBackForwardListFromOtherView):
    (WebView::shouldClose):
    
    Source/WebKit/wince:
    
    * WebCoreSupport/FrameLoaderClientWinCE.cpp:
    (WebKit::FrameLoaderClientWinCE::dispatchDecidePolicyForResponse):
    (WebKit::FrameLoaderClientWinCE::dispatchDecidePolicyForNewWindowAction):
    (WebKit::FrameLoaderClientWinCE::dispatchDecidePolicyForNavigationAction):
    (WebKit::FrameLoaderClientWinCE::dispatchWillSubmitForm):
    * WebCoreSupport/FrameNetworkingContextWinCE.cpp:
    (WebKit::FrameNetworkingContextWinCE::referrer):
    * WebView.cpp:
    (WebView::createFrame):
    (WebView::load):
    (WebView::reload):
    (WebView::stop):
    
    Source/WebKit2:
    
    * Shared/WebRenderLayer.cpp:
    (WebKit::WebRenderLayer::create):
    * Shared/WebRenderObject.cpp:
    (WebKit::WebRenderObject::create):
    * WebProcess/Geolocation/GeolocationPermissionRequestManager.cpp:
    (WebKit::GeolocationPermissionRequestManager::startRequestForGeolocation):
    * WebProcess/InjectedBundle/API/c/WKBundleFrame.cpp:
    (WKBundleFrameGetFrameLoadState):
    (WKBundleFrameClearOpener):
    (WKBundleFrameCallShouldCloseOnWebView):
    * WebProcess/InjectedBundle/DOM/InjectedBundleNodeHandle.cpp:
    (WebKit::InjectedBundleNodeHandle::documentFrame):
    (WebKit::InjectedBundleNodeHandle::htmlFrameElementContentFrame):
    (WebKit::InjectedBundleNodeHandle::htmlIFrameElementContentFrame):
    * WebProcess/InjectedBundle/InjectedBundle.cpp:
    (WebKit::InjectedBundle::overrideBoolPreferenceForTestRunner):
    * WebProcess/InjectedBundle/InjectedBundleDOMWindowExtension.cpp:
    (WebKit::InjectedBundleDOMWindowExtension::frame):
    * WebProcess/InjectedBundle/InjectedBundleHitTestResult.cpp:
    (WebKit::InjectedBundleHitTestResult::frame):
    (WebKit::InjectedBundleHitTestResult::targetFrame):
    * WebProcess/Plugins/PDF/PDFPlugin.mm:
    (WebKit::PDFPlugin::clickedLink):
    * WebProcess/Plugins/PluginView.cpp:
    (WebKit::webPage):
    (WebKit::PluginView::didFailToInitializePlugin):
    (WebKit::PluginView::performFrameLoadURLRequest):
    (WebKit::PluginView::userAgent):
    (WebKit::PluginView::loadURL):
    (WebKit::PluginView::cancelManualStreamLoad):
    (WebKit::PluginView::proxiesForURL):
    * WebProcess/WebCoreSupport/WebChromeClient.cpp:
    (WebKit::WebChromeClient::focusedElementChanged):
    (WebKit::WebChromeClient::focusedFrameChanged):
    (WebKit::WebChromeClient::runBeforeUnloadConfirmPanel):
    (WebKit::WebChromeClient::closeWindowSoon):
    (WebKit::WebChromeClient::runJavaScriptAlert):
    (WebKit::WebChromeClient::runJavaScriptConfirm):
    (WebKit::WebChromeClient::runJavaScriptPrompt):
    (WebKit::WebChromeClient::unavailablePluginButtonClicked):
    (WebKit::WebChromeClient::print):
    (WebKit::WebChromeClient::exceededDatabaseQuota):
    (WebKit::WebChromeClient::runOpenPanel):
    * WebProcess/WebCoreSupport/WebContextMenuClient.cpp:
    (WebKit::WebContextMenuClient::searchWithGoogle):
    * WebProcess/WebCoreSupport/WebEditorClient.cpp:
    (WebKit::WebEditorClient::textFieldDidBeginEditing):
    (WebKit::WebEditorClient::textFieldDidEndEditing):
    (WebKit::WebEditorClient::textDidChangeInTextField):
    (WebKit::WebEditorClient::textDidChangeInTextArea):
    (WebKit::WebEditorClient::doTextFieldCommandFromEvent):
    (WebKit::WebEditorClient::textWillBeDeletedInTextField):
    * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
    (WebKit::WebFrameLoaderClient::dispatchDidReceiveServerRedirectForProvisionalLoad):
    (WebKit::WebFrameLoaderClient::dispatchDidStartProvisionalLoad):
    (WebKit::WebFrameLoaderClient::dispatchDidCommitLoad):
    (WebKit::WebFrameLoaderClient::dispatchDecidePolicyForResponse):
    (WebKit::WebFrameLoaderClient::dispatchDecidePolicyForNewWindowAction):
    (WebKit::WebFrameLoaderClient::dispatchDecidePolicyForNavigationAction):
    (WebKit::WebFrameLoaderClient::dispatchWillSendSubmitEvent):
    (WebKit::WebFrameLoaderClient::dispatchWillSubmitForm):
    (WebKit::WebFrameLoaderClient::updateGlobalHistory):
    (WebKit::WebFrameLoaderClient::updateGlobalHistoryRedirectLinks):
    (WebKit::WebFrameLoaderClient::restoreViewState):
    (WebKit::WebFrameLoaderClient::createFrame):
    (WebKit::WebFrameLoaderClient::createJavaAppletWidget):
    (WebKit::WebFrameLoaderClient::objectContentType):
    * WebProcess/WebCoreSupport/WebPlatformStrategies.cpp:
    (WebKit::WebPlatformStrategies::getPluginInfo):
    * WebProcess/WebCoreSupport/mac/WebFrameNetworkingContext.mm:
    (WebKit::WebFrameNetworkingContext::blockedError):
    * WebProcess/WebPage/WebFrame.cpp:
    (WebKit::WebFrame::didReceivePolicyDecision):
    (WebKit::WebFrame::startDownload):
    (WebKit::WebFrame::source):
    (WebKit::WebFrame::contentsAsString):
    (WebKit::WebFrame::url):
    (WebKit::WebFrame::parentFrame):
    (WebKit::WebFrame::childFrames):
    (WebKit::WebFrame::stopLoading):
    (WebKit::WebFrame::frameForContext):
    (WebKit::WebFrame::provisionalURL):
    (WebKit::WebFrame::suggestedFilenameForResourceWithURL):
    (WebKit::WebFrame::mimeTypeForResourceWithURL):
    (WebKit::WebFrameFilter::shouldIncludeSubframe):
    * WebProcess/WebPage/WebPage.cpp:
    (WebKit::WebPage::createPlugin):
    (WebKit::WebPage::close):
    (WebKit::WebPage::tryClose):
    (WebKit::WebPage::loadURLRequest):
    (WebKit::WebPage::loadDataImpl):
    (WebKit::WebPage::linkClicked):
    (WebKit::WebPage::stopLoadingFrame):
    (WebKit::WebPage::stopLoading):
    (WebKit::WebPage::reload):
    (WebKit::WebPage::tryRestoreScrollPosition):
    (WebKit::WebPage::getMainResourceDataOfFrame):
    (WebKit::resourceDataForFrame):
    (WebKit::shouldReuseCommittedSandboxExtension):
    (WebKit::WebPage::SandboxExtensionTracker::didStartProvisionalLoad):
    (WebKit::WebPage::hasLocalDataForURL):
    (WebKit::WebPage::setCustomTextEncodingName):
    (WebKit::WebPage::canPluginHandleResponse):
    (WebKit::WebPage::canShowMIMEType):
    (WebKit::WebPage::didCommitLoad):
    * WebProcess/WebPage/mac/WebPageMac.mm:
    (WebKit::WebPage::platformHasLocalDataForURL):
    (WebKit::cachedResponseForURL):
    * WebProcess/WebProcess.cpp:
    (WebKit::WebProcess::downloadRequest):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154142 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    df550b96
HTMLHtmlElement.cpp 2.6 KB