Files
brave-core/android/java
Artem Samoilenko 29e4ec889c [cr147][Android] Cleanup for moveTabs* APIs
Chromium changes:
https://chromium.googlesource.com/chromium/src/+/b3f1b6b71c7b8c6587f4788d009574d7e47f9409

commit b3f1b6b71c7b8c6587f4788d009574d7e47f9409
Author: Aishwarya Rajesh <aishwaryarj@google.com>
Date:   Fri Feb 13 15:04:51 2026 -0800

    [MIR] Cleanup moveTabs* APIs

    See updated bug description for rationale on updates in this CL.

    At the end of this CL, we will have 3 APIs to move tabs to a window:

    1. moveTabsToNewWindow(): Moves tabs to a brand new window. This will
    show a message at instance limit.
    2. moveTabsToWindowByIdChecked(): Moves tabs to an active instance or
    creates a new activity for an inactive instance or an active instance
    that has its activity destroyed. This API will fail if the id provided
    does not have persisted state.
    3. moveTabsToOtherWindow(): Gives the user a chance to select a window
    from the TargetSelectorDialog to move the tabs to. This implicitly
    invokes #2 for a window selected from the dialog and #1 if we have
    exactly one eligible window running currently.

    Bug: 476106567
    Change-Id: I701f46a1090220d4f9db705cb4df803b30ac284a
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7564470
    Commit-Queue: Aishwarya Rajesh <aishwaryarj@google.com>
    Reviewed-by: Sirisha Kavuluru <skavuluru@google.com>
    Cr-Commit-Position: refs/heads/main@{#1584943}
2026-03-26 19:25:04 -04:00
..