Skip to content
  • bfulgham@apple.com's avatar
    [Windows] Let Page create the main Frame. · 3eba9c84
    bfulgham@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=120323
    
    Reviewed by Anders Carlsson.
    
    * WebCoreSupport/WebFrameLoaderClient.cpp:
    (WebFrameLoaderClient::WebFrameLoaderClient): Remove assertion that frame
    is passed as construction argument.
    (WebFrameLoaderClient::createFrame): Call new 'createSubframeWithOwnerElement'
    * WebCoreSupport/WebFrameLoaderClient.h: Update constructor to
    handle case of no default frame argument.
    (WebFrameLoaderClient::setWebFrame): Added.
    * WebFrame.cpp:
    (WebFrame::createSubframeWithOwnerElement): Renamed from 'init'.
    (WebFrame::initWithWebFrameView): Added for new page-driven load path.
    * WebFrame.h: Added new method signatures.
    * WebView.cpp:
    (WebView::initWithFrame): Update to match behavior of other ports.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154631 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    3eba9c84