Commit Graph
9 Commits
Author SHA1 Message Date
AlexeyBarabash 9c27c37a3e [cr134] [Android] New edgeToEdgeSupplier arg at HubManagerImpl.ctor
Related Chromium change
https://source.chromium.org/chromium/chromium/src/+/b94afd120f06257c66e57700f6d13f217ad3dd60

	Wire edgeToEdgeSupplier back to the hub

	Abandoned the old CL (https://chromium-review.googlesource.com/c/chromium/src/+/6145790) and uploaded this new one.

	Wired edgeToEdgeSupplier back to the hub so that we could add bottom padding to the snackbar in the tab switcher.

	Notice that now the floating snackbar doesn’t go below the bottom inset in the tab switcher:
	https://screenshot.googleplex.com/89ZTYsRPqUYZR6a

	Bug: 385402263
	Change-Id: Ic5545614a6c4e20cec5c37858c3e23e3694c0420
	Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6174294
2025-02-18 12:46:55 +00:00
Artem Samoilenko bb1955f824 [Android] Initial bottom address bar integration 2025-02-05 15:28:16 -05:00
Artem Samoilenko 12ac1686ee [Android] Remove code for Hub Pane Host
Chromium change:
https://chromium.googlesource.com/chromium/src/+/a680cf62d045ef11aeef7e5e8bbfc78ec8287048

[Hub] Remove FAB

Remove all the machinery, IPH, etc. for the Hub Pane Host View's FAB.

Fixed: 375615578
2025-01-27 09:41:37 -05:00
Serg 36144a3fcd A possible fix for a configuration change crash on Android 2024-11-26 15:37:25 -05:00
AlexeyBarabash d6d6a31d26 Fix unused variables warnings at java (#26433)
* Removed unused variables and members at Brave java files
2024-11-08 00:11:56 +02:00
Artem Samoilenko 554b2eb7d6 [Android] Pad scrollable views in the hub
Chromium change:
https://github.com/brave/chromium/commit/e3880fa857db75c64a9ebf4579dfe07498e0cd6d

Pad all the recycler view / list view for the hub some the last element can be scrolled away from the bottom insets area.

Demo: https://screencast.googleplex.com/cast/NTY4Mzc2MDY1MjYxNTY4MHw1YjNlMjczNS1hZA

Bug: 368072594
2024-10-24 12:14:28 +01:00
Artem Samoilenko 871fa03676 [Android] Adjustment to allow selecting a pane before showing HubLayout
Chromium change:
https://source.chromium.org/chromium/chromium/src/+/4d6f6030a260d8101b5826a63dbc5261684bc512

[Hub] Allow selecting a pane before showing HubLayout.

In this CL, we add class HubShowPaneHelper. Chrome can select the next
pane id before opening the HubLayout via the HubShowPaneHelper
instance. The HubLayout will read the next pane id and set focus to the
selected pane. The HubShowPaneHelper is created by the HubProvider and
plumb to HubLayout from HubManager.

Bug: 41489743
2024-09-10 14:42:29 -04:00
AlexeyBarabash 740ffcd7b2 [Android] Fix incognito switcher icon (#25291)
* [Android] Fixed incognito icon at tab switcher; fixes brave/brave-browser#40584
2024-08-25 14:09:27 +03:00
Artem Samoilenko f295edd810 [Android] Adjustments for the new tab switcher UI
Chromium change:
https://source.chromium.org/chromium/chromium/src/+/c717fb07aed0f4756b9306ae0e55fa8f897bb1dc

[Hub] Cleanup legacy tab switcher code in toolbar

The feature flag controlling Hub was removed and isHubEnabled defaults
to true. Tests were already updated see:
https://chromium-review.googlesource.com/c/chromium/src/+/5634047

Toolbar no longer has a tab switcher mode as the toolbar is now
overlaid when the Hub is visible. Remove the legacy toolbar code related
to this now deprecated UI.

This is a follow up to
https://chromium-review.googlesource.com/c/chromium/src/+/5666417
which removed the StartSurface related code and significantly simplified
this cleanup.

Fixed: 350704312
2024-08-07 21:31:32 -04:00