Skip to content
  • andersca@apple.com's avatar
    Create separate progress tracker clients · f9ce42a1
    andersca@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=127025
    
    Reviewed by Sam Weinig.
    
    Source/WebCore:
    
    * loader/ProgressTracker.cpp:
    (WebCore::ProgressTracker::~ProgressTracker):
    * loader/ProgressTrackerClient.h:
    
    Source/WebKit:
    
    * WebKit.xcodeproj/project.pbxproj:
    
    Source/WebKit/mac:
    
    * WebCoreSupport/WebFrameLoaderClient.h:
    * WebCoreSupport/WebFrameLoaderClient.mm:
    * WebCoreSupport/WebProgressTrackerClient.h: Copied from Source/WebCore/loader/ProgressTrackerClient.h.
    * WebCoreSupport/WebProgressTrackerClient.mm: Added.
    (WebProgressTrackerClient::WebProgressTrackerClient):
    (WebProgressTrackerClient::progressTrackerDestroyed):
    (WebProgressTrackerClient::willChangeEstimatedProgress):
    (WebProgressTrackerClient::didChangeEstimatedProgress):
    (WebProgressTrackerClient::progressStarted):
    (WebProgressTrackerClient::progressEstimateChanged):
    (WebProgressTrackerClient::progressFinished):
    * WebView/WebView.mm:
    (-[WebView _commonInitializationWithFrameName:groupName:]):
    (-[WebView initSimpleHTMLDocumentWithStyle:frame:preferences:groupName:]):
    
    Source/WebKit2:
    
    * WebKit2.xcodeproj/project.pbxproj:
    * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
    * WebProcess/WebCoreSupport/WebFrameLoaderClient.h:
    * WebProcess/WebCoreSupport/WebProgressTrackerClient.cpp: Copied from Source/WebCore/loader/ProgressTrackerClient.h.
    (WebKit::WebProgressTrackerClient::WebProgressTrackerClient):
    (WebKit::WebProgressTrackerClient::progressTrackerDestroyed):
    (WebKit::WebProgressTrackerClient::progressStarted):
    (WebKit::WebProgressTrackerClient::progressEstimateChanged):
    (WebKit::WebProgressTrackerClient::progressFinished):
    * WebProcess/WebCoreSupport/WebProgressTrackerClient.h: Copied from Source/WebCore/loader/ProgressTrackerClient.h.
    * WebProcess/WebPage/WebPage.cpp:
    (WebKit::WebPage::WebPage):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@162034 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    f9ce42a1