Skip to content
  • andersca@apple.com's avatar
    Add a FrameLoadState object and begin moving loading related members from WebFrameProxy · 016f6b4c
    andersca@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=124163
    
    Reviewed by Beth Dakin.
    
    * UIProcess/API/C/WKFrame.cpp:
    (WKFrameGetFrameLoadState):
    * UIProcess/FrameLoadState.cpp: Added.
    (WebKit::FrameLoadState::FrameLoadState):
    (WebKit::FrameLoadState::~FrameLoadState):
    * UIProcess/FrameLoadState.h: Added.
    * UIProcess/WebFrameProxy.cpp:
    (WebKit::WebFrameProxy::WebFrameProxy):
    (WebKit::WebFrameProxy::didStartProvisionalLoad):
    (WebKit::WebFrameProxy::didReceiveServerRedirectForProvisionalLoad):
    (WebKit::WebFrameProxy::didFailProvisionalLoad):
    (WebKit::WebFrameProxy::didCommitLoad):
    (WebKit::WebFrameProxy::didFinishLoad):
    (WebKit::WebFrameProxy::didFailLoad):
    (WebKit::WebFrameProxy::didSameDocumentNavigation):
    (WebKit::WebFrameProxy::setUnreachableURL):
    * UIProcess/WebFrameProxy.h:
    (WebKit::WebFrameProxy::frameLoadState):
    (WebKit::WebFrameProxy::loadState):
    (WebKit::WebFrameProxy::url):
    (WebKit::WebFrameProxy::provisionalURL):
    (WebKit::WebFrameProxy::unreachableURL):
    * UIProcess/WebPageProxy.cpp:
    (WebKit::WebPageProxy::WebPageProxy):
    (WebKit::WebPageProxy::activeURL):
    * UIProcess/WebPageProxy.h:
    (WebKit::WebPageProxy::loadStateAtProcessExit):
    * WebKit2.xcodeproj/project.pbxproj:
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159077 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    016f6b4c