-
mitz@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=106261 Reviewed by Simon Fraser. Source/WebKit/mac: Test: TestWebKitAPI/Tests/mac/WebViewDidRemoveFrameFromHierarchy.mm. Added -[WebFrameLoadDelegate webView:didRemoveFrameFromHierarchy:]. * WebCoreSupport/WebFrameLoaderClient.mm: (WebFrameLoaderClient::detachedFromParent2): Added a call to the new frame load delegate method. * WebView/WebDelegateImplementationCaching.h: (WebFrameLoadDelegateImplementationCache): Added the new method to the cache. * WebView/WebFrameLoadDelegatePrivate.h: Declared the new delegate method. * WebView/WebView.mm: (-[WebView _cacheFrameLoadDelegateImplementations]): Added the new method to the cache. Tools: Added a test for -[WebFrameLoadDelegate webView:didRemoveFrameFromHierarchy:]. * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj: * TestWebKitAPI/Tests/mac/WebViewDidRemoveFrameFromHierarchy.mm: Added. (-[DidRemoveFrameFromHierarchyFrameLoadDelegate webView:didFinishLoadForFrame:]): (-[DidRemoveFrameFromHierarchyFrameLoadDelegate webView:didRemoveFrameFromHierarchy:]): (TestWebKitAPI): (TestWebKitAPI::TEST): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139000 268f45cc-cd09-0410-ab3c-d52691b4dbfc
ae97f6dd