• bweinstein@apple.com's avatar
    WebKit2: Need API to stop loading a WKFrame · c9643349
    bweinstein@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=52925
    
    Reviewed by Adam Roben.
    
    * UIProcess/API/C/WKFrame.cpp:
    (WKFrameStopLoading): Call through to WebFrameProxy::stopLoading.
    * UIProcess/API/C/WKFrame.h:
    * UIProcess/WebFrameProxy.cpp:
    (WebKit::WebFrameProxy::stopLoading): Send a message to the WebProcess to stop loading the frame
        with the passed in ID.
    * UIProcess/WebFrameProxy.h:
    * WebProcess/WebPage/WebPage.cpp:
    (WebKit::WebPage::stopLoadingFrame): Call stopForUserCancel on the passed-in frame.
    * WebProcess/WebPage/WebPage.h:
    * WebProcess/WebPage/WebPage.messages.in: Add StopLoadingFrame.
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76403 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    c9643349