[reland] back gesture nudge: bugs fixing.
Fix a few bugs related to back gesture: - If we have a top active window that can perform back before entering tablet mode, then when entering tablet mode, we should show the nudge above the window. - Fix an issue that if switching to an existing tab that can perform go back operation, the nudge does not show up. We should trigger the navigation status change when active tab changes. - Also fix a crash happens when shutting down chrome when nudge is in animation. - Also use DidFinishNavigation() instead of NavigationEntryCommitted() to inform observers when a navigation happens inside of the current active webcontent. Bug: 1009005b Change-Id: I3caf166e6681cad7b3d9b88fa9fe32f2482f62bf Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2081518Reviewed-by:Xiyuan Xia <xiyuan@chromium.org> Commit-Queue: Xiaoqian Dai <xdai@chromium.org> Cr-Commit-Position: refs/heads/master@{#746040}
Showing
Please register or sign in to comment