* 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>
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.
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
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
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
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
* 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>
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
* 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.