14 Commits
Author SHA1 Message Date
Artem Samoilenko 5c258d95e7 [cr149][Android] Fixes for robolectric tests 2026-05-22 16:57:31 -04:00
Artem Samoilenko 69c29f615a [cr149][Android] Remove Page Summary toolbar shortcut option UI
Chromium changes:
https://chromium.googlesource.com/chromium/src/+/59ca8a4f0745a332aa85097145626b8d2095c81d

commit 59ca8a4f0745a332aa85097145626b8d2095c81d
Author: Bryan Song <bryansong@google.com>
Date:   Fri Apr 24 10:19:07 2026 -0700

    Remove Page Summary toolbar shortcut option UI

    Formerly, a Page Summary adaptive toolbar option was added to test
    Chrome's AI integrations. In a previous CL (7762974), the enums
    and logic related to this feature were removed. However, the frontend
    xml component was not removed.
    This CL removes the said frontend component.

    Bug: 505609923
    Change-Id: I57511ac2dbd79ccb74f9a201dae85f2b9355505b
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7789242
    Commit-Queue: Bryan Song <bryansong@google.com>
    Reviewed-by: Salvador Guerrero Ramos <salg@google.com>
    Reviewed-by: Wenyu Fu <wenyufu@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#1620298}
2026-05-22 16:57:25 -04:00
AlexeyBarabash 0278f05dc6 [cr148][Android] Delete TinkerTank
Chromium change:
https://source.chromium.org/chromium/chromium/src/+/4783f6f061ceee0788a1d52ab273510ffa42f19a

commit 4783f6f061ceee0788a1d52ab273510ffa42f19a
Author: Calder Kitagawa <ckitagawa@chromium.org>
Date:   Mon Mar 16 10:45:32 2026 -0700

    Delete TinkerTank

    - Delegate is kept until downstream use is cleaned up.

    Bug: None
    Change-Id: I32692bdf3e76a8ba4645555dd1a3ff5ac1bb42a6
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7669831
    Commit-Queue: Calder Kitagawa <ckitagawa@chromium.org>
    Auto-Submit: Calder Kitagawa <ckitagawa@chromium.org>
    Commit-Queue: Yaron Friedman <yfriedman@chromium.org>
    Reviewed-by: Yaron Friedman <yfriedman@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#1600003}
2026-04-27 12:00:48 +01:00
AlexeyBarabash e8302c177f Android settings search indexes (#34576)
Added support for search indexes for Brave preferences fragments
2026-03-12 23:20:56 +02:00
Serg 181edb1979 [Android] Fix CustomizeBraveMenuTest exit item visibility test (#34572)
Initialize default invisible items before applying customization to
emulate the onboarding step that hides the exit menu item.

Resolves: https://github.com/brave/brave-browser/issues/53474
Resolves: https://github.com/brave/brave-browser/issues/53475
2026-03-09 19:31:59 +01:00
Simone Arpe 9ff0e5646d Init exit menu item as hidden (#34482)
Initializes exit menu item as hidden for new users only by setting it as disabled during onboarding. Exit item will be shown as disabled in the customized menu and tapping it on the toggle will bring it back.
2026-03-09 15:19:19 +01:00
AlexeyBarabash 240f8280a9 [cr146][Android] Make ObservableSupplierImpl package-private
AI-assited change

Chromium change:
https://source.chromium.org/chromium/chromium/src/+/be70d7b2ff247382d6716d687e2ccffec3e080ec

	Android: Make ObservableSupplierImpl package-private

	Bug: 467389696
	Change-Id: I6d8cce7f71f520d2ee5e43f87f8225cb71bef863
	Cq-Include-Trybots: luci.chrome.try:android-internal-dbg,android-internal-binary-size
	Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7546004
2026-02-26 14:14:53 +00:00
AlexeyBarabash ff3e9df6a1 [cr146][Android] Rename ObservableSupplier -> MonotonicObservableSupplier
Chromium change:
https://source.chromium.org/chromium/chromium/src/+/b8cb84d2901aeffc0003b15622a3052de7a20023

	Rename ObservableSupplier -> MonotonicObservableSupplier

	Bypass-Check-License: Rename
	Change-Id: I101e53b7542d56566c128c23e6d6b081bcd3348c
	Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7487973
2026-02-26 13:47:45 +00:00
Jay Harris 8e844ac29c [Nala]: Replace Android settings icons with Nala icons (#34175) 2026-02-26 10:33:59 +13:00
vadims f5e7f4b14a [Shred] shred android UI changes add contextual menu (#32834)
Added an ability to start shred manually from two places:
- tab's context menu (includes support of the menu customization)
- tab switch mode
Added confirmation dialog before the site data shred operation

Resolves: https://github.com/brave/brave-browser/issues/51326

---------

Signed-off-by: Vadym Struts <vstruts@brave.com>
2025-12-17 12:49:24 +01:00
Simone Arpe 382d7d9a44 Apply correct tint to custom menu item icons (#32244)
Apply tinting to correct drawable
2025-11-11 15:42:27 +01:00
AlexeyBarabash 55d288dd35 [cr142][Android] Removed icon ic_reader_mode_24dp
Chromium changes:

https://source.chromium.org/chromium/chromium/src/+/bb01b58f51a6c6e7429db527284647f16c087f80
	[reader mode] Rollback RM-specific status icon

	The specialized status icon looks duplicated when the RM CPA is
	nearby. Removing the status icon and rolling back to the normal
	security icon.

	Bug: 443060745
	Change-Id: I5449cc61928ee91521c74466b29a971fda08a861
	Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6917855

https://source.chromium.org/chromium/chromium/src/+/45196a3199b6bb9ad73fc2e201c57af3828d0e3f

	[reader mode] Align icon between CPA and 3-dot menu

	Bug: 437186569
	Change-Id: I7c6e96602d1568145057ed5f1c32dc2f44e59cb0
	Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6828688
2025-10-15 20:30:58 -04:00
Brian Johnson 1f27a328c6 [Speedreader] Remove speedreader on android (#31418)
Remove buggy speedreader implementation on android
2025-09-29 11:52:46 +09:00
Simone Arpe 673b2e1833 Implement new preference screen "Customize menu" (#31172)
The custom menu item preference screen follows the Figma design and is composed by two sections, Main menu and Page actions.

The screen shows only those items that are supported by the device, items that will never appear won't be shown.
Each item's visibility will default to true and each preference is saved on shared preferences.

The only two items whose visibility cannot be modified are the Main Settings item and the Custom Menu item itself.
2025-09-16 13:54:29 +02:00