Skip to content
  • tristan's avatar
    qt: · 9c51c237
    tristan authored
            Reviewed by Darin Adler.
    
            * WebCoreSupport/ChromeClientQt.cpp:
            (WebCore::ChromeClientQt::createWindow):
            * WebCoreSupport/ChromeClientQt.h:
            Revised to use new WebCore ChromeClient createWindow API.
    
    WebCore:
    
            Reviewed by Darin Adler.
    
            * WebCore.xcodeproj/project.pbxproj:
            Set WindowFeatures.h as a Private header.
            
            * loader/FrameLoader.cpp:
            (WebCore::FrameLoader::createWindow):
            Revised to use a single createWindow function instead of
            two createWindow functions and one createModalDialog function.
            The logic for this is now addressed in WebKit in an effort
            to make this easier to follow.
            
            * page/Chrome.cpp:
            (WebCore::Chrome::createWindow):
            * page/Chrome.h:
            * page/ChromeClient.h:
            * page/ContextMenuController.cpp:
            (WebCore::openNewWindow):
            * platform/graphics/svg/SVGImageEmptyClients.h:
            (WebCore::SVGEmptyChromeClient::createWindow):
            Revised to take new additional windowFeatures parameter.
    
    WebKit:
    
            Reviewed by Darin Adler.
    
            * DefaultDelegates/WebDefaultUIDelegate.m:
            (-[WebDefaultUIDelegate webView:createWebViewWithRequest:windowFeatures:]):
            Forward the UI delegate to call webView:createWebViewWithRequest: if
            this method doesn't exist.
            
            * WebCoreSupport/WebFrameLoaderClient.mm:
            (WebFrameLoaderClient::dispatchCreatePage):
            * Plugins/WebBaseNetscapePluginView.mm:
            (-[WebBaseNetscapePluginView loadPluginRequest:]):
            * WebView/WebView.mm:
            (-[WebView _openNewWindowWithRequest:]):
            Revised to use new webView:createWebViewWithRequest:windowFeatures: callback.
            
            * WebCoreSupport/WebChromeClient.h:
            * WebCoreSupport/WebChromeClient.mm:
            (WebChromeClient::createWindow):
            Added a new createWindow that accepts 3 parameters, so we can pass up windowFeatures to the chrome.
            Removed createModalDialog to use new createWindow function.
            
            * WebView/WebUIDelegatePrivate.h:
            Added new webView:createWebViewWithRequest:windowFeatures: method.
    
    win:
    
            Reviewed by Darin Adler.
            
            Part of the WebKit/WebCore API changes for
            <rdar://problem/5368188>
    
            * WebChromeClient.cpp:
            (WebChromeClient::createWindow):
            Removed usage of createModalDialog and revised to use new createWindow
            ChromeClient API.
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@27452 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    9c51c237