Commit Graph
70232 Commits
Author SHA1 Message Date
samartnik e45eddf0fd [Android] Fix for custom tab menu position (#29697) 2025-06-23 12:40:44 -04:00
Anton Paymyshev 3dbf994e0f Hide gas controls for Cardano (#29690) 2025-06-23 23:11:00 +07:00
brave-builds ddd32f4137 1.82.13 2025-06-23 16:02:50 +00:00
Kyle Hickinson 32c3a08591 [iOS] Purge restoration data the first launch using Chromium web views (#29639)
This change ensures that the first app launch with the Chromium web views feature flag enabled will invalidate tab session restoration data to ensure that upgrades dont restore invalid data
2025-06-23 17:46:26 +02:00
Szilard Szaloki 95ea5b624c Merge pull request #29565 from brave/szilard/46838-brave-account-ui-ios
Cross-platform Brave Account UI (desktop + Android + iOS)
2025-06-23 08:58:38 -06:00
Sangwoo Ko 3c21f78a13 [Customize Chrome Panel] Hide unsupported buttons in customize toolbar panel (#29662)
* Hide unsupported buttons in customize toolbar panel

Overrides customize_toolbar_handler.cc to hide unsupported buttons in
the customize toolbar panel. Especially, this patch overrides
`CustomizeToolbarHandler::ListActions()` to filter out buttons:
  * Payment Methods
  * Addresses and More
  * Translate
  * Reading mode

Resolves https://github.com/brave/brave-browser/issues/44791
2025-06-23 16:55:48 +02:00
Kevin Smith 68145bf06e [Rewards] Handle engine pref access when disconnected on startup (#29667) 2025-06-23 10:39:47 -04:00
Terry Mancey c9dbac0d22 [CodeHealth] Remove uses of banned std::to_string (#29669)
This PR replaces the banned std::to_string with its //base counterparts.
https://chromium.googlesource.com/chromium/src/+/main/styleguide/c++/c++-features.md#std_sto_i_l_ul_ll_ull_f_d_ld_to_string_banned
2025-06-23 10:38:09 -04:00
vadims 7d6fe1c65e Improve Block Elements design to allow blocking elements behind picker (#29333)
Improve Block Elements design to allow blocking elements behind picker.

Added an ability to minimize the Element picker's card to resolve the
situation, when it pops up above the target element, which one the user
wants to block.
Added a new design for the Element picker card, which is Nala styled,
to follow the design line.

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

---------

Signed-off-by: Vadym Struts <vstruts@brave.com>
2025-06-23 15:36:55 +02:00
brave-builds 9a9c5fe6ce 1.82.12 2025-06-23 12:08:02 +00:00
Anton Paymyshev 6fe388270a Fix implicit deps on components/sync (#29691) 2025-06-23 19:03:15 +07:00
brave-builds 7d86badd7f 1.82.11 2025-06-23 12:02:58 +00:00
Aleksei Khoroshilov b6300e3713 Add few guards to top frame origin detection in shields. (#29630) 2025-06-23 18:21:12 +07:00
Anton Paymyshev 65e47e78f8 Fix implicit deps on components/security_interstitials (#29686) 2025-06-23 18:01:28 +07:00
Mikhail 5726c3892c Re-enable IGN_warm story (#29653) 2025-06-23 18:00:01 +07:00
brave-builds 18579e8edc Roll perf profiles update (update-perf-profile-2025-06-22-16-16) (#29678)
* Update perf profile brave-typical-android using v1.82.4
* Update perf profile brave-typical-win using v1.82.7
* Update perf profile chrome-typical-android using v1.82.4
* Update perf profile chrome-typical-win using v1.82.7
* Update perf profile brave-typical-mac using v1.82.9
* Update perf profile chrome-typical-mac using v1.82.9
2025-06-23 14:37:12 +04:00
Anton Paymyshev acd1a82ad1 Fix implicit deps on components/content_settings (#29668) 2025-06-23 15:31:11 +07:00
Pavel Beloborodov d3b0d5682f BRAVE_COOKIES filtered out from defaults restoration. (#29648) 2025-06-23 12:29:11 +07:00
Pavel Beloborodov 8732f1f5c7 Added 'Brave-hosted' tag for supported MV2 extensions. (#29598)
* Added 'Brave-hosted' mark for mv2 extensions.
* Fixed guessConfig script for Windows.
2025-06-23 12:28:17 +07:00
brave-builds 1fb8c20f4e 1.82.10 2025-06-23 00:04:03 +00:00
Jay Harris 1d37fb3896 [AI Chat]: Overhaul attachments display (#28955)
This PR overhauls how attachments are displayed, so they show up in the input box, rather than in the conversation.
2025-06-23 11:03:53 +12:00
Szilard Szaloki 86ffccce01 [iOS] Brave Account UI 2025-06-22 09:56:23 -06:00
Szilard Szaloki 2fdd8ab59e Merge pull request #29549 from brave/szilard/46800-cross-platform-brave-account-ui
Cross-platform Brave Account UI (desktop + Android)
2025-06-21 22:25:00 -06:00
Szilard Szaloki ac93cd24f8 Cross-platform brave://account-dialogs 2025-06-21 21:21:50 -06:00
cdesouza-chromium e4c1858f7b [canary] Fix B🚀 test failures on Windows (#29675)
This PR corrects all the test failures on Windows. Most of them are
related to file path separator, and similar things. One failure in
particular had to do with `subprocess.check_output` dropping `\r` from a
string when enconding to utf-8, which may be something to follow up on
plaster, to make sure saved patches match exactly what was produced by
the terminal.

It is not clear why tests have not been running for Windows all along,
however this is soon to change, as it is clear the windows run is taking
place with https://github.com/brave/brave-core/pull/29592.

Resolves https://github.com/brave/brave-browser/issues/47027
2025-06-21 20:17:52 +01:00
Serg 4981161b3e Android infobars are rendered incorrectly with gesture navigation (#29671)
Ads info bar cut at the bottom when gesture navigation is enabled on
device. Adds extra padding in such cases.
Resolves: https://github.com/brave/brave-browser/issues/46513
2025-06-20 20:16:23 -04:00
Simon Hong a4b9cdbda1 Prevent showing tab modal dialog from inactive split tab (#29624)
Resolves brave/brave-browser#46871

During the launching tab modal dialog(ex, js alert), browser prevent
launching modal dailog from inactive tab.
When checkcing inactive tab, mostly tab's web contents visibility is checked.
So, if it not HIDDEN, dialog is shown. This works well except split view.
In split view, inactive split tab's web contents visibility is not HIDDEN.
Because of that, tab modal is shown from inactive split tab.
To prevent this, TabModalDialogManager/WebContentsModalDialogManager
should check tab's activation state also.

TEST=SplitViewWithTabDialogBrowserTest.InactiveSplitTabTest
2025-06-21 08:48:54 +09:00
Pete Miller 18c53e8e83 AI Chat Tool Use Conversation Events (#29643)
A Tool is a feature the LLM can "use" by sending a tool request with some input parameters specified.
This will eventually get added to the events of a conversation history entry (via `ToolUseEvent` added in this PR).
We will then provide a response to the tool in the ToolUseEvent's output field (not implemented in this PR).
The LLM will be called again providing an additional role=Tool conversation history entry (not implemented in this PR).

We put tool use requests and responses in the same object (`ToolUseEvent`) for ease of access and UI rendering. Otherwise there would be a lot of cases of searching history to find a relevant tool use response for a given tool use request if we kept them in assistant and user (or tool) `ConversationTurn` items.

In order to keep this submission size as small as possible, it only includes what's necessary to define the mojom structs, so that other PRs that use them can be created in parallel.

Subsequent submissions will be:
- Tool base class
- Conversation API support for sending defined tools, tool use requests, and tool use responses
- ConversationHandler getting an agentic loop to perform the usage of the Tools and send the responses back to the engine
- UI representation for tool uses
- Tool implementations
2025-06-20 11:33:08 -07:00
Terry Mancey c394cf6f46 [ads] Remove brave_l10n country code preference (#29666)
This PR removes the brave_l10n country code preference, which was
originally added to support new tab takeover (sponsored images) for
Rewards users based on GeoIP. It’s no longer needed, as those ads are
now delivered using variations GeoIP. This also resolves a long-standing
issue where other parts of Brave incorrectly used GetCountryCode,
receiving the GeoIP country instead of the device region.
2025-06-20 18:30:42 +02:00
brave-builds 9708453f79 1.82.9 2025-06-20 16:10:08 +00:00
Anton Paymyshev f763b343ab Fix implicit deps on components/keyed_service (#29664) 2025-06-20 21:38:00 +07:00
Terry Mancey 97529385f2 [ads] Remove dead NotifyLocaleDidChange code (#29657)
NotifyLocaleDidChange isn’t required because users are expected to
restart the browser if they change their device’s region.
2025-06-20 15:43:27 +02:00
Terry Mancey 6cd085aabd [ads] Remove dead resources code (#29656)
[ads] Remove dead resources code

We now use the variations service to provide Geo IP for anti-targeting,
conversions, and purchase intent. Previously, we used the device region,
so we can remove the listener for locale changes. We already handle
registering, unregistering, and notifying listeners of changes to the
CRX component.
2025-06-20 07:23:53 -05:00
brave-builds fe6ff7a6fe 1.82.8 2025-06-20 12:08:10 +00:00
brave-builds da476533f7 1.82.7 2025-06-20 12:02:58 +00:00
Anton Paymyshev 52edb92a4f Attempt to fix wallet's eip 6965 announcer crash (#29660) 2025-06-20 18:33:01 +07:00
Mihai PLESA 25a49311fd Merge pull request #29663 from brave/gha/docs-labeler-v5-13733
upgrade action/labeler to v5
2025-06-20 12:29:28 +01:00
Anton Paymyshev 5b24e94030 Fix implicit deps on components/omnibox (#29661) 2025-06-20 17:23:21 +07:00
Gaetano Checinski 15df9640b8 upgrade action/labeler to v5 2025-06-20 10:54:49 +01:00
Anton Paymyshev 18188bafcd Fix implicit deps on components/prefs (#29649) 2025-06-20 14:33:58 +07:00
brave-builds 55d22907db 1.82.6 2025-06-20 00:03:07 +00:00
Terry Mancey e917b2935a [ads] Fetch anti-targeting, conversion and purchase intent CRX component based on GeoIP location (#29654)
Since regional capabilities are still being actively updated, we need to
monitor those changes closely. To reduce risk, this change uses the
variations service to provide the Geo IP for anti-targeting, conversions
and purchase intent, bringing these signals in line with how ads are
served based on Geo IP. Previously, we used the device region, which
isn’t standard practice for advertisers.
2025-06-19 23:44:50 +02:00
brave-builds 2179d2903a 1.82.5 2025-06-19 16:03:02 +00:00
brave-builds 57298341ec 1.82.4 2025-06-19 12:07:58 +00:00
brave-builds 28d62ba2c1 1.82.3 2025-06-19 12:02:58 +00:00
Aleksei Khoroshilov 984a7275c6 Add Containers Settings section. (#29230)
* Add Containers Settings section.

* Update strings.

* Add isRemoving property to handle delete dialog disabling.

* Migrate to CrLitElement.

* Use templated i18n in html.

* Merge AddContainer and UpdateContainer.

* Few improvements to web component impl.

* Use sources.gni for additional chromium_src deps.

* Add todo.

* Rename containers setter/getter to/from prefs.

* Clarify few things in containers removal/update.

* Remove webui mention from mojo interfaces.

* Rename SettingsPageHandler -> ContainersSettingsHandler.

* Move simulated async data removal to delegate.

* Replace sync ContainerSettingsHandlerFactory with a BindUI call.

* Fix isRemoving_ handling.

* Migrate to generated webui strings in TS.

* Rename BraveContainers feature to Containers.

* Close dialogs when edited/deleted container disappeared from prefs.

* Disallow container name constructed only from spaces/tabs.

* Add CRUD error codes, remove no-op delegate and dialog disabling.

* Add logs on prefs read issues.

* Remove IDSToName in favor of generating a string on TS side.

* Add feature checks in few places.

* Fill DEPS explicitly.
2025-06-19 17:29:19 +07:00
Simon Hong a629afac27 Prevent crash from VerticalTabSearchButton duing the destruction (#29645)
Resolves https://github.com/brave/brave-browser/issues/46066

When vertical tab strip mode is enabled, the tab strip could be
reattached to the original parent during destruction. In this case, theme
changing could occur. But unfortunately, some of native widget's
implementation doesn't check the validity of pointer, which causes crash.
e.g. DesktopNativeWidgetAura's many methods desktop_tree_host without checking it's validity.
In order to avoid accessing invalid pointer, filters here.
TabStripControlButton::UpdateBackground() tries to access theme provider
by calling BrowserTabStripController::GetCustomBackgroundId() and
crash could happen there.
2025-06-19 17:17:59 +09:00
Anton Paymyshev bcf34bb280 Fix implicit deps on components/sync_preferences (#29626) 2025-06-19 13:26:31 +07:00
Anton Paymyshev abf3c0a69f Cleanup wallet tests GN (#29603) 2025-06-19 13:26:11 +07:00
Nuo Xu 363381f855 feat(iOS): Include playlist search result inside search screen (#29336) 2025-06-18 20:50:12 -07:00