Commit Graph
1393 Commits
Author SHA1 Message Date
Simone Arpe 59c4389a4b New onboarding flow study (smartphones and small screens) (#33521)
Updates the Day Zero onboarding experience on smartphones and small screen devices to a multi‑step, horizontally advancing flow driven by CTA buttons.
It introduces distinct layouts per step, a pager animation helper, and updates onboarding logic to support a scalable, multi‑step sequence with minimal duplication.

Tablet support is intentionally out of scope and will be handled in a separate PR.
2026-02-06 12:13:01 +01:00
Artem Samoilenko 71b216aad9 [cr145][Android] Update incognito_fill icon
Chromium changes:
https://chromium.googlesource.com/chromium/src/+/1d7e9c164cf06e791c50e8e32b32ff98aa60e32a

commit 1d7e9c164cf06e791c50e8e32b32ff98aa60e32a
Author: Wenyu Fu <wenyufu@chromium.org>
Date:   Wed Dec 10 21:48:59 2025 -0800

    [Icons] Update incognito_fill icon

    incognito_simple -> incognito_fill_24dp.

    Bug: 466238435
    Change-Id: Ibf713feb61631ccf823e0e1b7a6079d1e7ac4c64
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7244330
    Reviewed-by: Sinan Sahin <sinansahin@google.com>
    Commit-Queue: Wenyu Fu <wenyufu@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#1557128}
2026-01-29 13:41:17 -05:00
Artem Samoilenko f1d1c1bf1c [cr145][Android] Update Add icon drawable name
Chromium changes:
https://chromium.googlesource.com/chromium/src/+/c4039f85750b4e7b5845545a1131296cd7a07296

commit c4039f85750b4e7b5845545a1131296cd7a07296
Author: Jenna Himawan <jhimawan@google.com>
Date:   Thu Dec 11 15:25:40 2025 -0800

    [Icons] Update Add icon drawable and name

    Bypass-Check-License: File rename; not a new file
    Bug: 465844226
    Change-Id: I4ae0996076205e52315101082ac3e9b0f15369f6
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7247464
    Reviewed-by: Wenyu Fu <wenyufu@chromium.org>
    Commit-Queue: Jenna Himawan <jhimawan@google.com>
    Cr-Commit-Position: refs/heads/main@{#1557733}
2026-01-29 13:40:36 -05:00
Artem Samoilenko 6a4e5ef849 [cr145][Android] Remove btn_tabstrip_switch_normal
Chromium changes:
https://chromium.googlesource.com/chromium/src/+/ed2e0467b830503b0d97dc31880be4cf2d9e3952

commit ed2e0467b830503b0d97dc31880be4cf2d9e3952
Author: Wenyu Fu <wenyufu@chromium.org>
Date:   Wed Dec 10 21:16:51 2025 -0800

    [Icons] Remove btn_tabstrip_switch_normal

    Apparently unused.

    Bug: 467789995, 466238435
    Change-Id: I204f20d1a1d3d67260f6ebfbf902a4f91e8d0736
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7248305
    Reviewed-by: Joel Tan-Aristy <jtanaristy@google.com>
    Commit-Queue: Wenyu Fu <wenyufu@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#1557120}
2026-01-29 13:40:36 -05:00
samartnik 5edc5d977f [Android][Large Screen] Minor accessibility fixes for NTP (#33497) 2026-01-29 13:27:16 -05:00
samartnik d34037fa36 [Android][Large Screen] Add highlight for Brave News options (#33463) 2026-01-28 12:02:05 -05: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
Artem Samoilenko 562c4de0f5 [cr143][Android] Changes for sign-in promo view
Chromium changes:
https://chromium.googlesource.com/chromium/src/+/2f15e80d353d410c1ca49a751ffce45ea1aa3566

commit 2f15e80d353d410c1ca49a751ffce45ea1aa3566
Author: quacksort <quacksort@google.com>
Date:   Fri Oct 17 08:04:18 2025 -0700

    [Signin][Android] Move seamless sign-in promo view outside of discover feed in NTP

    When seamless sign-in is enabled, the the sign-in promo has now been
    moved outside of the discover feed, above the magic stack cards.

    This still uses the old strings.

    Screenshot: https://crbug.com/437119756#attachment70217969

    Bug: 437119756
    Change-Id: Id4eb35e9756d80f22a62b4551b70fce3abb35ae9
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6973684
    Reviewed-by: Boris Sazonov <bsazonov@chromium.org>
    Reviewed-by: Menghan Yang <myuu@google.com>
    Commit-Queue: Lucia Giorgi <quacksort@google.com>
    Cr-Commit-Position: refs/heads/main@{#1531427}
2025-11-18 11:26:21 -05:00
Artem Samoilenko a490d490c0 [cr143][Android] Changes for kLinkedServicesSetting disabled code
Chromium changes:
https://chromium.googlesource.com/chromium/src/+/8e0ca53362ef330a49b98c7add3a7857fc82405e

commit 8e0ca53362ef330a49b98c7add3a7857fc82405e
Author: Martin Šrámek <msramek@chromium.org>
Date:   Tue Oct 7 11:40:45 2025 -0700

    Remove the kLinkedServicesSetting disabled code on Desktop and Android

    Since the feature has been launched.

    Apart from removing many references to the feature, flag, and tests, we're also adapting the ManageSyncSettings code from the previous approach (where the old strings were set in the XML file and the new strings programmatically overwritten in the Java code) to one where the strings are simply set in the XML file.

    We're not removing the equivalent codepaths on iOS, where it hasn't launched yet.

    Bug: 343132001
    Change-Id: I8b92689b67db9485e87dd99657a32f1601277553
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7006398
    Reviewed-by: Rainhard Findling <rainhard@chromium.org>
    Commit-Queue: Martin Šrámek <msramek@chromium.org>
    Reviewed-by: Marc Treib <treib@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#1526439}
2025-11-18 11:18:49 -05:00
Terry Mancey 75a2652d65 [ads] Remove Android super referrals (#32158)
Remove Android Super Referrals. The feature is no longer supported or
used, and this cleanup helps reduce unused code and simplify the overall
system as part of https://github.com/brave/brave-browser/issues/44403.
2025-11-17 15:23:55 -05:00
Artem Samoilenko 01faa34916 [cr143][Android] Changes for StatusIcons size constraint
Chromium changes:
https://chromium.googlesource.com/chromium/src/+/c818a3850128c73f62537482e36f43367e9c40ce

commit c818a3850128c73f62537482e36f43367e9c40ce
Author: Tomasz Wiszkowski <ender@google.com>
Date:   Fri Oct 3 15:11:19 2025 -0700

    Ensure all StatusIcons meet the specific size constraint.

    We've observed a weird behavior when toggling search engines results
    in oversize and cropped search engine icon shown in the omnibox.

    This is partially because the ChromeTransitionDrawable animating
    between states receives Drawables of inconsistent sizes, and changes
    its intrinsic size, trying to accommodate the larger of the drawables.

    Second more important factor is that the StatusIconResource carrying
    drawable was shared between two different views - the NTP Fakebox and
    the Omnibox. One view altering the Drawable state made the other view
    instantly see these alterations, resulting in wrong positioning of
    the icon.

    This change aligns all StatusView icon sizes, ensuring that no icon
    can ever change the intrinsic size of the TransitionDrawable.

    Change intentionally kept small as it will need to be cherrypicked.

    Fixed: 449181250
    Change-Id: I59953971b99a01d015aa2398db058677c7816d7c
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7007583
    Commit-Queue: Tomasz Wiszkowski <ender@google.com>
    Reviewed-by: Patrick Noland <pnoland@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#1525046}
2025-10-15 20:31:36 -04:00
samartnik 851cdf1f34 [CodeHealth] Separate Brave-specific resources from Chromium overrides (#31571)
[Android] Separate Brave-specific resources from Chromium overrides
2025-10-02 08:50:51 -04:00
samartnik bd57c6c37b [Android] Update header image for quick shortcuts and optimization (#31528)
* [Android] Update header image for quick shortcuts and optimization

Optimizations done:
- Initialize leo and wallet controllers regardless if feature enabled or not. This is because at this point native is not guaranteed to be initialized to check the feature. Check for option visibility is done in `BraveRadioButtonGroupAdaptiveToolbarPreference` instead.
- Override `buildUiStateForStats` to avoid asserts on Brave specific options.

* Fix for tests

* Fix for JUnit tests
2025-10-01 09:35:18 -04:00
Oliver 0bf55f3da0 [Android] Update light/dark colours from Nala XML definitions (#31329)
This change has been produced using a Ruby script that implements the
following logic:

1. For each <color> tag in the destination, try to find one in the
   source with the same name
2. If found, update the destination tag with the colour from the source
   tag
3. If not found, do nothing and move onto the next tag.
4. Tags that exist in the source but not the destination are ignored.

Currently, some tags exist in the destination XML that are missing from
the source and also vice versa.

Once this has been resolved, we should be able to delete the files in
this diff and move to simply copying the generated XML files straight
out of brave/leo.

Additionally, a small change has been made to the Brave Sync "Add New
Device" button to use a Nala-defined colour rather than being hard-coded
to white.

Closes brave/brave-browser#49143
2025-09-30 23:34:24 +02:00
Brian Johnson 1f27a328c6 [Speedreader] Remove speedreader on android (#31418)
Remove buggy speedreader implementation on android
2025-09-29 11:52:46 +09:00
samartnik 9628962880 [Android] Fix for hairline height (#31434)
Chromium changes:
https://chromium.googlesource.com/chromium/src/+/e981dd46821f563acaa6a5a3d8fd51e046e311e2

commit e981dd46821f563acaa6a5a3d8fd51e046e311e2
Author: Patrick Noland <pnoland@google.com>
Date:   Wed Aug 13 13:37:18 2025 -0700

    [Toolbar] Rework hairline positioning

    Manually calculating the margin for the hairline is error-prone and
    tedious when multiple components can alter the height of the toolbar.
    Instead of manual manipulation, we can position it "for free" by using
    coordinator layout's anchor gravity concept.

    This does require switching the toolbar container to be a
    CoordinatorLayout. Mostly this is easy since CoordinatorLayout is a more
    powerful FrameLayout. There is one consideration: OptimizedFrameLayout,
    formerly in the inheritance chain for the toolbar container, reduced the
    number of measure calls on ToolbarLayout for performance reasons.

    This ends up not mattering because CoordinatorLayout performs the same
    number of measure calls.

    NO_IFTTT=Adding block for the first time

    Change-Id: Idfbb41afbbb1d361214cd0e8e585fefa545aee89
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6828889
    Reviewed-by: Xi Han <hanxi@chromium.org>
    Reviewed-by: Wenyu Fu <wenyufu@chromium.org>
    Commit-Queue: Patrick Noland <pnoland@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#1501003}
2025-09-25 22:26:26 -04:00
Kevin Smith 7f6dbf689e [Rewards] Remove unused Rewards UI on Android (#30900) 2025-09-25 16:31:12 -04:00
AlexeyBarabash 6b91d51e6d [cr141][Android] Changes at new_tab_page_layout.xml
Chromium change:
https://source.chromium.org/chromium/chromium/src/+/187fd6cd3fdf5d6125f78de37c7da5c9bc1bd59f

	[Composeplate] Implement V2 UX with 2 buttons.

	In this CL, we implement the V2 variations of composeplate view:
	- Increase Fake search box height to 72dp;
	- Add the composeplate view with 2 buttons and reduce visible background
	  height to 44dp;
	- The composeplate button in url_bar is no longer visible when
	  scrolling NTP;
	- Add a new feature parameter "v2_enabled" for this new UI variation.
	Screenshots: http://shortn/_tC3hspQIv9.

	Bug: 421944848
	Change-Id: I25d152370dce3497fb347c392665e82c6566d991
	Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6953030
2025-09-24 17:56:46 -04:00
Oliver 5addb66841 [Android] Support import of passwords from CSV (#31056)
* [Android] Refactor PasswordSettings.java to use an XML layout file.

The PasswordSettings.java file now integrates with a new XML file that
contains the layout for the page. This modification was completed using
Cursor but does not appear to have introduced any breaks.

There should be no semantic changes caused by this commit and the Brave
Password settings screen should continue to function exactly as it did
prior to this commit.

* [Android] Introduce new Import/Export items to password manager menu.

The password manager dialog now features two items for export and
import. Prior to this commit, Export was hidden away in a small
drop-down menu accessible from the top-right of the screen.

The import item is also present, but non-functional in this commit.

* [Android] Implement importing passwords from CSV.

We now support importing a CSV file containing the user's passwords.
This commit builds upon its parent by implementing the necessary code to
call Chromium's password manager which is responsible for executing the
import.

Additionally, the icons in the password manager screen have been changed
to new ones taken from Google's Material UI icon set.

Localisation strings have been introduced - some of which are copied
from Google's base since, after discussion, this is the way we currently
make strings usable for Android. If this changes in future, these could
be de-duplicated. Translations into other languages are still necessary
since only English is implemented.

Closes brave/brave-browser#35729
2025-09-24 16:07:14 +02:00
Artem Samoilenko cb21669d9e [cr141][Android] Adjust icon for the new main menu item
Chromium changes:
https://chromium.googlesource.com/chromium/src/+/8c20f1c394693bcb5f98982e3d188319c9568107

commit 8c20f1c394693bcb5f98982e3d188319c9568107
Author: Fiaz Muhammad <mfiaz@google.com>
Date:   Tue Aug 12 07:40:28 2025 -0700

    [TabGroupParity] Enable feature by default

    - Switch TabGroupParity and EntryPoints flags to enabled by default.
    - Fix broken tests.

    Bug: 391387522
    Change-Id: I78e7ed6a3e88598657fd314e270a590c17897258
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6832532
    Commit-Queue: Fiaz Muhammad <mfiaz@google.com>
    Reviewed-by: Calder Kitagawa <ckitagawa@chromium.org>
    Commit-Queue: Calder Kitagawa <ckitagawa@chromium.org>
    Auto-Submit: Fiaz Muhammad <mfiaz@google.com>
    Cr-Commit-Position: refs/heads/main@{#1500131}
2025-09-22 14:59:42 -04:00
Artem Samoilenko 33f3d6cc51 [cr141][Android] Removes btn_suggestion_refine drawable
Chromium changes:
https://chromium.googlesource.com/chromium/src/+/e7b3061a6b33a2fe6ce4cffe0e78d5aee76933b0

commit e7b3061a6b33a2fe6ce4cffe0e78d5aee76933b0
Author: Tomasz Wiszkowski <ender@google.com>
Date:   Fri Aug 8 10:09:06 2025 -0700

    Reflect Omnibox placement in refine arrow direction.

    The change propagates the Toolbar position down the Autocomplete UI
    stack allowing the suggestions to reorient their UI in response to the
    toolbar position change.

    Change-Id: Ia28e8d7d4dbf0da5133ca3768e3356ba98c63a48
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6829043
    Commit-Queue: Tomasz Wiszkowski <ender@google.com>
    Reviewed-by: Calder Kitagawa <ckitagawa@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#1498883}
2025-09-22 14:59:32 -04:00
samartnik d8cd91653c [Android] Fix for the bottom padding of the main menu (#31315) 2025-09-22 07:56:03 -04:00
vadims 9ea69c1d1b [Webcompat Reporter] Add a padding between string and dropdown menu (#31272)
Increase the distance between the dropdown menu and its label.

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

Signed-off-by: Vadym Struts <vstruts@brave.com>
2025-09-18 16:51:42 +02: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
Serg 1287169d1e Let users to display only one tiles row in in quick action search widget (#31111)
Let users to display only one tiles row in in quick action search
widget

There are cases on some devices where it is impossible to display
only one tiles row, it displays two right away.
Resolves: https://github.com/brave/brave-browser/issues/49110
2025-09-10 02:10:49 +09:00
Brian R. Bondy 24d9b92d6d Remove top sites suggestions provider (#31073)
The list was not updated nor maintained, and even had invalid entries.

On device which uses a local ML model was tied to this preference for some reason too, so that keeps the preference around and has a checkbox for just that now.

For Android, it doesn't support on device suggestions because the ML
models aren't available there, so no checkbox was added there.
2025-09-08 11:42:41 -04:00
Serg 965a2b137d Hit all 4 edges in quick action search widget (#31018)
Search only form should not hit top anb bottom but a view with top
tiles should hit all 4 edges.
Resolves: https://github.com/brave/brave-browser/issues/48943
2025-09-03 20:24:16 -04:00
AlexeyBarabash 75914cd582 Android tab switcher incognito icon (#31021)
* Updated icons with product-private-window.svg from Leo repository
* Moved incognito_simple icon corresponding to upstream's place

Resolves https://github.com/brave/brave-browser/issues/48913
2025-09-04 07:59:34 +09:00
samartnik 3b342ba258 [Android] Move Quick Shortcut setting to Appearance (#30936) 2025-08-29 14:39:46 -04:00
AlexeyBarabash b5a55e8879 [cr140][Android] Replace tablet arrows icon with correct ones (#30873)
This fixes cr140 regression intruduced at
https://github.com/brave/brave-core/pull/29767/commits/a578a9cfec558824dc6d9264b397957e0d7b5989

Resolves https://github.com/brave/brave-browser/issues/48634
2025-08-27 20:29:01 +03:00
AlexeyBarabash d7256b1461 [cr140][Android] Backport built-in Password Manager (#30433)
Starting from cr140 Password manager was removed from Android.

This commit switches Android to use the same PasswordManagerSettingsService
as Desktop does.
Also backports upstream's Password Manager classes and resources used at cr139.

Chromium changes:

https://source.chromium.org/chromium/chromium/src/+/7511b67d9208bd10463c1e5752976346ab6bd207
	[LoginDbDeprecationAndroid] Remove last usages and delete the flag

https://source.chromium.org/chromium/chromium/src/+/5794e9a0461497b7b810e9366c1c53eab711b6f2
	[passwords/android] Limit kPasswordsUseUPMLocalAndSeparateStores access

https://source.chromium.org/chromium/chromium/src/+/6875d2ce472e7f2097617525feec45313602e225
	[passwords/android] Remove unused password checkup UI

https://source.chromium.org/chromium/chromium/src/+/3662471ee9fabd6d1777b1d5316f0b9eede0f115
	[passwords/android] Remove unused PasswordSettings.java

Or see the log for `chrome/browser/password_manager/android/` directory
https://source.chromium.org/chromium/chromium/src/+/main:chrome/browser/password_manager/android/;bpv=1
2025-08-20 01:06:59 +03:00
AlexeyBarabash 3a31b31511 [cr140][Android] Changes at NewTabPageLayout
- updated new_tab_page_layout.xml;
- renamed insertSiteSectionView to initializeSiteSectionView

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

	Remove Unnecessary MVT FrameLayout

	This CL is a follow-up to
	https://chromium-review.googlesource.com/c/chromium/src/+/6771167, which
	removed the unused placeholder for the Most Visited Tiles (MVT) section.

	With the placeholder gone, we no longer need to switch visibility
	between it and the mv_tiles_layout at the MVT section's position.
	Therefore, this CL removes the FrameLayout that previously wrapped both
	the mv_tiles_layout and the placeholder.

	Bug: 421436204
	Change-Id: I8937fcca9dcee78be2a3e3a994ed5aca251c5cd6
	Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6777058
2025-08-19 19:54:28 +01:00
AlexeyBarabash a578a9cfec [cr140][Android] Update btn_right and btn_back to newer asset
Chromium change:
https://source.chromium.org/chromium/chromium/src/+/f5f7db8839213f6a812ba2fb5972547225d0347b

	Update btn_right and btn_back to newer asset

	Replaces btn_right.png and btn_left.png with a newer material vector drawables.

	Bug: 425739282
	Change-Id: Ic1c50a79c7c1eedb7d69e727bbc2463b1bc94cc7
	Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6692114
2025-08-19 19:54:21 +01:00
AlexeyBarabash 6f28f4e9aa [cr140][Android] sync: Add extensions checkbox to settings on desktop Android
Chromium change:
https://source.chromium.org/chromium/chromium/src/+/2460bafb67b67c895e7eb21e63fcdfaac1bcfbf5

	sync: Add extensions checkbox to settings on desktop Android

	Support for extensions sync was recently added to desktop Android.
	Update the sync settings page to add a checkbox for the sync data
	type.

	      toggles sync data type in chrome://sync-internals

	Test: added to chrome_public_test_apk
	Test: manually verified checkbox appears on desktop Android and
	Test: manually verified checkbox does not appear on non-desktop Android
	Bug: 424217517
	Change-Id: Ifd6643e1d8b013e5d5383d21ef31a51863277650
	Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6652500
2025-08-19 19:54:17 +01:00
Serg 206bf8e572 Update quick action search and bookmark widget preview picture (#30651)
That is a follow up of https://github.com/brave/brave-browser/issues/48344.
A preview picture has to be updated to include Leo icon.
Resolves: https://github.com/brave/brave-browser/issues/48424
2025-08-15 06:42:43 +09:00
Serg 94a2830f4d Update quick action search and bookmark widget preview picture (#30606)
It is a follow up of https://github.com/brave/brave-core/pull/30239.
A preview picture has to be updated to include Leo icon.
Resolves: https://github.com/brave/brave-browser/issues/48344
2025-08-12 14:33:42 -04:00
Serg 77dbfb9a84 Implement Brave Origin paywall on Android (#30554)
Implements Brave origin paywall screen and handles subscription
purchases on Google Play Store. There is no entry point to it
currently, it will be done in the feature PRs
Resolves: https://github.com/brave/brave-browser/issues/48279
2025-08-08 16:20:53 -04:00
Szilard Szaloki d07fb818dc Brave Account section in Android settings. (#30354) 2025-07-31 15:31:35 -05:00
samartnik f536ed9c59 [Android] Initial integration of quick shortcut button (#30242)
* [Android] Initial integration of quick shortcut button

- Adds flag for quick shortcut (disabled until all Brave items are available)
- Makes parity with options available with the upstream
- Visual and UI fixes

* Moves flag under Android guards
2025-07-25 06:57:22 -04:00
vadimsandStephenHeaps 7b532e87b7 Add issue category dropdown to the webcompat reporter
Implemented back-end mojo call to return a list of categories
for Android and iOS. The visibility of several categories depends
on the state of the appropriate custom filter. 
Added the category dropdown list to the Webcompat Reporter dialog
and used the mentioned call to populate it on Android.

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

---------

Signed-off-by: Vadym Struts <vstruts@brave.com>
Co-authored-by: StephenHeaps <5314553+StephenHeaps@users.noreply.github.com>
2025-07-24 20:12:40 +02:00
Serg 7de39c84b7 Homescreen widget - Add option for Leo AI voice input (#30239)
Add an additional button on the widget to trigger Leo with voice input
for hands-free prompting.
Resolves: https://github.com/brave/brave-browser/issues/43962
2025-07-24 01:46:24 +09:00
samartnik 5f6af32729 [cr139] Fix for the text color in various UI elements (#30125)
It regressed in https://github.com/brave/brave-core/commit/4c52ecdb254d848512ff010bd52c678ce6155e68
2025-07-18 12:01:07 -04:00
Simone Arpe 6e1791f50c Add PIP icon in omnibox (#29431) 2025-07-17 21:17:54 +02:00
Artem Samoilenko 4c52ecdb25 [cr139][Android] Fixes for empty state icons and colors
Chromium changes:
https://chromium.googlesource.com/chromium/src/+/2ea22a866007bf908f0d5d0d3fad0e836ababa7a
https://chromium.googlesource.com/chromium/src/+/aa746c140a30610d1fa43e4aa195ab6a668d639b

commit 2ea22a866007bf908f0d5d0d3fad0e836ababa7a
Author: Eleanor Lee <eleanorlee@google.com>
Date:   Tue Jun 10 10:37:23 2025 -0700

    [Empty State Assets] Empty state static asset update pt 3

    Updated the empty state assets for downloads and GTS.

    Downloads:
    https://screenshot.googleplex.com/5xtqmzhPapSzoHt

    GTS tablet:
    https://screenshot.googleplex.com/B25dFFeDtazHM8H

    GTS phone:
    https://screenshot.googleplex.com/89XLDH4VMf4u3jF

    light:
    bg: primary 90
    outline: primary 60 & secondary 60

    dark:
    bg: primary 30
    outline: primary 60 & secondary 60

    Bug: 406498727
    Change-Id: I6d3b373501e4c3b36b6c5c022e3c9f19f62fdfab
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6629166
    Commit-Queue: Eleanor Lee <eleanorlee@google.com>
    Reviewed-by: Calder Kitagawa <ckitagawa@chromium.org>
    Reviewed-by: Wenyu Fu <wenyufu@chromium.org>
    Reviewed-by: Theresa Sullivan <twellington@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#1471921}

commit aa746c140a30610d1fa43e4aa195ab6a668d639b
Author: Eleanor Lee <eleanorlee@google.com>
Date:   Tue Jun 10 15:45:38 2025 -0700

    [Empty State Assets] Empty state static asset update pt 4

    Updated the empty state assets for tab groups.

    Mobile:
    https://screenshot.googleplex.com/4aWEMEUfBP7v4tq

    Tablet:
    https://screenshot.googleplex.com/7eZPHcdDPbBE2T3

    light:
    bg: primary 80
    tab container: prim 95
    tab outline: prim 40
    empty tab fill: sec 70

    dark:
    bg: primary 40
    tab container: prim 20
    tab outline: prim 80
    empty tab fill: sec 50

    Bug: 406498727
    Change-Id: I770fe8b0fcb68e9c08de09a17e3461bdb1360684
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6630537
    Commit-Queue: Eleanor Lee <eleanorlee@google.com>
    Reviewed-by: Wenyu Fu <wenyufu@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#1472106}
2025-07-16 13:40:38 -04:00
Artem Samoilenko 9873fb1d97 [cr139][Android] Baseline color updates
Chromium changes:
https://chromium.googlesource.com/chromium/src/+/ee7b53f149eac2609a75cdeddaf55cc9f695d18e

commit ee7b53f149eac2609a75cdeddaf55cc9f695d18e
Author: Eleanor Lee <eleanorlee@google.com>
Date:   Wed Jun 11 17:16:37 2025 -0700

    Update on container baseline colors for light theme

    On Primary Container: Primary10 -> Primary30
    On Secondary Container: Secondary10 -> Secondary30

    We currently do not use On Tertiary Container or On Error Container

    Bug: 413062545
    Change-Id: I4f895df9ac633791af0976166181eb7bba2c93cc
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6638604
    Commit-Queue: Eleanor Lee <eleanorlee@google.com>
    Reviewed-by: Sinan Sahin <sinansahin@google.com>
    Reviewed-by: Wenyu Fu <wenyufu@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#1472766}
2025-07-16 13:38:46 -04:00
Artem Samoilenko c01e496dbb [cr139][Android] Add chrome/browser/composeplate
Chromium changes:
https://chromium.googlesource.com/chromium/src/+/b4bcdb30370ea60515e4244a9f7a6c9db569759e

commit b4bcdb30370ea60515e4244a9f7a6c9db569759e
Author: Xi Han <hanxi@google.com>
Date:   Wed Jun 4 15:09:02 2025 -0700

    [Composeplate] Add chrome/browser/composeplate.

    Screenshots: http://shortn/_IzOb4Gqloe.

    Bug: 421944848
    Change-Id: I7282fbd3d8a8ee8db7f1af4f469f8217cd5226c2
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6622080
    Reviewed-by: Theresa Sullivan <twellington@chromium.org>
    Reviewed-by: Xinyi Ji <xinyiji@chromium.org>
    Commit-Queue: Xi Han <hanxi@chromium.org>
    Reviewed-by: Calder Kitagawa <ckitagawa@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#1469646}
2025-07-16 13:38:26 -04:00
Artem Samoilenko 84016f4011 [cr139][Android] Remove XML inflation of the main menu
Chromium changes:
https://chromium.googlesource.com/chromium/src/+/77f042119bba825077be9212045a8f9fe2a7bb29

commit 77f042119bba825077be9212045a8f9fe2a7bb29
Author: Ted Choc <tedchoc@chromium.org>
Date:   Fri May 30 08:04:37 2025 -0700

    Remove XML inflation of the menu for tabbed mode.

    Removes all the legacy code dealing with Android Menu
    inflation as well.

    Bug: 40145539
    Change-Id: I905530ca4727d0ab885e5c8b67010dd2f650cc91
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6605931
    Reviewed-by: Theresa Sullivan <twellington@chromium.org>
    Commit-Queue: Ted Choc <tedchoc@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#1467479}
2025-07-16 13:38:22 -04: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
Serg 355b6dde6f Search widget: Set color scheme to use material design (#29569)
The search widget needs to have better alignment with Material colors.
It is important for it to feel like it is integrated to the OS.
Resolves: https://github.com/brave/brave-browser/issues/46537
2025-06-16 08:52:14 -04:00
AlexeyBarabash 2625454fb9 [Android] Fixed SetTextColorAndSetTextSizeCheck warnings at CardBuilderFeedCard.java 2025-06-11 17:07:52 -04:00