Commit Graph
71915 Commits
Author SHA1 Message Date
Darnell Andries e0d7161f7a [CodeHealth] Use base::ElapsedTimer where applicable (#30918)
* Use `base::ElapsedTimer` where possible pt. 1

* Refactor `misc_metrics::UsageClock` to use `base::ElapsedTimer`

* Address CodeHealth PR feedback
2025-09-08 12:34:46 -07:00
Max Karolinskiy ed151d6866 Fixes crash in NTP image updater if --disable-component-update is used. (#31059) 2025-09-08 12:30:34 -07:00
Brian R. Bondy 720533d115 Fix WebAudio farbling test timing issue (#31079)
The test was checking document.title before the async WebAudio operations completed.
Changed it to await the promise resolution instead of an immediate title check.
2025-09-08 15:23:26 -04:00
aseren c19ccabbc7 [ads] Brave ads startup delay as a feature param (#31064)
The PR converts Brave ads startup delay to a feature param
with delay 3s by default.
2025-09-08 13:56:18 -05:00
Douglas Daniel b8d4b34f97 [AI Chat]: Fix Clear Conversation Button Style (#31057) 2025-09-08 13:24:35 -05:00
brave-builds 2d92f36b58 1.84.41 2025-09-08 16:05:35 +00: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
Kevin Smith 3ea50554df [NTP Next] Allow sanitized images to be lazy loaded (#31058) 2025-09-08 11:32:50 -04:00
Douglas Daniel 1bee0c2a90 [AI Chat]: Add Model Capability Labels (#30913) 2025-09-08 09:56:18 -05:00
Kyle Hickinson 6ade901284 [iOS] Replace Brave Talk deprecated event listener for MutationObserver (#30850)
`DOMNodeInserted` no longer functions correctly when compiled with the iOS 26 SDK, this replaces it with a MutationObserver
2025-09-08 10:49:42 -04:00
brave-builds b1c24707dc 1.84.40 2025-09-08 12:21:42 +00:00
brave-builds 4e2c70fc0c 1.84.39 2025-09-08 12:15:16 +00:00
samartnik dd0d6e9831 [Android] Changes condition for PIP script injection (#31065) 2025-09-08 07:07:22 -04:00
Pete Miller 793d7a32f8 Remove components/ai_chat from .prettierignore (#29293) 2025-09-08 02:37:43 -07:00
Pete Miller 093782124d Format components/ai_chat and components/ai_rewriter with prettier (#29292)
Does not remove entry from .prettierignore so that we can ignore this merged commit from blame, if we wish
2025-09-08 18:26:16 +09:00
Szilard Szaloki 5d21436331 [iOS] Replace dynamic nala.css with default theme (#31081) 2025-09-08 15:21:46 +09:00
Sangwoo Ko 65417952c4 [Brave Midnight] Show "Use darker theme" toggle unless it's light mode (#31049)
Show "Use darker theme" toggle unless it's light mode

According design requirement, we need to show "Use darker theme" toggle
unless it's light mode. This is because in light mode the toggle doesn't
have any effect.
2025-09-08 13:15:33 +09:00
Sangwoo Ko bf2d7a3144 Remove failing DCHECK in SidebarEditItemBubbleDelegateView::GetInitiallyFocusedView (#31053)
As this method is being called multiple times through the bubble's lifecycle,
and title_tf_ can be null on the first call, we don't need to DCHECK.
The title_tf_ will be valid before the second call.
2025-09-08 09:49:43 +09:00
brave-builds cd3e7d2024 1.84.38 2025-09-08 00:05:08 +00:00
brave-builds bccc21ff66 1.84.37 2025-09-07 21:23:51 +00:00
Kevin Smith 3a7ee7992a [NTP Next] Fix typo in WebUI string registration (#31074) 2025-09-08 08:23:42 +12:00
aseren 3f06fd4975 [ads] Change NTT counter reset timer to use wall clock timer (#31068) 2025-09-07 14:18:04 -05:00
brave-buildsandbrave-builds-ro 9ff252623d Roll perf profiles update (update-perf-profile-2025-09-07-16-16) (#31076)
* Update perf profile brave-typical-mac using v1.84.34
* Update perf profile brave-typical-android using v1.84.28
* Update perf profile chrome-typical-mac using v1.84.34
* Update perf profile chrome-typical-android using v1.84.28
* Update perf profile brave-typical-win using v1.84.32
* Update perf profile chrome-typical-win using v1.84.32

---------

Co-authored-by: brave-builds-ro <devops+robuilds@brave.com>
2025-09-07 22:07:13 +04:00
Brian R. Bondy fcdd35d780 Add Brave Browser Policy Provider for Brave Origin (#30984)
Add Brave Browser Policy Provider

Adds a Brave browser-level policy provider.
In future work, it will handle global scope policies in Brave Origin.
The provider integrates with Chromium's BrowserPolicyConnector to supply policy management for local state prefs.
2025-09-06 16:28:07 -04:00
brave-builds 9d7ca1afc5 1.84.36 2025-09-05 21:43:51 +00:00
Brian Clifton 4e197599db Cleanup to fix crash that happened on dereference (#31066)
Attempt to fix https://github.com/brave/brave-browser/issues/49003

Need to get binary and install/run locally to verify.
Unintentionally introduced crash in
https://github.com/brave/brave-core/pull/29750 when implementing review
feedback :(
2025-09-05 14:34:46 -07:00
brave-builds 401c50f307 1.84.35 2025-09-05 18:47:01 +00:00
StephenHeaps b00704eea5 fix(privacy): Save context after Shields Domain model mutations (#31061)
Call save on CoreData context when assigning new Domain settings in BraveShieldsTabHelper.
2025-09-06 03:16:04 +09:00
Jocelyn Liu 485a9d9889 [Leo] Add memory search box in memory UI (#31048) 2025-09-06 02:46:48 +09:00
Brian R. Bondy 22ef71463f Allow PDF files to be drag and dropped (#31015) 2025-09-05 13:17:29 -04:00
Kyle Hickinson 51beb08e05 [iOS] Replace Button in ScrollView workarounds on iOS 18+ (#30852)
This replaces the workaround that was used in BrowserMenu and Wallet targets to work correctly when compiled with the iOS 26 SDK.
2025-09-05 13:10:04 -04:00
brave-builds fb4f4e339e 1.84.34 2025-09-05 16:05:18 +00:00
Kevin Smith 98bc5a32e1 [NTP Next] Use a ResizeObserver to observe NTT safe area (#31040) 2025-09-05 11:46:44 -04:00
Sangwoo Ko b1bfc02a64 Split darker theme related source into a new target (#31010)
* Guard `ui/color` properly with `toolkit_views`

Currently, we're using `!is_android` or doesn't have proper guard at all.
This change puts `toolkit_views` to guard `ui/color` code correctly.

* Split darker_theme related code to a new target

* Address code review(reposition comment and code)

* Make darker_theme_unittest.cc
2025-09-06 00:31:19 +09:00
brave-builds 0394d44f52 1.84.33 2025-09-05 12:14:33 +00:00
brave-builds d9ec1766de 1.84.32 2025-09-05 12:05:26 +00:00
vadims 4802a1a667 [PSST] Added response handling for the policy script (#30971)
Handling the policy script response includes validating the response,
parsing it, and calling the delegate method to update the UI part with
new data.

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

---------

Signed-off-by: Vadym Struts <vstruts@brave.com>
2025-09-05 13:00:58 +02:00
Anton Paymyshev fb09a44ea0 Remove web_contents_ from BraveWalletProviderDelegateImpl (#30957) 2025-09-05 17:39:02 +09:00
Michael Herrmann f33bd4d3e8 Fix potential Sparkle/Omaha 4 race condition in system installs (#30974) 2025-09-05 06:16:56 +02:00
Agustín Ruiz fc6b6700af Optically adjust inner border radius of browsing window to be concentric (#31036)
Update brave_contents_view_util.h
2025-09-05 11:28:05 +09:00
Kevin Smith 3f3d324013 [NTP Next] Position clock on the left (#31039) 2025-09-04 21:01:23 -04:00
brave-builds f508591ee5 1.84.31 2025-09-05 00:04:50 +00:00
brave-builds d58e9d07b5 1.84.30 2025-09-04 23:10:49 +00:00
Jocelyn Liu 0b1e640fa9 [Leo] [BYOM] Add support of title generation (#30992)
This PR changes ConversationHandler::OnEngineCompletionComplete which is
called when an assistance response generation is completed. When we
received the completion of the first assistant response in the
conversation, for engines which require a client side title generation
(all custom models), after reporting the conversation history updates
from the agent response to UI, we keep request_in_progress_ to be true
and send a separate title generation request. Previous actions which
happen in the end of assistance completion will be performed after title
generation is done regardless of whether the title generation is
successful or not.

This PR also implements GenerateConversationTitle in OAI engine, which
mimics what we do on the server side for conversation API engines. We
first create messages with attach associated content up to 1200 chars
each. Then append a message for requesting title using the same title
prompt we have on server side, which would include first user turn's
text or the first assistant response's text (if there are uploaded
files) in the content. Lastly, append a message for seeding the
response and use </title> as the stop sequence. A successful title
response with title less than 100 chars will be used to update the
conversation title, otherwise it would just be dropped or failed
silently.
2025-09-04 15:35:48 -07:00
Terry Mancey ebddaa5034 do not count Ads in Rewards whose value is 0.0 BAT for connected users (#31019) 2025-09-04 16:57:33 -05:00
Jay Harris 729d67c237 [Settings]: Various fixes and improvements for search and SettingsPlugins (#31006)
* [Settings]: Fix extensions search

* [Settings]: Remove fonts page from appearance

* [Settings]: Fix overlap between sync/extensions subpages when searching 'new'

* [Settings]: Fix captionsRoute not found

* [Settings]: Add system-page-index

* [Settings]: Fix web3 alignment
2025-09-05 09:14:38 +12:00
Brian R. Bondy 0d7d9b4f71 Fix React hooks violation in attachment upload items (#31013)
Sanitize images for drag and drop and clipboard (#30793)
2025-09-04 13:04:10 -04:00
brave-builds 6255c849d7 1.84.29 2025-09-04 16:04:56 +00:00
Kyle Hickinson 994e1e891b [iOS] Remove usage of JS unzipper (#30997)
This change replaces the JS unzipper which was removed in Chromium 139 (https://source.chromium.org/chromium/chromium/src/+/9092948672e0877e8e08687b65979ad55f392541) with the Rust unzipper.

- The Safari data import still requires access to the file structure so for the time being it will use the in-process C++ unzipper
- Passbook bundle unzipping now uses the Rust unzipper
2025-09-04 10:28:20 -04:00
Nuo Xu c7cbae0638 Update Leo checkbox & progressRing components to support WebKit (#31014) 2025-09-04 15:04:47 +01:00