0
Files
src/components/navigation_interception
Michael Thiessen 1daec5a49c Fix crash when canceling defered navigation deletes |this|
When doing the deferred check upon receiving a check result, avoid
doing the check to make sure |this| isn't deleted, as |this| being
deleted is expected when canceling a deferred navigation.

Bug: 396951578
Change-Id: Iabd6b79a831978db1f0c1b3f7f5d7c04b697ca07
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6343892
Reviewed-by: Yaron Friedman <yfriedman@chromium.org>
Commit-Queue: Michael Thiessen <mthiesse@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1431013}
2025-03-11 10:55:39 -07:00
..

Navigation interception

This component is for navigation interception on the Android platform. This component directory provides an interface for intercepting these navigations, however it does not implement any other behavior. It's up to the content embedder (ex. //chrome folder) to choose what to do once the navigation is intercepted.

An example of something the content embedder may choose to do might be to create an Intent to another application. An example of this is when a user clicks on a link to a YouTube video: in this scenario, the browser may prefer to send an Intent to the Android YouTube app (if it's installed on the user's device), so that the video can play within that app instead of in the browser.