Files
brave-core/android/java
Artem Samoilenko 0a098b001f [Android] Fix getTabGroupCount for tab groups with size 1
Chromium change:
https://source.chromium.org/chromium/chromium/src/+/57a7761b2055997dccd9b566e1c42226734a1dbe

[Tab Group] Fix getTabGroupCount for tab groups with size 1

TabGroupModelFilter wasn't correctly tracking tab groups with size 1.

Increment when:
* Creating a single tab group.
* Adding a single tab that is in a tab group.

Decrement when:
* Closing the last tab in a group rather than when size becomes 1.
* Removing the last tab from a tab group with size 1.

Modify logic when adding a tab to the tab model as part of a group
so that the group is created later and we can properly signal if a
new group was created or not.

Bug: 41496693
2024-04-08 23:09:27 -04:00
..
2024-03-27 13:26:04 -04:00