Move ContentTranslateDriver reload logic to DidFinishNavigation.
The reload detection in NavigationEntryCommitted depends on stale code that is being removed, and using a NavigationHandle in DidFinishNavigation is a more modern approach. This CL updates the check accordingly so that we can remove NAVIGATION_TYPE_SAME_ENTRY. Some duplication occurs due to https://crbug.com/1064974. Bug: 536102, 1064974 Change-Id: I7b908770cfceebc696bff9e900da78c28d1b2f5d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2628652Reviewed-by:Scott Little <sclittle@chromium.org> Commit-Queue: Charlie Reis <creis@chromium.org> Cr-Commit-Position: refs/heads/master@{#845440}
Showing
Please register or sign in to comment