improved quick tab switcher & general tab design/logic;

This commit is contained in:
Fabian Freund
2026-06-12 03:47:20 +02:00
parent 83c78b53d3
commit 3c5f472bdf
35 changed files with 2715 additions and 768 deletions
@@ -1661,6 +1661,7 @@ abstract class GeckoTabsApi {
void syncEvents({
required bool onSelectedTabChange,
required bool onTabListChange,
required bool onRestoreComplete,
required bool onTabContentStateChange,
required bool onIconChange,
required bool onSecurityInfoStateChange,
@@ -1997,6 +1998,10 @@ abstract class GeckoStateEvents {
void onTabListChange(int sequence, List<String> tabIds);
void onSelectedTabChange(int sequence, String? id);
/// Mirrors `BrowserState.restoreComplete`: false until the native session
/// restore has dispatched all persisted tabs into the store.
void onRestoreCompleteChange(int sequence, bool restoreComplete);
void onTabContentStateChange(int sequence, TabContentState state);
void onHistoryStateChange(int sequence, String id, HistoryState state);
void onReaderableStateChange(int sequence, String id, ReaderableState state);