Files
brave-core/android/java
AlexeyBarabash c6fa7e3e00 [cr148][Android] MultiWindowUtils changes
- isOpenInOtherWindowSupported removed;
- isLinkNavigationToNewWindowSupported added;
- isLinkNavigationToIncognitoWindowSupported added.

Chromium change:
https://source.chromium.org/chromium/chromium/src/+/8ebbccb8137c4b44999c92edfb971e821d9365ba

commit 8ebbccb8137c4b44999c92edfb971e821d9365ba
Author: Aishwarya Rajesh <aishwaryarj@google.com>
Date:   Mon Mar 30 11:44:27 2026 -0700

    Update conditions for "Move to other window" / "Move to new window"
    visibility on context menus for link navigation

    The CL creates / updates utility methods in MultiWindowUtils to
    determine when these options are shown on a link context menu per latest
    recommendations:
    - Open in new window
    - Open in Incognito window
    - Open in other window

    The updates in this CL ensure that either "Open in new window" or "Open
    in other window" (not both) are visible on the menu. Both options will
    invoke the same codepath currently, this will be updated in fast-follow
    CLs.

    Bug: 475571336
    Change-Id: I33a597703e634a7d5cd2d6b66c4c2ca9254374ef
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7680970
    Reviewed-by: Jinsuk Kim <jinsukkim@chromium.org>
    Reviewed-by: Sirisha Kavuluru <skavuluru@google.com>
    Commit-Queue: Aishwarya Rajesh <aishwaryarj@google.com>
    Reviewed-by: Shu Yang <shuyng@google.com>
    Cr-Commit-Position: refs/heads/main@{#1607263}
2026-04-27 12:00:58 +01:00
..