Commit Graph
68953 Commits
Author SHA1 Message Date
cdesouza-chromium 4d2fe2ded4 [CodeHealth] Adding //brave:all (#28719)
This target will serve as a reference of what has to be buildable at any
point for any given plastform. This should include Brave itself, tests,
and tools.

```sh
npm run build -- --target=brave:all
```

Resolves https://github.com/brave/brave-browser/issues/45516
2025-04-18 21:21:45 +01:00
Brian Clifton 24bf1c5097 [uplift script] Add missing reference (#28739)
Add missing reference

Fixes https://github.com/brave/brave-browser/issues/45572
2025-04-18 11:54:35 -07:00
Brian Clifton b5e8609f5d Added new code-owners group for NTP (#28738) 2025-04-18 11:36:03 -07:00
Kevin Smith 83e523dda6 [NTP Next] Give widget container zero height when no widgets are displayed (#28729) 2025-04-18 14:04:39 -04:00
brave-builds 6fe190d991 1.79.79 2025-04-18 16:09:47 +00:00
StephenHeaps 809a64be22 [iOS] Update 'Block all Cookies' toggle to visible by default, update copy (#28686)
Update block all cookies toggle feature flag to default to enabled for iOS. Move 'Block All Cookies' toggle to 'Other Privacy Settings', update copy.
2025-04-18 10:25:35 -04:00
Emerick Rogul 5b8e1054bf Merge pull request #28725 from brave/emerick-hide-image-labels-accessibility-toggle
Hide the image labels toggle button in brave://settings/accessibility
2025-04-18 09:55:22 -04:00
Mikhail 01bf4ff2d7 Disable loading.desktop.brave/IGN_warm for chromium (#28732)
For https://github.com/brave/brave-browser/issues/45551
2025-04-18 17:15:59 +04:00
brave-builds d01eb5ece8 1.79.78 2025-04-18 12:07:41 +00:00
brave-builds 7199616c86 1.79.77 2025-04-18 12:02:56 +00:00
AlexeyBarabashandArtem Samoilenko 29a7bfd427 [Android] Wait for native initialization when creating bottom strip (#28728)
* [cr137] [Android] Wait for native initialization when creating bottom strip

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

[Tab Group UI] Wait for native initialization when creating bottom strip

Wait for native initialization to complete before initializing the
bottom tab strip. Otherwise it will try to initialize pre-native and
crash. This appears to have regressed in M134/M135 likely due to some
lifecycle change for the BottomControlsCoordinator.

Fixed: 407305088

* Suppressed warning around ContextUtils.getAppSharedPreferences()

---------

Co-authored-by: Artem Samoilenko <artem@brave.com>
2025-04-18 13:50:22 +03:00
AlexeyBarabash af6a913380 Fixed some NullAway Java presubmit warnings and suppressed some others (#28726)
* Fixed some NullAway Java warnings and suppressed some others

* Suppressed warning around ContextUtils.getAppSharedPreferences()
because we cannot depend on //chrome from //base to use ChromeSharedPreferences

Fixes brave/brave-browser#45541
2025-04-18 11:57:03 +03:00
brave-builds ae484b6b0e 1.79.76 2025-04-18 00:03:06 +00:00
Emerick Rogul 6e68954d69 Merge pull request #28731 from brave/emerick-cr136-followup-disable-outline-silhouette-icon
Disable kOutlineSilhouetteIcon feature flag
2025-04-17 19:55:56 -04:00
Terry Mancey 74ab588cc2 l10n locale code health (#28722) 2025-04-18 00:09:02 +02:00
brave-builds a5927cbc3a 1.79.75 2025-04-17 21:21:22 +00:00
Emerick Rogul 2f133711e8 Disable kOutlineSilhouetteIcon feature flag
Disable kOutlineSilhouetteIcon so we don't display a silhouette icon instead of
the default Brave avatar icon.

Chromium change:
https://source.chromium.org/chromium/chromium/src/+/83106df76363b6a0f301dd60745e711751cf88cd

commit 83106df76363b6a0f301dd60745e711751cf88cd
Author: David Roger <droger@chromium.org>
Date:   Thu Mar 13 14:09:39 2025 -0700

    Reland "[Uno-D] Enable Phase 0 fast-follow flags by default"

    This is a reland of commit cefe36665901c8a494126cbf669708aaefd3d955

    Original change's description:
    > [Uno-D] Enable Phase 0 fast-follow flags by default
    >
    > Enables by default:
    > * kOutlineSilhouetteIcon
    > * kImprovedSigninUIOnDesktop
    > * kImprovedSettingsUIOnDesktop
    > * kAutofillRemovePaymentsButterDropdown
    >
    > Bug: 356606258
    > Change-Id: I6451cd1120eadad0f9e003591e04a6e9a20efcf1
    > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6335520
    > Commit-Queue: David Roger <droger@chromium.org>
    > Reviewed-by: Liza Bipin <mlbipin@google.com>
    > Reviewed-by: Mikel Astiz <mastiz@chromium.org>
    > Reviewed-by: Olivia Saul <jsaul@google.com>
    > Cr-Commit-Position: refs/heads/main@{#1432071}

    Bug: 356606258
2025-04-17 17:16:54 -04:00
cdesouza-chromium 71d7f78db6 [unsafe-buffers] Fix UNSAFE_TODO in AdBlockServiceTest (#28717)
This PR removes the `UNSAFE_TODO` occurrance in this test, and also
simplifies the file creation that was relying on it.

Resolves https://github.com/brave/brave-browser/issues/45512
2025-04-17 22:15:16 +01:00
cdesouza-chromium d15acdf76c [canary] Adding brockit_test.py to test B🚀 (#28721)
This change introduces `brockit_test.py` which will be used to host most
of the `brockit` tests.

Resolves https://github.com/brave/brave-browser/issues/45536
2025-04-17 22:05:08 +01:00
Jocelyn Liu bd23229bf6 Merge pull request #28715 from brave/deprecate_conv_api_flag
Remove conversation api feature flag and unused engine classes
2025-04-17 13:23:56 -07:00
Brian Clifton 075810d0b5 [uplift script] Add new arg to copy CI/* labels (from the PR being uplifted) (#28713)
* Add new arg to copy "CI/*" labels from PR

Fixes https://github.com/brave/brave-browser/issues/45503

* presubmit fixes
2025-04-17 09:46:39 -07:00
Emerick Rogul 3b60f2b2af Hide the image labels toggle button in brave://settings/accessibility 2025-04-17 12:32:46 -04:00
Kamil Jozwiak 606094c288 Merge pull request #28710 from brave/cr136.x
Upgrade from Chromium 136.0.7103.25 to Chromium 136.0.7103.35
2025-04-17 12:23:55 -04:00
Brandon-T 83faed2b3a [iOS] - Fix playlist auto-download when adding an item (#28594) 2025-04-17 12:10:11 -04:00
Brandon-T 442e6cc25e [iOS] - Fix Private Browsing Not working on Open Window (#28621)
* Remove default = false for private browsing. Update all uses to explicitly specify private browsing.
2025-04-17 12:09:51 -04:00
Brandon-T eb58b1d91a [iOS] - Fix download filename. Fix download host. (#28656)
* Strip BidiControl from download file name
* Fix downloads not working for data URIs
* Remove data-uri check. Just don't display any host if there is none (following Safari and Chrome)
2025-04-17 12:09:27 -04:00
Brandon-T fece6ed40e [iOS] - Add DeepSeek R1 Strings (#28681) 2025-04-17 12:08:16 -04:00
brave-builds 3a4e5f13e0 1.79.74 2025-04-17 16:02:33 +00:00
Kyle Hickinson f8a33cf48d [iOS] Remove & replace legacy TabEventHandlers with tab helpers (#28682) 2025-04-17 17:47:56 +02:00
cdesouza-chromium 85e555e5bc [unsafe-buffers] Fix UNSAFE_TODO in BraveStatsUpdaterBrowserTest (#28718)
The simpler fix here is to avoid any buffer operation.

Resolves https://github.com/brave/brave-browser/issues/45513
2025-04-17 16:19:42 +01:00
Emerick Rogul 2c0359b4b0 Disable a few upstream browser tests that conflict with our settings 2025-04-17 10:06:58 -04:00
Terry Mancey 59bbf82c8c [ads] Add condition matcher logging (#28709) 2025-04-17 15:01:10 +02:00
brave-builds d058392936 1.79.73 2025-04-17 12:07:54 +00:00
brave-builds ca4fbba530 1.79.72 2025-04-17 12:02:54 +00:00
cdesouza-chromium f8ec3dca1b [CodeHealth] Remove override for GetInstanceForNativeUi (#28683)
A fix has been submitted to have this fixed on upstream, which is
getting cherry-picked as a patch in this change.

Additionally this change clean up all the overrides related to the
upstream change, as well as nearby code that seems to be obsolete.

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

Chromium changes:
https://chromium.googlesource.com/chromium/src/+/a0bc8aeba09c0ec094a1d14a2032709610defd38

commit a0bc8aeba09c0ec094a1d14a2032709610defd38
Author: Claudio DeSouza <cdesouza@chromium.org>
Date:   Tue Apr 15 13:35:18 2025 -0700

    [android] Support `NativeTheme::GetInstanceForNativeUi`

    This change allows `NativeTheme::GetInstanceForNativeUi` to return the
    current instance for the native theme as well, on Android, as this seems
    to be a historical leftover.

    Bug: 385988433
    Change-Id: I077348afb8a239c67fa2b4157a886a0a710a61a5
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6454402
    Reviewed-by: Elly FJ <ellyjones@chromium.org>
    Commit-Queue: Claudio DeSouza <cdesouza@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#1447347}
2025-04-17 09:23:26 +01:00
Jocelyn Liu 53181d7260 Include ai_chat.mojom.h in mock_engine_consumer.h as it's needed for MOCK_METHOD 2025-04-16 21:33:05 -07:00
Jocelyn Liu 66d5568120 Remove engine_type 2025-04-16 21:33:05 -07:00
Jocelyn Liu 6c56ce03bc Remove conversation API feature flag and unused engine classes 2025-04-16 21:33:05 -07:00
Anton Paymyshev c3275fe3f2 Cardano transactions core support (#28462) 2025-04-17 09:30:13 +07:00
Jay Harris de08121b52 [docs]: Add documentation about how to override upstream WebUI (#28691) 2025-04-17 03:36:10 +02:00
brave-builds dac2385412 1.79.71 2025-04-17 00:07:05 +00:00
Jay Harris e365fec72a [patches]: Make it possible to update only a specific patches with update_patches (#28632)
* [patches]: Make it possible to update only a single patch
2025-04-17 01:41:50 +02:00
Jocelyn Liu a27b376f7a Merge pull request #28708 from brave/tab_focus_show_fre_changed
Update tab focus show FRE upon pref changes
2025-04-16 16:16:19 -07:00
Jay Harris f47d2e9a83 [shields]: Fix shields strings (#28692) 2025-04-17 01:08:29 +02:00
Terry Mancey f3b3c22455 [ads] Always explicitly set feature flags in tests regardless of default state (#28690) 2025-04-17 00:21:43 +02:00
Claudio DeSouza 34580c4297 [cr137] Repackaging WinSDK 10.0.26100.3323 with d3dcompiler_47.dll
This is an update to the Windows SDK with a repackaged SDK, that
includes a version of `d3dcompiler_47.dll` from `10.0.22621.2428`.

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

Chromium changes:
https://chromium.googlesource.com/chromium/src/+/fca8e8720feecf9faa988b92806b574cd530b23e

commit fca8e8720feecf9faa988b92806b574cd530b23e
Author: Devon Loehr <dloehr@google.com>
Date:   Thu Mar 20 09:54:01 2025 -0700

    Update Supported Windows SDK to 10.0.26100.3323

    The floor bug (https://crbug.com/374162585) which blocked the previous roll has been addressed, so we're trying to update the SDK again.

    Code changes are essentially the same as the previous update attempt
    (https://crrev.com/c/5898835). Some minor changes to gate new SDK features behind a #define while we transition, and some regenerated image baselines to support the new 3D emojis. Note that updating mc.exe and midl.exe outputs produced no changes.

    Pleasantly, the linking change to d3dcompiler_47.dll has been undone, so we no longer need to patch in an older version. This means the update is about as straightforward as it gets.

    -----------------------------------------------------------------
    Instructions to reproduce:

    These instructions are best done on a fresh VM. Make sure to uninstall any existing installations of Visual Studio and any existing SDK installations before starting.

    1. Install git for windows from their website, with the default settings (https://git-scm.com/downloads/win)
    2. Install depot_tools following the instructions on their webpage (https://commondatastorage.googleapis.com/chrome-infra-docs/flat/depot_tools/docs/html/depot_tools_tutorial.html#_setting_up)
    3. Run:
    $ git config --global depot-tools.allowGlobalGitConfig true
    4. Download Visual Studio Professional (Free Trial) from the official site (https://visualstudio.microsoft.com/downloads/)
    5. Run the VS installer with the following arguments:
    ```
    $ VisualStudioSetup.exe --add Microsoft.VisualStudio.Workload.NativeDesktop --add Microsoft.VisualStudio.Component.VC.ATLMFC --add Microsoft.VisualStudio.Component.VC.Tools.ARM64 --add Microsoft.VisualStudio.Component.VC.MFC.ARM64 --includeRecommended --passive
    ```
    6. Open the VS installer (from the start menu), click “Modify”, and uninstall any existing SDK versions (search for “windows sdk”).
    7. Open “Add or Remove Programs” and make sure there are no SDK versions installed; remove them if so (search for “windows software development kit”).
    8. Download SDK Version 10.0.26100.3323 from the official site (https://developer.microsoft.com/en-us/windows/downloads/windows-sdk/)
    9. Run the SDK installer with default settings, except disable “insights”.
    10. Run the packaging script from depot_tools, e.g
    $ python3 depot_tools\win_toolchain\package_from_installed.py 2022 -w 10.0.26100.0

    Link to packaging script version used for packaging: https://source.chromium.org/chromium/chromium/tools/depot_tools/+/main:win_toolchain/package_from_installed.py;drc=371aa997c04791d21e222ed43a1a0d55b450dd53

    This resulted in the final package with hash 076960eda6.

    Bug: 362650376
    Change-Id: Ib6cb299ab20cfca1e72f34728e6ea165ab057d05
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6252774
    Reviewed-by: Keren Zhu <kerenzhu@chromium.org>
    Reviewed-by: Dominic Farolino <dom@chromium.org>
    Reviewed-by: Zequan Wu <zequanwu@google.com>
    Commit-Queue: Devon Loehr <dloehr@google.com>
    Reviewed-by: Giovanni Ortuno Urquidi <ortuno@chromium.org>
    Reviewed-by: Dominik Röttsches <drott@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#1435503}
2025-04-16 22:15:23 +01:00
Claudio DeSouza abfe6be03e Updated strings for Chromium 136.0.7103.34. 2025-04-16 22:14:23 +01:00
Claudio DeSouza a75a2766fb Update patches from Chromium 136.0.7103.25 to Chromium 136.0.7103.34. 2025-04-16 22:13:57 +01:00
Claudio DeSouza 441da65544 Update from Chromium 136.0.7103.25 to Chromium 136.0.7103.34. 2025-04-16 22:12:19 +01:00
Jocelyn Liu 222c68dbad Update tab focus show FRE upon pref changes
Get the latest value upon connected and listen on pref changes.
2025-04-16 13:54:04 -07:00