Name Description Size
binding
browser
controller
EmptyTabPage.kt UI for displaying the Empty Tab Page in the Tabs Tray. @param isPrivate Whether or not the tab is private. 1657
ext
inactivetabs
InactiveTabsBinding.kt Binding to update the [TabsTrayStore] by listening to changes to [AppState]. @param appStore [AppStore] used to listen for changes to [AppState]. @param tabsTrayStore [TabsTrayStore] used to listen for changes to [TabsTrayState]. 1212
NavigationInteractor.kt An interactor that helps with navigating to different parts of the app from the tabs tray. 4683
NormalTabsPage.kt UI for displaying the Normal Tabs Page in the Tabs Tray. @param normalTabs The list of active tabs to display. @param inactiveTabs The list of inactive tabs to display. @param selectedTabId The ID of the currently selected tab. @param selectionMode [TabsTrayState.Mode] indicating whether the Tabs Tray is in single selection. @param inactiveTabsExpanded Whether the Inactive Tabs section is expanded. @param displayTabsInGrid Whether the normal and private tabs should be displayed in a grid. @param onTabClose Invoked when the user clicks to close a tab. @param onTabMediaClick Invoked when the user interacts with a tab's media controls. @param onTabClick Invoked when the user clicks on a tab. @param onTabLongClick Invoked when the user long clicks a tab. @param shouldShowInactiveTabsAutoCloseDialog Whether the inactive tabs auto close dialog should be displayed. @param onInactiveTabsHeaderClick Invoked when the user clicks on the inactive tabs section header. @param onDeleteAllInactiveTabsClick Invoked when the user clicks on the delete all inactive tabs button. @param onInactiveTabsAutoCloseDialogShown Invoked when the inactive tabs auto close dialog is presented to the user. @param onInactiveTabAutoCloseDialogCloseButtonClick Invoked when the user clicks on the inactive tab auto close dialog's dismiss button. @param onEnableInactiveTabAutoCloseClick Invoked when the user clicks on the inactive tab auto close dialog's enable button. @param onInactiveTabClick Invoked when the user clicks on an inactive tab. @param onInactiveTabClose Invoked when the user clicks on an inactive tab's close button. @param onMove Invoked after the drag and drop gesture completed. Swaps position of two tabs. @param shouldShowInactiveTabsCFR Returns whether the inactive tabs CFR is displayed. @param onInactiveTabsCFRShown Invoked when the inactive tabs CFR is displayed. @param onInactiveTabsCFRClick Invoked when the inactive tabs CFR is clicked. @param onInactiveTabsCFRDismiss Invoked when the inactive tabs CFR is dismissed. @param onTabDragStart Invoked when a tab drag has been started. 6411
PrivateTabsLockedPage.kt UI for displaying the Unlock Private Tabs Page in the Tabs Tray. @param onUnlockClicked Invoked when the user taps the unlock button. 2200
PrivateTabsPage.kt UI for displaying the Private Tabs Page in the Tabs Tray. @param privateTabs The list of private tabs to display. @param selectedTabId The ID of the currently selected tab. @param selectionMode [TabsTrayState.Mode] indicating whether the Tabs Tray is in single selection. @param displayTabsInGrid Whether the normal and private tabs should be displayed in a grid. @param onTabClose Invoked when the user clicks to close a tab. @param onTabMediaClick Invoked when the user interacts with a tab's media controls. @param onTabClick Invoked when the user clicks on a tab. @param onTabLongClick Invoked when the user long clicks on a tab. @param onMove Invoked after the drag and drop gesture completed. Swaps position of two tabs. 2417
SecureTabsTrayBinding.kt Sets TabsTrayFragment flags to secure when private tabs list is selected. 1686
syncedtabs
SyncedTabsController.kt Controller for handling any actions on synced tabs in the tabs tray. 704
SyncedTabsInteractor.kt Interactor for responding to any actions on synced tabs in the tabs tray. 705
SyncedTabsPage.kt UI for displaying the Synced Tabs Page in the Tabs Tray. @param syncedTabs The list of [SyncedTabsListItem] to display. @param onTabClick Invoked when the user clicks on a tab. @param onTabClose Invoked when the user clicks to close a tab. 1117
TabManagementFeatureHelper.kt Feature helper for managing the release of the Tabs Tray UI enhancements. 1828
TabSheetBehaviorManager.kt The default max dim value of the [TabsTrayDialog]. 6361
TabsTray.kt 24393
TabsTrayBanner.kt 23027
TabsTrayController.kt Controller for handling any actions in the tabs tray. 25505
TabsTrayDialog.kt Default tabs tray dialog implementation for overriding the default on back pressed. 1087
TabsTrayFab.kt Floating action button for tabs tray. @param tabsTrayStore [TabsTrayStore] used to listen for changes to [TabsTrayState]. @param isSignedIn Used to know when to show the SYNC FAB when [Page.SyncedTabs] is displayed. @param onNormalTabsFabClicked Invoked when the fab is clicked in [Page.NormalTabs]. @param onPrivateTabsFabClicked Invoked when the fab is clicked in [Page.PrivateTabs]. @param onSyncedTabsFabClicked Invoked when the fab is clicked in [Page.SyncedTabs]. 4638
TabsTrayFragment.kt The action or screen that was used to navigate to the Tabs Tray. 37772
TabsTrayInteractor.kt Interactor for responding to all user actions in the tabs tray. 6710
TabsTrayStore.kt Value type that represents the state of the tabs tray. @property selectedPage The current page in the tray can be on. @property mode Whether the browser tab list is in multi-select mode or not with the set of currently selected tabs. @property inactiveTabs The list of tabs are considered inactive. @property inactiveTabsExpanded A flag to know if the Inactive Tabs section of the Tabs Tray should be expanded when the tray is opened. @property normalTabs The list of normal tabs that do not fall under [inactiveTabs]. @property privateTabs The list of tabs that are [ContentState.private]. @property syncedTabs The list of synced tabs. @property syncing Whether the Synced Tabs feature should fetch the latest tabs from paired devices. @property selectedTabId The ID of the currently selected (active) tab. 10184
TabsTrayTabLayouts.kt Top-level UI for displaying a list of tabs. @param tabs The list of [TabSessionState] to display. @param displayTabsInGrid Whether the tabs should be displayed in a grid. @param selectedTabId The ID of the currently selected tab. @param selectionMode [TabsTrayState.Mode] indicating whether the Tabs Tray is in single selection or multi-selection and contains the set of selected tabs. @param modifier [Modifier] to be applied to the layout. @param onTabClose Invoked when the user clicks to close a tab. @param onTabMediaClick Invoked when the user interacts with a tab's media controls. @param onTabClick Invoked when the user clicks on a tab. @param onTabLongClick Invoked when the user long clicks a tab. @param onMove Invoked when the user moves a tab. @param onTabDragStart Invoked when starting to drag a tab. @param header Optional layout to display before [tabs]. 16240
TabsTrayTelemetryMiddleware.kt Middleware that records telemetry events for the Tabs Tray feature. @param nimbusEventStore [NimbusEventStore] for recording events to use in behavioral targeting. 2984
TabsTrayTestTag.kt 2048
ui