Commit Graph
925 Commits
Author SHA1 Message Date
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
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
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
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
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 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
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
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 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
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 6e7f75e4ba [cr138][Android] Backport OverflowMenuButton style
This fixes menu footer buttons.

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-11 17:07:47 -04:00
samartnik 81cd3abcd1 [Android] New Mobile Bookmarks homepage setting (#29051)
* [Android] New Mobile Bookmarks homepage setting

* [Android] Mobile bookmarks string correction

* [Android] Code review suggestions

* Replaces direct patch with bytecode and adds eol

* Moves test method from dummy to the main class

* Direct patch xmls and typo fix

* BaseJUnit4ClassRunner to ChromeJUnit4ClassRunner for tests

* Fixes presubmit issues for tests
2025-05-16 23:05:03 +02:00
Simone Arpe 7850105ddd (Wallet) Implement ZCash support on Android Wallet (#28883)
* Add required string for Android

* Perform small refactoring

* Introduce support for ZCash Mainnet and Testnet

* Implement logic to extract Zec data

* Improve fragment transaction UI

* Apply code formatting

* Switch ApproveTxBottomSheetDialogFragment to NullAway annotations

* Switch TxDetailsFragment to NullAway annotations

* Rename variable

* Switch SiweMessageFragment to NullAway annotations

* Switch AssetUtils to NullAway annotations

* Switch Utils to NullAway annotations

Removes unused methods and strings.
Adds missing ZCash vector asset.

* Switch ParsedTransaction to NullAway annotations

* Switch ParsedTransactionFees to NullAway annotations

* Remove unused parameters from methods and constructors

* Switch ApproveTxFragmentPageAdapter to NullAway annotations

* Switch TxFragment to NullAway annotations

* Introduce assert instead of throwing

* Add ZCash vector asset

* Extract Zec data into proper field
2025-05-07 20:01:03 +02:00
Deep Pandya 1a08762a2d Add a separate target for quick search engine feature (#26478)
* Move java classes into brave/browser for quick_search_engines

* Move serach_engines resources to brave/browser/search_engines

* Add translations files for search_engines android string

* Add dimens

Add a function to load favicons

* Add close menu id for quick search

* Add missing deps

* Move quick search engines changes to brave/browser/quick_search_engines

* Remove comments for BUILD.gn
2025-04-23 17:00:28 -04:00
Deep Pandya 2ac20d220d Make auto reconnect warning text to Invisible (#28716)
* Make auto reconnect warning text to Invisible

* Calculate height dynamically for warning textview
2025-04-21 14:10:52 -04:00
AlexeyBarabash 72b40f7798 [cr136][Android] Removed tab_resumption_module_container_stub layout
Related Chromium changes:
https://source.chromium.org/chromium/chromium/src/+/f8de93495c1d5e041d25dfd02d60f03ff1fabeed

	[Android TRM] Remove R.id.tab_resumption_module_container_stub.

	In crrev.com/c/5297855, the Tab Resumption Module was integrated into
	the Magic Stack. Therefore it no longer needs the ViewStub
	R.id.tab_resumption_module_container_stub as the top level layout, but
	it still lingers. This CL deletes the now useless ViewStub.

	Bug: 1515325
	Change-Id: I358b64ef57c267629230578cf8dc5b28af3d7dfc
	Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5734353

https://source.chromium.org/chromium/chromium/src/+/28cde898edae21f1b807d3e0e43d62701837ac7a

	[Android TRM] Remove feature and most of the code.

	This CL removes the Android Tab Resumption Module:
	* Remove chrome/browser/tab_resumption.
	* Remove flags and configs.
	* Remove 5 UI strings: IDS_TAB_RESUMPTION_MODULE_*,
	  IDS_N_{MINUTES,HOURS}_AGO_NARROW.
	* Remove resources.

	Need to keep for metrics:
	* tools/metrics/histograms/enums.xml entry.

	Out of scope of this CL; TODO in follow-ups:
	* NTP Customization features and tests involving the TRM (will remove in
	  follow-up).
	* Keep IDS_TAB_RESUMPTION_MODULE_SEE_MORE "See more": This got reused by
	  Tab Switcher.
	* Keep IDS_HOME_MODULES_TAB_RESUMPTION_TITLE "Continue with this tab" /
	  "Continue with these tabs": Used by Single Tab Module.

	Unaffected:
	* TRM still exists on Desktop and iOS. Tab data sync from Android
	  continue to work same as before.

	Bug: 400479323, 400479745
	Change-Id: I38cc101c361c761d38dff931b7ab6d15960836fa
	Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6408054
2025-04-16 09:30:32 +01:00
Deep Pandya 2cfff090f4 Update changes for always on to auto reconnect (#28615)
* Update changes for always on to auto reconnect

* ADd quotes to hightlight Block connections without VPN
2025-04-13 23:16:06 +02:00
Deep Pandya 2b756daa09 Android onboarding variants (#28426)
* Add support for diferent variants

* Remove omnibox highlight which shows up right after onboarding

* Add different variants function

* Add search widget promo on NTP

* Add notification permission changes

* Update widget promo UI

* Update wdp check

Resolve presubmit issue
2025-04-03 10:52:03 -04:00
Deep Pandya 86e6934b52 Remove search engine onboarding (#28230)
* Remove search engine onboarding

* Remove onUrlFocusChange callback
2025-03-21 00:15:47 -04:00
vadims b3e162dba1 Additional Shields menu item to show all blocked elements(same as reset) (#27910)
Additional Shields menu item to show all blocked elements(same as reset)
(https://github.com/brave/brave-browser/issues/43955)

---------

Signed-off-by: Vadym Struts <vstruts@brave.com>
2025-03-13 15:54:57 +01:00
Deep Pandya 1247dd3771 Improve set as default prompt (#27779)
* Open settings to set default browser app from main menu

* Add conditions for app open count & dialog

* Remove notifications for set as default

* Add conditions for days timer

* Add changes to support < android 10 devices

* Add comments and refactor functions
2025-02-28 15:11:30 -05:00
Aleksei Seren 424ad890b2 [ads] RichNTT: Android 2025-02-27 12:12:59 -05:00
Artem Samoilenko bb1955f824 [Android] Initial bottom address bar integration 2025-02-05 15:28:16 -05:00
Artem Samoilenko eedeae5ab2 [Android] Clean up modern_grey colors
Chromium change:
https://chromium.googlesource.com/chromium/src/+/e99dac41a65779af4bfb8a15cde443478f51cc2f

[clank-q4-fixit] Clean up modern_grey colors pt 2

Bug: 40910276
2025-01-27 09:41:36 -05:00
deeppandya fe7033fcc3 Remove Brave logo for > android 9 devices and update existing chnages
Refactor the changes and add comments

Improve formatting and comments
2025-01-16 15:38:31 -05:00
Simone Arpe f4d205a7b6 (Wallet) Fix Dapps dialog not dismissed when creating a new tab (#27249)
Fix Dapps dialog not dismissed correctly when creating a new tab
2025-01-15 19:31:19 +01:00
vadims cefa148556 [Webcompat report dialog] Contact info still appears in the form after deleting (#27155)
[Webcompat report dialog] Contact info still appears in the form after deleting
(https://github.com/brave/brave-browser/issues/43166)
---------

Signed-off-by: Vadym Struts <vstruts@brave.com>
2025-01-14 23:15:15 +01:00
deeppandya 42621330b0 Remove AC layout from rewards panel
Remove unused resources

Improve format
2025-01-09 16:51:51 -05:00
Deep Pandya 0478f80792 Merge pull request #27052 from brave/remove_cross_promo_dialog
Remove cross promo dialog
2024-12-26 10:54:06 -07:00
Serg 9f3121e4b2 Adds preferences and methods to delete Leo conversations on Android (#27074)
* Adds preferences and methods to delete Leo conversations on Android

* Adds time period for Leo conversation delete functionality on Android
2024-12-20 18:52:16 -05:00
deeppandya 90c24dd6d3 Remove cross promo dialog 2024-12-18 13:58:08 -07:00
Jay Harris e1a3daade2 [AI Chat]: Android history setting (#26988) 2024-12-18 11:41:30 -07:00
deeppandya f09c28a697 Add dark image res
Update bg color for the dialog
2024-12-18 09:36:36 -07:00
deeppandya 36c038c6cb Add static image as we removed the animation 2024-12-18 09:36:33 -07:00
deeppandya f146eb2ae9 Remove lottie animation 2024-12-18 09:36:30 -07:00
vadims 4be896ea3e Element Picker on Android (#26725)
Element Picker
https://github.com/brave/brave-browser/issues/33241
---------

Signed-off-by: Vadym Struts <vstruts@brave.com>
2024-12-16 22:54:44 +01:00
deeppandya dc5098f382 Remove unused resources 2024-12-03 01:04:52 -05:00
deeppandya 0dfdd680b6 Remove estimated earnings tooltip 2024-12-03 01:04:48 -05:00
deeppandya 874c3f61e4 Remove estimated earning text 2024-12-03 01:04:45 -05:00
deeppandya 29949072fd Remove default search engine from quick search engines settings 2024-11-22 17:06:47 -05:00
deeppandya a3d6c7f187 Update animations
Update text to address the changes
2024-11-19 16:00:20 -05:00
deeppandya f0e8d21417 Add animations for open yt in brave dialog
Remove unused files

Use TabUtils function
2024-11-19 16:00:16 -05:00
deeppandya 0622296fe8 Add open youtube in brave dialog on upgrade 2024-11-19 15:59:46 -05:00