• Sylvain Defresne's avatar
    Pass current tab as opener when opening new tab · 6bdafce4
    Sylvain Defresne authored
    Pass the current tab as the opener when opening a new tab.
    This allow selection the previous current tab when the
    tab is closed via "pull-to-close" action or via the new
    "close" action in the UI refresh.
    
    The current tab is passed when tab is opened via ([*]
    denotes that this behaviour is added by this CL):
    - open tab in background
    - "New Tab" menu action [*]
    - captive portal detection [*]
    - search by image [*]
    
    Bug: 661988
    Cq-Include-Trybots: luci.chromium.try:ios-simulator-full-configs;master.tryserver.chromium.mac:ios-simulator-cronet;master.tryserver.chromium.mac:ios-simulator-full-configs
    Change-Id: Iecf41a8c0b3cfe465b3ff95a1061c97739b4ed79
    Reviewed-on: https://chromium-review.googlesource.com/1068680Reviewed-by: default avatarEugene But <eugenebut@chromium.org>
    Reviewed-by: default avatarMark Cogan <marq@chromium.org>
    Commit-Queue: Sylvain Defresne <sdefresne@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#561427}
    6bdafce4
url_opener_unittest.mm 20.1 KB