12 Commits
Author SHA1 Message Date
vadims fb01221cb5 [Android] Update Shred Settings UI (#36431)
Added Shred settings UI modifications and an additional element to 
manage the browsing history shredding flag.

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

---------

Signed-off-by: Vadym Struts <vstruts@brave.com>
2026-05-15 10:09:09 +02:00
Brian Johnson bff8ee509f Reland - Move replacement files for chromium resources to their own directory (#33204)
This moves files that are directly copied over chromium resources to a separate directory where they are checked to make sure that there is a corresponding upstream file. This is the first step in a series of changes to clean up branding.js https://github.com/brave/brave-browser/issues/51969
2026-01-14 19:44:13 +00:00
Brian Johnson 54166dfe58 Revert "Move files that overwrite chromium resources to their own directory" (#33203)
Revert "Move files that are copied to chromium to their own directory (#33159)"

This reverts commit 9324eec2d3.
2026-01-14 13:56:06 +00:00
Brian Johnson 9324eec2d3 Move files that are copied to chromium to their own directory (#33159)
Separate files that overwrite chromium resources from brave specific resources and validate that there is a corresponding file in upstream.
2026-01-14 05:18:58 -07:00
Brian Johnson 00d4bc735d Fix copyright presubmit issues that came when moving files in https://github.com/brave/brave-core/pull/33159
This allows 33159 to just move the relevant files with no changes to them
2026-01-13 20:31:33 +00:00
AlexeyBarabash 619b26786d Fixed icons at CTA menu (#29688)
* Fixed icons at CTA menu

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

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

	[Icon Button] Migrate app menu icon buttons

	Migrated the app menu top row icons from ChromeImageButtons to Material Buttons. The highlight (ripple) is now a perfect circle instead of rectangle.

	Bug: 405189559
	Change-Id: I0376bf0ecf7f5b734dad2d7e8c69200834c54248
	Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6477118
2025-06-25 02:03:32 +02:00
samartnik 15256c225d [Android] Fix for NTP background color (#29134)
* [Android] Fix for NTP background color

We have our own implementation of NTP, so it should be ok to take over this resource.

Chromium changes:
https://chromium.googlesource.com/chromium/src/+/56ec723e0f70f06525dc521638839385166198f3

commit 56ec723e0f70f06525dc521638839385166198f3
Author: Eleanor Lee <eleanorlee@google.com>
Date:   Fri Mar 28 11:17:10 2025 -0700

    [Surface Color] NTP Part 1

    Migrated NTP from elevated surface colors to tonal surface colors.
    The changes are just for the bg, feed header, and the selected feed tab.

    Before:
    https://screenshot.googleplex.com/AGK54ipJCetY8fJ
    https://screenshot.googleplex.com/7ybi6tLC7NmUvmp

    After:
    https://screenshot.googleplex.com/8fWqGuuKmhdxD7u
    https://screenshot.googleplex.com/8YFiXFCXsofpP89
    https://screenshot.googleplex.com/63a7xfEgMjedSp2

    Light:
    bg: surface container high
    feed header: surface container
    selected feed tab: primary @ 15%

    Dark:
    bg: surface
    feed header: surface container high
    selected feed tab: surface container highest

    Bug: 405831276
    Change-Id: I991ec45ba6223ee44604313b904896f0a68eb7d8
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6384517
    Reviewed-by: Wenyu Fu <wenyufu@chromium.org>
    Reviewed-by: Sinan Sahin <sinansahin@google.com>
    Reviewed-by: Theresa Sullivan <twellington@chromium.org>
    Commit-Queue: Eleanor Lee <eleanorlee@google.com>
    Reviewed-by: Xi Han <hanxi@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#1439554}

* Presubmit fixes
2025-05-20 20:51:18 +02:00
samartnik 1bbed52d0a [Android] Fix for visual issue on clicking top site icon 2022-08-29 11:36:14 -04:00
samartnik a563bd953b [Android] Adjusting brave layout overrides for tablets
Replaced patch with resource override.

Chromium change:
https://chromium.googlesource.com/chromium/src/+/6b031526902b8232aef756bd9d3f5665bbe623d5

commit 6b031526902b8232aef756bd9d3f5665bbe623d5
Author: Aishwarya Rajesh <aishwaryarj@google.com>
Date:   Fri Apr 29 17:17:56 2022 +0000

    [Toolbar Tablet] Update touch target sizes for toolbar elements

    This CL updates the sizes of toolbar elements (location bar including action/status icon buttons) to be a minimum of 48dp.
    - The background drawable for the location bar is updated as an inset drawable to preserve the existing height of 40dp.
    - The StatusView height is not matching the parent height of 48dp, so the touch delegate height has been updated to satisfy minimum size requirements.
    - The StatusView start padding has been removed.
    - An end padding of 8dp has been added to the URL action container. This warranted an update to the URL bar text view margin calculations.

    Before: https://hsv.googleplex.com/6710528861798400?node=19
    After: https://hsv.googleplex.com/6313415866843136?node=19

    Bug: 1297681
2022-05-13 18:01:44 +01:00
deep 6a784760a7 Resolve path related issue for .xml file 2022-04-18 06:42:26 -04:00
Deep efb3548763 Resolve top sites with correct UI 2022-04-18 06:42:25 -04:00
samartnik 298513a978 [Android] TileView moved to components/browser_ui/widget
Chromium change:
https://chromium.googlesource.com/chromium/src.git/+/d089c588065dd2f12fe17d9d10b4e1fbbb1c5e20

Move TileView to components/browser_ui/widget

Moving TileView related class to components/browser_ui/widget, and all
related resources files
to make it available for using in launchpad module.

Bug: 1178919
2021-03-23 14:55:34 -04:00