• David Jacobo's avatar
    Enforce not launching apps via "open link in a new tab" · a6245bb2
    David Jacobo authored
    Previously "Open link in a new tab/window" via context menu would allow
    the user to stay on the web, regardless of whether or not we have
    installed apps that are good candidates (because of the url/intent
    filters the app exposes) nor if such apps were marked as preferred
    before.
    
    This CL aims to fix a regression where the user would escape to an
    installed app that was marked as preferred before (it can also be a
    verified app) while trying to open a given url on a new tab/window.
    
    new tab via context menu.
    
    Bug: 968616
    Test: Manual checked yelp app is not opening while clicking open in a
    Change-Id: I9ebc76eeef44e73b204b8ac28343643ef584d50d
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1638144Reviewed-by: default avatarMaggie Cai <mxcai@chromium.org>
    Commit-Queue: David Jacobo <djacobo@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#665073}
    a6245bb2
apps_navigation_throttle.cc 17.9 KB