Skip to content

Commit

Permalink
[Android] Plumbing for bottom controls
Browse files Browse the repository at this point in the history
Chromium change:
https://chromium.googlesource.com/chromium/src/+/63b1a8198591dd90b302af8622c41fa7a6cacf57

[BCIV] Plumbing for bottom controls

This CL adds the necessary metadata to BrowserControlsOffsetTagsInfo for moving bottom controls in viz. Also plumbs the OffsetTag to the BottomControlsMediator, in preparation for the next CL that will add logic for viz to move the tab group bottom toolbar.

Bug: 368648329
  • Loading branch information
samartnik committed Nov 14, 2024
1 parent 389aa07 commit 81e768a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1160,6 +1160,7 @@ public void testConstructorsExistAndMatch() throws Exception {
FullscreenManager.class,
TabObscuringHandler.class,
int.class,
int.class,
ObservableSupplier.class,
ObservableSupplier.class,
Supplier.class));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ class BraveBottomControlsMediator extends BottomControlsMediator {
FullscreenManager fullscreenManager,
TabObscuringHandler tabObscuringHandler,
int bottomControlsHeight,
int bottomControlsShadowHeight,
ObservableSupplier<Boolean> overlayPanelVisibilitySupplier,
ObservableSupplier<EdgeToEdgeController> edgeToEdgeControllerSupplier,
Supplier<Boolean> readAloudRestoringSupplier) {
Expand All @@ -49,6 +50,7 @@ class BraveBottomControlsMediator extends BottomControlsMediator {
fullscreenManager,
tabObscuringHandler,
bottomControlsHeight,
bottomControlsShadowHeight,
overlayPanelVisibilitySupplier,
edgeToEdgeControllerSupplier,
readAloudRestoringSupplier);
Expand Down

0 comments on commit 81e768a

Please sign in to comment.