Chromium changes: https://chromium.googlesource.com/chromium/src/+/d0dca8d3d103b066d551f6713a3ab53b1072ee51 commit d0dca8d3d103b066d551f6713a3ab53b1072ee51 Author: Calder Kitagawa <ckitagawa@chromium.org> Date: Fri Mar 13 10:44:15 2026 -0700 [BottomControls] Make bottom controls more generic * Simplify back press logic. * Extract LayerType so the component can be reused for multiple layers. * Misc. cleanup and reorganization. Bug: 492262214 Change-Id: Ic35a7613f950d73470471b4b5c8b62497c535cee Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7665618 Commit-Queue: Calder Kitagawa <ckitagawa@chromium.org> Reviewed-by: Sky Malice <skym@chromium.org> Reviewed-by: Dan Polanco <polardz@google.com> Auto-Submit: Calder Kitagawa <ckitagawa@chromium.org> Cr-Commit-Position: refs/heads/main@{#1599163}
25 lines
904 B
XML
25 lines
904 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- Copyright 2021 The Brave Authors. All rights reserved.
|
|
Use of this source code is governed by a BSD-style license that can be
|
|
found in the LICENSE file. -->
|
|
|
|
<FrameLayout
|
|
android:id="@+id/bottom_toolbar"
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
tools:ignore="MergeRootFrame"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="@dimen/brave_bottom_toolbar_height"
|
|
android:visibility="gone" >
|
|
|
|
<include layout="@layout/bottom_toolbar_browsing" />
|
|
|
|
<ViewStub
|
|
android:id="@+id/bottom_toolbar_tab_switcher_mode_stub"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:inflatedId="@+id/bottom_toolbar_tab_switcher_mode"
|
|
android:layout="@layout/bottom_toolbar_tab_switcher" />
|
|
|
|
</FrameLayout>
|