WebCore:
Reviewed by Anders.
- removed 55 methods from WebCoreFrameBridge
- changed callers to use Frame directly instead
- put FrameLoaderTypes.h types into the WebCore namespace
- first steps to get FrameLoader.h ready for cross-platform duty
* WebCore.exp:
* WebCore.xcodeproj/project.pbxproj:
* bridge/mac/BrowserExtensionMac.mm:
(WebCore::BrowserExtensionMac::createNewWindow):
* bridge/mac/FrameMac.h:
* bridge/mac/FrameMac.mm:
(WebCore::FrameMac::loadRequest):
(WebCore::FrameMac::startRedirectionTimer):
(WebCore::FrameMac::stopRedirectionTimer):
(WebCore::FrameMac::passSubframeEventToSubframe):
(WebCore::FrameMac::handledOnloadEvents):
(WebCore::FrameMac::isLoadTypeReload):
* bridge/mac/WebCoreFrameBridge.h:
* bridge/mac/WebCoreFrameBridge.mm:
(-[WebCoreFrameBridge executionContextForView:]):
(updateRenderingForBindings):
(-[WebCoreFrameBridge canTargetLoadInFrame:]):
(-[WebCoreFrameBridge forceLayoutAdjustingViewSize:]):
(-[WebCoreFrameBridge forceLayoutWithMinimumPageWidth:maximumPageWidth:adjustingViewSize:]):
(-[WebCoreFrameBridge installInFrame:]):
(-[WebCoreFrameBridge numPendingOrLoadingRequests]):
(-[WebCoreFrameBridge replaceSelectionWithNode:selectReplacement:smartReplace:matchStyle:]):
(-[WebCoreFrameBridge baseWritingDirectionForSelectionStart]):
(-[WebCoreFrameBridge dragOperationForDraggingInfo:]):
(stringByCollapsingNonPrintingCharacters):
(-[WebCoreFrameBridge startLoadingResource:withMethod:URL:customHeaders:]):
(-[WebCoreFrameBridge startLoadingResource:withMethod:URL:customHeaders:postData:]):
(-[WebCoreFrameBridge syncLoadResourceWithMethod:URL:customHeaders:postData:finalURL:responseHeaders:statusCode:]):
* loader/FrameLoaderTypes.h:
* loader/mac/FrameLoader.h:
* loader/mac/FrameLoader.mm:
(WebCore::FrameLoader::FrameLoader):
(WebCore::FrameLoader::setupForReplace):
(WebCore::FrameLoader::load):
(WebCore::FrameLoader::activeDocumentLoader):
(WebCore::FrameLoader::state):
(WebCore::FrameLoader::setState):
(WebCore::FrameLoader::clearProvisionalLoad):
(WebCore::FrameLoader::markLoadComplete):
(WebCore::FrameLoader::commitProvisionalLoad):
(WebCore::FrameLoader::receivedMainResourceError):
(WebCore::FrameLoader::handleFallbackContent):
(WebCore::FrameLoader::isLoadingMainFrame):
(WebCore::FrameLoader::continueAfterNewWindowPolicy):
(WebCore::FrameLoader::continueAfterNavigationPolicy):
(WebCore::FrameLoader::continueAfterWillSubmitForm):
(WebCore::FrameLoader::continueLoadRequestAfterNavigationPolicy):
(WebCore::FrameLoader::transitionToCommitted):
(WebCore::FrameLoader::checkLoadCompleteForThisFrame):
(WebCore::FrameLoader::continueLoadRequestAfterNewWindowPolicy):
(-[WebCoreFrameLoaderAsDelegate continueAfterNewWindowPolicy:]):
(-[WebCoreFrameLoaderAsDelegate continueAfterNavigationPolicy:]):
(-[WebCoreFrameLoaderAsDelegate continueAfterWillSubmitForm:]):
* loader/mac/ImageDocumentMac.mm:
(WebCore::finishImageLoad):
* loader/mac/WebDocumentLoader.mm:
(WebCore::DocumentLoader::isLoadingInAPISense):
* loader/mac/WebMainResourceLoader.h:
* loader/mac/WebMainResourceLoader.mm:
(WebCore::MainResourceLoader::continueAfterContentPolicy):
(-[WebCoreMainResourceLoaderAsPolicyDelegate continueAfterContentPolicy:]):
* loader/mac/WebSubresourceLoader.mm:
(-[WebCoreSubresourceHandle initWithLoader:]):
* platform/mac/ListBoxMac.mm:
(-[WebCoreTableView keyDown:]):
(-[WebCoreTableView keyUp:]):
* platform/mac/WebCoreTextField.mm:
(-[WebCoreTextFieldController textView:shouldHandleEvent:]):
WebKit:
Reviewed by Anders.
- removed 55 methods from WebCoreFrameBridge
- changed callers to use Frame directly instead
- put FrameLoaderTypes.h types into the WebCore namespace
- first steps to get FrameLoader.h ready for cross-platform duty
* DefaultDelegates/WebDefaultContextMenuDelegate.m:
(-[WebDefaultUIDelegate openNewWindowWithURL:element:]):
* Plugins/WebBaseNetscapePluginView.mm:
(-[WebBaseNetscapePluginView requestWithURLCString:]):
(-[WebBaseNetscapePluginView loadPluginRequest:]):
(-[WebBaseNetscapePluginView getVariable:value:]):
* Plugins/WebNetscapePluginEmbeddedView.m:
(-[WebNetscapePluginEmbeddedView didStart]):
* Plugins/WebNetscapePluginStream.mm:
* Plugins/WebPluginContainerCheck.m:
(-[WebPluginContainerCheck _continueWithPolicy:]):
(-[WebPluginContainerCheck _isForbiddenFileLoad]):
* WebCoreSupport/WebEditorClient.mm:
(WebEditorClient::shouldDeleteRange):
(WebEditorClient::shouldShowDeleteInterface):
* WebCoreSupport/WebFrameBridge.mm:
(-[WebFrameBridge webView]):
(-[WebFrameBridge finishInitializingWithFrameName:view:]):
(-[WebFrameBridge createWindowWithURL:]):
(-[WebFrameBridge viewForPluginWithURL:attributeNames:attributeValues:MIMEType:DOMElement:loadManually:]):
(-[WebFrameBridge windowObjectCleared]):
(-[WebFrameBridge createModalDialogWithURL:]):
* WebCoreSupport/WebFrameLoaderClient.mm:
(WebFrameLoaderClient::dispatchCreatePage):
(WebFrameLoaderClient::dispatchWillSubmitForm):
* WebKit.xcodeproj/project.pbxproj:
* WebView/WebArchiver.m:
(+[WebArchiver archiveSelectionInFrame:]):
* WebView/WebDataSource.mm:
(-[WebDataSource _documentFragmentWithImageResource:]):
(-[WebDataSource _imageElementWithImageResource:]):
* WebView/WebEditingDelegatePrivate.h:
* WebView/WebFrame.mm:
(core):
(kit):
(-[WebFrame _createItemTreeWithTargetFrame:clippedAtTarget:]):
(-[WebFrame _canCachePage]):
(-[WebFrame _childFramesMatchItem:]):
(-[WebFrame _URLsMatchItem:]):
(-[WebFrame _loadItem:withLoadType:]):
(-[WebFrame _recursiveGoToItem:fromItem:withLoadType:]):
(-[WebFrame _viewWillMoveToHostWindow:]):
(-[WebFrame _viewDidMoveToHostWindow]):
(-[WebFrame _addChild:]):
(-[WebFrame _saveDocumentAndScrollState]):
(-[WebFrame _numPendingOrLoadingRequests:]):
(-[WebFrame _reloadForPluginChanges]):
(-[WebFrame _recursive_pauseNullEventsForAllNetscapePlugins]):
(-[WebFrame _recursive_resumeNullEventsForAllNetscapePlugins]):
(-[WebFrame _initWithWebFrameView:webView:coreFrame:]):
(-[WebFrame _documentViews]):
(-[WebFrame _updateBackground]):
(-[WebFrame _unmarkAllMisspellings]):
(-[WebFrame _hasSelection]):
(-[WebFrame _atMostOneFrameHasSelection]):
(-[WebFrame _findFrameWithSelection]):
(-[WebFrame _frameLoader]):
(-[WebFrame _isDescendantOfFrame:]):
(-[WebFrame _setShouldCreateRenderers:]):
(-[WebFrame _bodyBackgroundColor]):
(-[WebFrame init]):
(-[WebFrame initWithName:webFrameView:webView:]):
(-[WebFrame dealloc]):
(-[WebFrame finalize]):
(-[WebFrame name]):
(-[WebFrame webView]):
(-[WebFrame DOMDocument]):
(-[WebFrame frameElement]):
(-[WebFrame findFrameNamed:]):
(-[WebFrame parentFrame]):
(-[WebFrame childFrames]):
(-[WebFrame _invalidateCurrentItemPageCache]):
(-[WebFrame _dispatchCreateWebViewWithRequest:]):
(-[WebFrame _dispatchSourceFrame:willSubmitForm:withValues:submissionDecider:]):
(-[WebFrame _prepareForDataSourceReplacement]):
(-[WebFrame _provisionalLoadStarted]):
* WebView/WebFrameInternal.h:
* WebView/WebHTMLRepresentation.m:
(-[WebHTMLRepresentation DOMDocument]):
(-[WebHTMLRepresentation attributedText]):
* WebView/WebHTMLView.m:
(-[WebHTMLView _documentRange]):
(-[WebHTMLView _documentFragmentWithPaths:]):
(-[WebHTMLView _documentFragmentFromPasteboard:inContext:allowPlainText:chosePlainText:]):
(-[WebHTMLView _selectedRange]):
(-[WebHTMLView _updateMouseoverWithEvent:]):
(-[WebHTMLView _canEditRichly]):
(-[WebHTMLView _hasSelection]):
(-[WebHTMLView _hasSelectionOrInsertionPoint]):
(-[WebHTMLView _hasInsertionPoint]):
(-[WebHTMLView _isEditable]):
(-[WebHTMLView _isSelectionInPasswordField]):
(-[WebHTMLView _lookUpInDictionaryFromMenu:]):
(-[WebHTMLView _selectionDraggingImage]):
(-[WebHTMLView _canIncreaseSelectionListLevel]):
(-[WebHTMLView _canDecreaseSelectionListLevel]):
(-[WebHTMLView _updateActiveState]):
(-[NSArray readSelectionFromPasteboard:]):
(-[NSArray validateUserInterfaceItem:]):
(-[NSArray maintainsInactiveSelection]):
(-[NSArray menuForEvent:]):
(-[NSArray scrollWheel:]):
(-[NSArray acceptsFirstMouse:]):
(-[NSArray shouldDelayWindowOrderingForEvent:]):
(-[NSArray mouseDown:]):
(-[NSArray mouseDragged:]):
(-[NSArray mouseUp:]):
(-[NSArray keyDown:]):
(-[NSArray keyUp:]):
(-[NSArray centerSelectionInVisibleArea:]):
(-[NSArray _selectionStartFontAttributesAsRTF]):
(-[NSArray _emptyStyle]):
(-[NSArray performKeyEquivalent:]):
(-[NSArray indent:]):
(-[NSArray outdent:]):
(-[WebHTMLView cut:]):
(-[WebHTMLView paste:]):
(-[WebHTMLView _selectRangeInMarkedText:]):
(-[WebTextCompleteController doCompletion]):
(-[WebHTMLView selectionRect]):
(-[WebHTMLView selectionImageForcingWhiteText:]):
(-[WebHTMLView selectionImageRect]):
(-[WebHTMLView attributedString]):
(-[WebHTMLView _isMoveDrag]):
(-[WebHTMLView concludeDragForDraggingInfo:actionMask:]):
* WebView/WebPolicyDelegate.mm:
(-[WebPolicyDecisionListener _usePolicy:]):
(-[WebPolicyDecisionListener use]):
(-[WebPolicyDecisionListener ignore]):
(-[WebPolicyDecisionListener download]):
(-[WebPolicyDecisionListener continue]):
* WebView/WebScriptDebugDelegate.m:
(-[WebScriptCallFrame _initWithFrame:initWithWebFrame:]):
(-[WebScriptCallFrame globalObject]):
* WebView/WebView.mm:
(-[WebView _attachScriptDebuggerToAllFrames]):
(-[WebView _detachScriptDebuggerFromAllFrames]):
(-[WebView windowScriptObject]):
(incrementFrame):
(-[WebView searchFor:direction:caseSensitive:wrap:]):
(-[WebView writeSelectionWithPasteboardTypes:toPasteboard:]):
(-[WebView removeDragCaret]):
(-[WebView setScriptDebugDelegate:]):
(-[WebView scriptDebugDelegate]):
(-[WebView shouldClose]):
(-[WebView selectedDOMRange]):
(-[WebView styleDeclarationWithText:]):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@17299
268f45cc-cd09-0410-ab3c-
d52691b4dbfc