[Android WebView] Send WebChromeClient.onReceivedTitle when navigating back
The usual channel for delivering onReceivedTitle (via updating title for a NavigationEntry) doesn't work in the case of history navigations, because WebContentsImpl silences no-op updates of entries titles. Chrome Browser uses another event for updating the title in this case -- via WebContentsDelegate::LoadingStateChanged. This patch enables WebView to use it as well. Note that WebChromeClient.onReceivedIcon doesn't need to be re-sent, as nobody seems to bother checking whether the icon update is a "no-op", so updates on history navigations just work. BUG=481570 Review URL: https://codereview.chromium.org/1126383005 Cr-Commit-Position: refs/heads/master@{#329408}
Showing
Please register or sign in to comment