forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[WebLayer] Add API for disabling intent processing on Navigation
This CL adds Navigation#disableIntentProcessing(), which can be called from the onNavigationStarted() callback to disable intent processing for the lifetime of a given Navigation. The API is similar in semantics and implementation to Navigation#disableNetworkErrorAutoReload(). Note that this API differs from NavigateParams#disableIntentProcessing() in two ways: (1) The new API can be invoked for *any* Navigation, not just embedder-initiated Navigations. (2) The existing API disallows intent launches on direct navigations but allows them after server redirects. The two APIs serve different use cases; crbug.com/1264328 tracks renaming and documentation of the existing API to clarify its semantics and intended use cases. Bug: 1233527 Change-Id: I9c7c63481c750d577ca30cd29c139e6ac3169d50 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3253348 Commit-Queue: Colin Blundell <blundell@chromium.org> Reviewed-by: Clark DuVall <cduvall@chromium.org> Cr-Commit-Position: refs/heads/main@{#937790}
- Loading branch information
1 parent
a5ad632
commit 6a7e7bf
Showing
8 changed files
with
177 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters