Commit Graph
2279 Commits
Author SHA1 Message Date
vadims 1977d01023 ElementPicket localization (#28493)
ElementPicket localization
(https://github.com/brave/brave-browser/issues/45182)
---------

Signed-off-by: Vadym Struts <vstruts@brave.com>
2025-04-09 18:47:58 +02:00
Douglas DanielandJocelyn Liu e7cec19db2 Implement First Time Use UI for Tab Focus (#28363)
* Enable Tab Focus UI

* Backend change to support first time use UI for tab focus

* Fix Illustration Resource

* npm run format

* Update showFRE related logics in both backend and frontend

* FE Review Changes

* Update API method name to SetTabFocusEnabled

---------

Co-authored-by: Jocelyn Liu <yrliou@gmail.com>
2025-04-08 17:44:07 -05:00
Kamil Jozwiak ee7bc0ee12 Merge pull request #28523 from brave/maxk-fix-danish-l10n
Fixes usage of incognito terminology in Danish l10n.
2025-04-07 18:22:21 -04:00
Kamil Jozwiak 98f977ba29 Merge pull request #28450 from brave/maxk-1.77.x-release-l10n-II
Updated l10n for 1.77.x release. Part II.
2025-04-01 20:41:58 -04:00
Kamil Jozwiak add3eacccb Merge pull request #28371 from brave/maxk-1.77.x-release-l10n
Updated l10n for 1.77.x release.
2025-03-31 17:02:18 -04:00
Jocelyn Liu c6ba6933df Implement tab focus feature
co-author on the frontend: @douglashdaniel

- Implement GetSuggestedTopics, DedupeTopics, GetFocusTabs in engine consumer
  and conversation api client for tab organization feature
- Implement Brave's own tab organization UI by hooking into where Chromium's
  tab organization UI is located by overriding auto_tab_groups_page to our own
  implementation.
- Chromium's TabSearchPageHandler and TabSearchUI is overriden to include what we
  need for our own tab organization feature using Leo.
- Add a pref toggle in Leo settings page for user to enable/disable tab
  organization UI.
- Add a feature flag for tab organization feature.
2025-03-25 13:24:57 -07:00
Max Karolinskiy 7045e71ebc [cr135 follow up][Settings] Restores theme link behavior. (#28268)
Clicking on Theme link will open web store
Sublabel will say "Open Web Store" when no custom theme set.
2025-03-24 21:31:50 -07:00
Jay Harris d8e73170c8 [Omnibox]: Hide OnDeviceHeadProvider suggestions when top suggestion are disabled (#28094)
* [Omnibox]: Hide OnDeviceHeadProvider suggestions when top suggestions are disabled

* Setup OnDeviceHeadModel
2025-03-24 09:33:38 +01:00
Darnell Andries bd4b18fcb5 Merge pull request #28227 from brave/debug-page-enable
Re-enable internal debug pages
2025-03-21 19:04:50 -07:00
Darnell Andries 2ae22fd2f4 Re-enable internal debug pages 2025-03-21 17:14:43 -07:00
Claudio DeSouza 3404417694 Updated strings for Chromium 135.0.7049.28. 2025-03-21 14:57:22 -04:00
Max Karolinskiy 60b1bb137b [cr135] enable_glic = false.
Exclude Glic from building.

Also, cleans up glic related things from our code.
2025-03-18 20:02:25 -04:00
Max Karolinskiy eeeb54ea00 [cr135] Disables kExtensionManifestV2Disabled feature.
Chromium change:

https://source.chromium.org/chromium/chromium/src/+/400a8f16a7e49a5de696a94405aad97f3e649570

commit 400a8f16a7e49a5de696a94405aad97f3e649570
Author: Devlin Cronin <rdevlin.cronin@chromium.org>
Date:   Tue Feb 18 10:49:00 2025 -0800

    [Extensions MV2] Enable kExtensionManifestV2Disabled by default

    Chrome has announced that MV2 extensions will gradually no longer be
    supported in the browser. See more information at
    https://developer.chrome.com/blog/resuming-the-transition-to-mv3.

    This enables the kExtensionManifestV2Disabled base::Feature by default.
    This has been gradually rolled out to existing user populations. Users
    may still re-enable MV2 extensions during this time.

    Bug: 337191307
2025-03-18 20:02:24 -04:00
Claudio DeSouza c5461fc034 Reapply "Don't disable toolbar pinning"
This reverts commit e4011ef1d7.
2025-03-18 20:02:24 -04:00
Claudio DeSouza 187e2f0f62 [cr135] kSyncEnableBookmarksInTransportMode moved to switches
This feature flag is now under a new path and namespace.

Chromium change:
https://chromium.googlesource.com/chromium/src/+/d5c1359a8b21630a745cb2f4fb8776904ea2e82a

commit d5c1359a8b21630a745cb2f4fb8776904ea2e82a
Author: Hiroki Nakagawa <nhiroki@chromium.org>
Date:   Fri Feb 28 01:34:34 2025 -0800

    Prerender: Remove kSupportSearchSuggestionForPrerender2 for cleanup

    This flag has been enabled by default since M131
    (https://crrev.com/c/5790323). Also, the default search engine can
    configure this feature without the feature flag.

    Bug: 360158401
2025-03-18 20:02:20 -04:00
Claudio DeSouza c62d219ae5 [cr135] kSupportSearchSuggestionForPrerender2 deleted
This feature is part of the broader `Prerender2` functionality that is
disabled in brave.

Chromium change:
https://chromium.googlesource.com/chromium/src/+/d5c1359a8b21630a745cb2f4fb8776904ea2e82a

commit d5c1359a8b21630a745cb2f4fb8776904ea2e82a
Author: Hiroki Nakagawa <nhiroki@chromium.org>
Date:   Fri Feb 28 01:34:34 2025 -0800

    Prerender: Remove kSupportSearchSuggestionForPrerender2 for cleanup

    This flag has been enabled by default since M131
    (https://crrev.com/c/5790323). Also, the default search engine can
    configure this feature without the feature flag.

    Bug: 360158401
2025-03-18 20:02:20 -04:00
Claudio DeSouza f04c70ab03 [cr135] dips renamed to btm in header paths
Chromium change:
https://chromium.googlesource.com/chromium/src/+/a9bdd13cde6f7a4bca9768d85b7b4dabf10880bb

commit a9bdd13cde6f7a4bca9768d85b7b4dabf10880bb
Author: Ryan Tarpine <rtarpine@chromium.org>
Date:   Fri Feb 28 12:29:34 2025 -0800

    [BTM] Rename files/directories prefixed with "dips" to "btm".

    Fixed: 399868999
2025-03-18 20:02:20 -04:00
Claudio DeSouza 4eb08cbb42 [cr135] Permission policy feature flags moved under //service
This is a trend with permission polices moving out of blink. This
particular change only affects feature flags.

Chromium change:
https://chromium.googlesource.com/chromium/src/+/f42e6bd64cdb0afed53cbec711f7b9249353c87d

commit f42e6bd64cdb0afed53cbec711f7b9249353c87d
Author: Sandor Major <sandormajor@chromium.org>
Date:   Thu Feb 27 16:12:04 2025 -0800

    Move permissions_policy.cc-used feature flags to the Network service

    Permissions Policy code is being moved to the Network service so these
    flags need to move as well.

    Bug: 382291442
2025-03-18 20:02:19 -04:00
Max Karolinskiy 228ea5d07b [cr135] Disables kSyncAutofillLoyaltyCard feature.
Chromium change:

https://source.chromium.org/chromium/chromium/src/+/fb054facdfacd33a269b9dca975b469dec6742ec

commit fb054facdfacd33a269b9dca975b469dec6742ec
Author: Piotr Wrótniak <piotrwrotniak@google.com>
Date:   Tue Feb 25 02:26:14 2025 -0800

    Adds AUTOFILL_LOYALTY_CARD data type to sync client side.

    This data type is added as the 'Payments' user selectable type.

    This CL is a first CL of many following 'Sync Integration Checklist'.

    Bug: 393119606
2025-03-18 20:02:17 -04:00
Claudio DeSouza ce9743edde [cr135] kBiddingAndScoringDebugReportingAPI enabled default
Chromium change:
https://chromium.googlesource.com/chromium/src/+/9bafc6332a47845a03f184ccc27bc8f4eeca2d68

commit 9bafc6332a47845a03f184ccc27bc8f4eeca2d68
Author: Qingxin Wu <qingxinwu@google.com>
Date:   Tue Feb 25 07:33:46 2025 -0800

    Remove flag BiddingAndScoringDebugReportingAPI.

    It has been enabled since https://crrev.com/c/5041672 (Nov 2023). And
    it's no longer needed since there's no plan of disabling it anymore.

    Change-Id: I3058f39cdd3cd3f2a8aa7090629c30a19efa59c0
2025-03-18 20:02:16 -04:00
Max Karolinskiy 52e13add87 [cr135] Disables kSideBySide feature.
This is upstream's implementation of split view.
2025-03-18 20:02:16 -04:00
Claudio DeSouza 3076041043 [cr135] link_capturing:features deleted
The removal has no effect on the existing code.

Chromium change:
https://chromium.googlesource.com/chromium/src/+/aa37cd96dff3f1840a9eb108c5a24925b73084c3

commit aa37cd96dff3f1840a9eb108c5a24925b73084c3
Author: msiem <msiem@chromium.org>
Date:   Wed Feb 19 09:57:00 2025 -0800

    [PWA/NavCapture]: Move link_capturing_features to /web_applications

    This CL is the final step in moving link_capturing_features into the
    web_applications directory.

    This CL deletes c/b/a/link_capturing/link_capturing_features.h from
    BUILD files.

    Bug: 396128175
2025-03-18 20:02:11 -04:00
Claudio DeSouza 0a4e3299e4 [cr135] output_all_resource_defines removed from grds
This attribute has been deleted from grit, and isn't recognised anymore.

Chromium change:
https://chromium.googlesource.com/chromium/src/+/96c98d3ae26486007669c1cd00e4da58c85659b3

commit 96c98d3ae26486007669c1cd00e4da58c85659b3
Author: dpapad <dpapad@chromium.org>
Date:   Tue Feb 4 16:23:24 2025 -0800

    Grit: Remove output_all_resource_defines from list of valid attributes.

    All references to this attribute have been removed in previous CLs, both
    from public and internal repositories.

    Fixed: 389466679
2025-03-18 20:02:00 -04:00
Claudio DeSouza 57f9e87dfa Updated strings for Chromium 135.0.7049.17. 2025-03-18 20:01:59 -04:00
Jay Harris 113f37f160 [Settings]: Override toolbar pinning icons (#28122)
* [Settings]: Override toolbar pinning icons

* Override extra icons
2025-03-18 09:47:38 +11:00
Sampson 9f67566b6c Enables AblateWarmUp Feature (#28159)
* Enables AblateWarmUp Feature

Resolves https://github.com/brave/brave-browser/issues/44689
2025-03-16 14:31:05 -05:00
TheAresjej 800c1b2981 🚀・(UI) Update Branding (#28037)
* Update Branding (#44531)

* +Corrections

* +DarkMode Fix
2025-03-13 16:25:44 -07:00
0c0b7250d6 AIChat image attachment support (#27787)
* feat(ai chat): Attachment Button Menu

* Add select file dialog and pass image data to UI

* Fix button menu click

* Pass filename and filesize

* Add image preview

* Update button menu styles

* Sanitize the input image and resize it to 1024x768

* Memoize dataUrl to prevent rerender

* Add ConversationHandler::UploadedContentDelegate

* Send uploaded images along with human message

* Wire up Remove Image to the Front-end

* Set upload content delegate by conversation uuid

* Add UploadedImage to ConversationTurn and database

* Automatically switching to vision support model

* Scale the image to 1024x768

* Fix existing unit tests

* Add engine consumer oai image support for custom model and use uploaded images from ConversationTurn directly

* Clear staging images after submitting into history

* Display image in chat history

* Remove Previous Image on Second Upload

* Disable Attachment Button if Image Is Already In Conversation

* BYOM vision support

* AIChatDatabaseTest.UploadImage

* Add ConversationHandlerUnitTest.UploadImage

* Fixes Android build, adds Android permissions requests, fixes read file for Android URI

* Read from base::File directly for all platforms to handle content uri on
Android.
Add UploadFileHelperTest and fix various bugs.

* Patch webui resources id range after rebasing

* Fix story-book and presubmit

* Fix Windows and iOS build

* Filename Ellipses

* Cleanup EngineConsumer and duplicate test data

* Cache staging images in typescript ConversationContext and make UploadFileHelper stateless

* Generalize uploaded file concept for easier future extensibility
Also introduce `features::kAIModelsVisionDefaultKey` and
`pendingMessageImage` renaming

* Display the image size after encoding and resizing instead of original one

* Always send image belongs to the entry

---------

Co-authored-by: Douglas Daniel <douglashdaniel@gmail.com>
Co-authored-by: Serg <serg.zhukovsky@gmail.com>
2025-03-08 01:00:35 +01:00
Emerick Rogul e4011ef1d7 Revert "Don't disable toolbar pinning"
This reverts commit e3bbbe4036.
2025-03-06 21:21:38 -05:00
Max KarolinskiyandKamil Jozwiak d32fa3eb12 Updated l10n for 1.76.x release (lowered to master). (#27948)
Merge pull request #27921 from brave/maxk-1.76.x-release-l10n

Updated l10n for 1.76.x release.

Co-authored-by: Kamil Jozwiak <kamiljoz@gmail.com>
2025-03-04 15:13:40 -05:00
Emerick Rogul 03dfb707f1 Fix safe browsing standard protection description 2025-03-03 15:54:50 -05:00
Emerick Rogul ba84f5a3b5 Hide default browser app menu item 2025-02-28 10:11:05 -05:00
Shivan Kaul Sahib d9d34514d5 Re-enable ScrollToText feature (#27754) 2025-02-27 12:39:34 -08:00
Claudio DeSouza 435c879bd4 Updated strings for Chromium 134.0.6998.39. 2025-02-26 19:48:56 +00:00
Anton Paymyshev 42b8dfd9e7 Cardano accounts (#27772) 2025-02-26 10:12:00 +07:00
Emerick Rogul dbac6d7507 Disable card benefits features 2025-02-24 11:28:38 -05:00
Agustín Ruiz e6907f68c2 Add save_cvc image for 1x and 2x (#27743)
* Add save_cvc image for 1x and 2x

* add dark mode variants
2025-02-23 18:23:44 -03:00
Claudio DeSouza adc29fb0fb Updated strings for Chromium 134.0.6998.24. 2025-02-20 02:10:01 +00:00
Matt McAlister 0f4c61dd30 Adds Learn more link to BYOM Settings (#27561)
* Adds `Learn more` link to BYOM Settings

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

* removes duplicate reference

* Adds missing Leo dependency

* Revert unintended Leo package changes
2025-02-19 13:59:39 -07:00
Emerick Rogul c0bdcd9a19 Disable/enable features flagged by privacy/security team 2025-02-18 12:47:01 +00:00
Claudio DeSouza 49b125ff77 Updated strings for Chromium 134.0.6998.15. 2025-02-18 12:47:00 +00:00
Claudio DeSouza 0e7743e1b3 [cr134] kDIPS renamed to kBtm
This is a simple renaming of the constant.

Chromium change:
https://chromium.googlesource.com/chromium/src/+/07610a642bf1546525f671bf56d4aa9def38858c

commit 07610a642bf1546525f671bf56d4aa9def38858c
Author: Ryan Tarpine <rtarpine@chromium.org>
Date:   Thu Jan 16 10:09:29 2025 -0800

    Reland "[DIPS] Rename DIPS prefix to Btm."

    This reverts commit f8849ddbca72aa0b830b17fb5af3f7b3ac0f3385.

    Reason for revert: Fixed bad merge with crrev.com/c/6174062

    Original change's description:
    > Revert "[DIPS] Rename DIPS prefix to Btm."
    >
    > This reverts commit 4d4b33ce5cf2e18c6f2b2a120b2a8064db75c351.
    >
    > Reason for revert: Tree closure for compile failure
    >
    > Original change's description:
    > > [DIPS] Rename DIPS prefix to Btm.
    > >
    > > This makes it match the external name (Bounce Tracking Mitigations) and
    > > comply with the C++ style guide, which says "prefer to capitalize
    > > abbreviations as single words".
    > >
    > > A followup CL will rename filename prefixes from dips_ to btm_ (and the
    > > directories from dips/ to btm/).
    > >
    > > Bug: 388538934
    > > Change-Id: I43d3f1c24632919ac8985aea5b7f2d945d2a9628
    > > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6172859
    > > Owners-Override: Avi Drissman <avi@chromium.org>
    > > Commit-Queue: Ryan Tarpine <rtarpine@chromium.org>
    > > Reviewed-by: Avi Drissman <avi@chromium.org>
    > > Cr-Commit-Position: refs/heads/main@{#1406975}
    >
    > Bug: 388538934
    > Change-Id: Ic86e19c9c3a23d7dcb014bab5bc6bc13419a0ae0
    > No-Presubmit: true
    > No-Tree-Checks: true
    > No-Try: true
    > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6173773
    > Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
    > Auto-Submit: Joey Arhar <jarhar@chromium.org>
    > Owners-Override: Joey Arhar <jarhar@google.com>
    > Commit-Queue: Joey Arhar <jarhar@chromium.org>
    > Cr-Commit-Position: refs/heads/main@{#1406979}

    Bug: 388538934
2025-02-18 12:46:55 +00:00
Claudio DeSouza dd23ff2351 [cr134] kReduceCookieIPCs deleted
This feature was being disabled in brave, but now it is deleted entirely
from upstream.

Chromium change:
https://chromium.googlesource.com/chromium/src/+/866b3f99d4dc1c06262441ed33ea3c7a4bce3b47

commit 866b3f99d4dc1c06262441ed33ea3c7a4bce3b47
Author: Gabriel Charette <gab@chromium.org>
Date:   Thu Jan 9 19:51:15 2025 -0800

    Further cleanup stale ReduceCookieIPCs feature

    The feature has already been cleaned up but this was left behind.
    I think it's safe to remove though I'm not familiar with the policy
    for runtime_enabled_features.json5

    Bug: 385653731
    Fixed: 40061885
2025-02-18 12:46:53 +00:00
Emerick Rogul e3bbbe4036 Don't disable toolbar pinning 2025-02-13 06:33:52 -05:00
Max Karolinskiy 11a5860dbd Updated l10n for 1.75.x release. Part II. (#27603) (lowered from 1.75.x). (#27607)
Updated l10n for 1.75.x release. Part II. (#27603)
2025-02-10 21:51:33 -05:00
Pavel Beloborodov 423478f88b Enable on-device suggestions model for all search providers. (#27526)
* Enable on-device suggestions model for all search providers.
* Updated title and description in the settings.
2025-02-10 06:20:27 -08:00
Max Karolinskiy 85e3ec5e09 Adds new locales to l10n. (#27535)
* Allow additional UI locales.

Remove the following locales from Chromium's exclusion list:

sq (Albanian)
az (Azeri)
my (Burmese)
ka (Georgian)
km (Khmer)
mk (Macedonian)
mn (Mongolian)
si (Sinhala)
sr-Latn (Serbian Latin)
uz (Uzbek)

* Adds locale_settings_*.grd files to l10n rebase scripts.

These files on Linux/Win/Mac are missing <output> elements for languages
we now support (az', 'ka', 'km', 'mk', 'mn', 'my', 'si', 'sq',
'sr-Latn', 'uz'). We use rebase scripts to insert them and add the
resulting .grd files under brave.

* Updates Brave .grd and .xtb files for added languages.
2025-02-07 11:39:00 -08:00
Aleksei Khoroshilov 4bcaeca68d Always display download URL on the download page. (#27413) 2025-02-06 12:31:59 +07:00
Max Karolinskiy bfbde7a9a8 Disables "control media" and "manage passwords" help bubbles. (#27470) 2025-02-05 13:24:59 -08:00
Max Karolinskiy ccd83aa758 Updated l10n for 1.75.x release. (master) (#27500) (#27511)
Updated l10n for 1.75.x release. (#27500)
2025-02-05 11:30:37 -08:00