• Yi Su's avatar
    Move didReceiveWebViewNavigationDelegateCallback into · ec406c29
    Yi Su authored
    CRWWKNavigationHandler.
    
    CRWWebController.didReceiveWebViewNavigationDelegateCallback is called
    when it receives any callback from WKWebView. This CL moves it into
    CRWWKNavigationHandler and delegates all WKNavigationDelegate callbacks
    to CRWWKNavigationHandler. This CL also makes
    CRWWebController._isBeingDestroyed visible to CRWWKNavigationHandler
    through CRWWKNavigationHandlerDelegate protocol.
    
    Bug: 956511
    Change-Id: Iecb377c603eb62e3a7265149b9394c8a2310c3ba
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1599013
    Commit-Queue: Yi Su <mrsuyi@chromium.org>
    Reviewed-by: default avatarEugene But <eugenebut@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#659422}
    ec406c29
crw_wk_navigation_handler.mm 3.88 KB