[WebLayer] Create and use ExternalNavigationParams
This CL takes a prepapatory step to WebLayer sharing Chrome's ExternalNavigationHandler for launching external intents by creating and populating the ExternalNavigationParams struct that gets passed to the former class. I adapted the building of ExternalNavigationParams in //chrome's InterceptNavigationDelegateImpl.java:buildExternalNavigationParams() to //weblayer, leaving notes in the code where we might need to refine the calculation of some arguments over time. This CL also changes //weblayer's ExternalNavigationHandler to take in the params just so that the constructed object is used. There is no behavioral change. Bug: 1031465 Change-Id: If7135fcbfc9d369f2683208fde12725925156736 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2100974Reviewed-by:Michael Thiessen <mthiesse@chromium.org> Commit-Queue: Colin Blundell <blundell@chromium.org> Cr-Commit-Position: refs/heads/master@{#751051}
Showing
Please register or sign in to comment