Skip to content
  • andersca@apple.com's avatar
    Add a pageDidScroll BundleUIClient callback · 6be0ee60
    andersca@apple.com authored
    https://bugs.webkit.org/show_bug.cgi?id=48260
    <rdar://problem/8531159>
    
    Reviewed by Adam Roben.
    
    WebKit2:
    
    * WebProcess/InjectedBundle/API/c/WKBundlePage.h:
    * WebProcess/InjectedBundle/InjectedBundlePageUIClient.cpp:
    (WebKit::InjectedBundlePageUIClient::pageDidScroll):
    Call the pageDidScroll callback.
    
    * WebProcess/InjectedBundle/InjectedBundlePageUIClient.h:
    * WebProcess/WebCoreSupport/WebChromeClient.cpp:
    (WebKit::WebChromeClient::invalidateContentsForSlowScroll):
    (WebKit::WebChromeClient::scroll):
    Call pageDidScroll.
    
    * WebProcess/WebPage/WebPage.cpp:
    (WebKit::WebPage::pageDidScroll):
    Hide the find banner UI and call the BundleUIClient pageDidScroll callback.
    
    WebKitTools:
    
    * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
    (WTR::InjectedBundlePage::InjectedBundlePage):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@70480 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    6be0ee60