Files
brave-core/android/java
Artem Samoilenko efb447cd02 [cr147][Android] Changes for tab and group reparenting initiated from MultiInstanceManagerApi31
Chromium changes:
https://chromium.googlesource.com/chromium/src/+/3c9e581ce27c3a692be86c19edd659a721eb78bd

commit 3c9e581ce27c3a692be86c19edd659a721eb78bd
Author: Aishwarya Rajesh <aishwaryarj@google.com>
Date:   Mon Feb 9 18:28:07 2026 -0800

    [MIR] Create TabReparentingDelegate to hold implementation for tab and
    group reparenting initiated from MultiInstanceManagerApi31

    This is largely a non-functional refactor that involves moving existing
    reparenting logic from MultiInstanceManagerApi31 to the new
    TabReparentingDelegate for better division of responsibility.

    The CL introduces a behavioral change where previously we would trigger
    openWindow() to show the max-instance toast while attempting to move
    tabs to a new window at instance limit, whereas we now show the instance
    creation limit message which provides a link to the window manager and
    hence offering an improved user experience.

    The CL also cleans up low value tests and updates some test fixtures in
    MultiInstanceManagerApi31UnitTest and adds increased coverage for the
    existing reparenting logic in TabReparentingDelegateUnitTest.

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