Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade from Chromium 132 to Chromium 133. #26537

Open
wants to merge 224 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
224 commits
Select commit Hold shift + click to select a range
214c9e6
Update from Chromium 132.0.6834.6 to Chromium 133.0.6943.3.
cdesouza-chromium Nov 13, 2024
cf79107
Conflict-resolved patches from Chromium 132.0.6834.6 to Chromium 133.…
cdesouza-chromium Nov 13, 2024
e816e85
[cr133] `IsAutofillEnabled` moved into the client
cdesouza-chromium Nov 13, 2024
1feabe3
[cr133] Adding `collaboration_strings.grdp`
cdesouza-chromium Nov 14, 2024
a4a8208
[cr133] Avoid `TabHandle` refactor
cdesouza-chromium Nov 14, 2024
ba9781d
[cr133] `kExtensionTelemetryTabsApiSignal` deleted
cdesouza-chromium Nov 14, 2024
94cd8e7
[cr133] `webkitEnterFullscreen` => `EnterFullscreen`
cdesouza-chromium Nov 14, 2024
abe0170
[cr133] Drop cherry-picked `base::zip`
cdesouza-chromium Nov 14, 2024
b95f1be
[cr133] Spanify `FarbleAudioChannel`
cdesouza-chromium Nov 14, 2024
b9da5a3
[cr133] Fix transient inclusion failure with importer
cdesouza-chromium Nov 14, 2024
fb443fc
[Android] Plumbing for bottom controls
samartnik Nov 14, 2024
639332c
[cr133] `TabModel` methods moved into `TabInterface`
cdesouza-chromium Nov 15, 2024
d4a8fd5
[cr133] Unsafe variant of `String::FromUTF8` deleted
cdesouza-chromium Nov 15, 2024
f154af5
Elevation service diagnostic logging was removed.
mkarolin Nov 15, 2024
9392e3c
[cr133][iOS] Profile deferred init moved to ProfileController.
mkarolin Nov 15, 2024
7adeda3
[Android] Fix for SiteSettingsCategory patch
samartnik Nov 15, 2024
91aff06
[cr133][Android] Fixes missing deps in //chrome/utility
mkarolin Nov 15, 2024
d6727f5
[cr133] `ToggleBrowserFullscreenMode` taking user argument
cdesouza-chromium Nov 18, 2024
d25a33d
[cr133] Remove `NOTREACHED_IN_MIGRATION` presubmit checks
cdesouza-chromium Nov 18, 2024
b36ca85
[Android] Set web contents visibility based on occlusion
samartnik Nov 18, 2024
0769adc
[Android] Short circuit focus animation when controls are bottom-anch…
samartnik Nov 18, 2024
aad52be
[Android] Clean up for NotificationManagerProxy
samartnik Nov 18, 2024
806b4a1
[cr133][iOS] OnBeforeURLRequest was removed from IOSChromeNetworkDele…
mkarolin Nov 18, 2024
b91b726
[Android] New param for LocationBarCoordinator c-tor
samartnik Nov 19, 2024
cfa7b63
[Android] New javasript optimizer privacy setting
samartnik Nov 19, 2024
b749f1c
[Android] Adjustments for bytecode tests
samartnik Nov 19, 2024
6f6dbfd
[cr133][Android] Fixes importer build error due to missing strings.
mkarolin Nov 19, 2024
6bf6c27
`gnrt` run for Chromium 133.0.6848.1.
cdesouza-chromium Nov 20, 2024
4c3a673
[cr133] Task manager shortcut command has been added.
mkarolin Nov 20, 2024
d77a106
[cr133] Avoiding unwanted substitution
cdesouza-chromium Nov 20, 2024
e1f802a
[cr133] Fix `IsCreditCardMigrationEnabled` linking error
cdesouza-chromium Nov 20, 2024
256c7ad
[cr133] `WDKeywordsResult.default_search_provider_id` deleted
cdesouza-chromium Nov 20, 2024
6aa63b6
[cr133] IsOnDeviceModelAdaptationEnabled was removed.
mkarolin Nov 20, 2024
943fa2e
Disables failing/crashing upstream unit tests.
mkarolin Nov 20, 2024
004d14f
Disables failing/crashing upstream browser tests.
mkarolin Nov 20, 2024
a06d24d
[Android] AccessibilitySettings moved to components
samartnik Nov 20, 2024
9823143
[Android] New param for TabbedRootUiCoordinator c-tor
samartnik Nov 20, 2024
3a45752
[Android] Fix for DuplicateBranches lint issue
samartnik Nov 20, 2024
ed577cb
[Android] Fixes importer linker error
samartnik Nov 20, 2024
39ad922
[cr133] `form_import` header moved into their own path
cdesouza-chromium Nov 21, 2024
25de601
[cr133] Battery saver links now `char16_t`
cdesouza-chromium Nov 21, 2024
c70b21e
[cr133] Stubbing out `kPrivacyPolicyURL`
cdesouza-chromium Nov 21, 2024
7effcf4
[cr133] `StartURLLoader` range is now an expected type
cdesouza-chromium Nov 21, 2024
39b3e48
[cr133] `SetHighAccuracy` => `SetHighAccuracyHint`
cdesouza-chromium Nov 21, 2024
4aac5e5
[Android] Make TabModel#closeTabs package private
samartnik Nov 21, 2024
6b3c24c
[cr133] WebUI mojo loading code moved to share location.
mkarolin Nov 21, 2024
b21264e
[Android] Adjustment to NewTabPage c-tor change
samartnik Nov 22, 2024
d533a91
[cr133] `kGlobalMediaControlsCastStartStop` made default
cdesouza-chromium Nov 25, 2024
0744017
[cr133] `ChromeAutofillClient` functions marked as final
cdesouza-chromium Nov 25, 2024
a13949b
[Android] Rename secure state icons
samartnik Nov 25, 2024
a115862
[Android] Data sharing libs refactor
samartnik Nov 25, 2024
36c72aa
[cr133] `MigrateObsoleteProfilePrefs` arg list changed
cdesouza-chromium Nov 25, 2024
d1da202
[cr133] `kSharedStorageAPIM118` made default
cdesouza-chromium Nov 26, 2024
ab77cc4
[cr133] `BuildServiceInstanceForBrowserContext` required
cdesouza-chromium Nov 26, 2024
5efa350
[cr133] China-specific privacy policy URLs
cdesouza-chromium Nov 26, 2024
da3ad64
[cr133] `GetSearchProvidersUsingKeywordResult` arglist changed
cdesouza-chromium Nov 26, 2024
0803a26
[cr133] `TabStripRegionView` accessors changed
cdesouza-chromium Nov 27, 2024
aa6c5bf
[Android] Changes for bottom UI color provider
samartnik Nov 27, 2024
2576010
[cr133] `kSharedStorageAPIM125` made default
cdesouza-chromium Nov 29, 2024
eca3403
[cr133] `BookmarkContextMenuController` parent arg removed
cdesouza-chromium Nov 29, 2024
4b38a1e
[cr133] `GetCornerRadiusValue` now `GetCornerRadii`
cdesouza-chromium Nov 29, 2024
d3eb7b8
[Android] Pass Profile to PrefChangeRegistrar
samartnik Nov 29, 2024
112814d
[Android] New param for GpuServiceImpl::InitializeWithHost
samartnik Dec 2, 2024
3d5dc0c
[Android] Switching to single param version of createIsolatedSplitCon…
samartnik Dec 2, 2024
9ad46e0
[cr133] `kCommercePriceTracking` => `kPriceAnnotations`
cdesouza-chromium Dec 3, 2024
461f961
[cr133] `IDNA2008DeviationCharacter` metrics deleted
cdesouza-chromium Dec 3, 2024
dcb364b
[cr133] Anchor view added to `TabSearchButton`
cdesouza-chromium Dec 3, 2024
e5c5779
[cr133] `CookieInclusionStatus` instantiation changed
cdesouza-chromium Dec 3, 2024
38eccb6
[Android] Clean up for UnusedMethod and UnusedVariable lint errors
samartnik Dec 3, 2024
e3f9687
[Android] Fixes for NoStreams lint errors
samartnik Dec 3, 2024
057749b
[Android] Move PrefChangeRegistrar to components/prefs
samartnik Dec 3, 2024
951b4cb
Fixes presubmit errors in patches.
mkarolin Dec 3, 2024
bcdee1f
Formatting fix.
mkarolin Dec 3, 2024
d7b1d41
BrowserContextKeyedServiceFactory is NULL for testing.
mkarolin Dec 3, 2024
b1a80b7
[cr133] `base::make_span` deleted
cdesouza-chromium Dec 4, 2024
73154d4
[cr133] Pass `TabStrip` into `TabSearchBubbleHost`
cdesouza-chromium Dec 4, 2024
0befc78
[cr133] `kHaTSWebUI` feature flag deleted
cdesouza-chromium Dec 4, 2024
fcbbf1b
[cr133] Fix `MatchesStorageKey` override to work on a switch
cdesouza-chromium Dec 4, 2024
ca9be24
[cr133] Use `Utf8ConversionMode::kStrictReplacingErrors`
cdesouza-chromium Dec 4, 2024
187248a
[Android] Removes unused import.
mkarolin Dec 4, 2024
3be608d
[Android] Rename NoUnderlineClickableSpan -> ChromeClickableSpan
samartnik Dec 4, 2024
73568e4
[Android] Added playlist service to the exception list
samartnik Dec 4, 2024
03dced0
[cr133] `kChromeUIWelcomeHost` deleted
cdesouza-chromium Dec 5, 2024
2083d8b
[cr133] `Database::set_histogram_tag` deleted
cdesouza-chromium Dec 5, 2024
a4c1fb6
[cr133] Add converter for `v8::Local<v8::Object>`
cdesouza-chromium Dec 5, 2024
d405644
[Android] Switch from TargetApi to RequiresApi
samartnik Dec 5, 2024
8722d58
[Android] Java fixes for presubmit issues
samartnik Dec 5, 2024
ca254ff
[cr133] Removes no longer needed chromium_src override.
mkarolin Dec 5, 2024
d0b50c0
[Android] Clean up for DefaultBrowserPromoutils method
samartnik Dec 6, 2024
ffc0847
[cr133] Canvas rendering IDLs merged into a base file
cdesouza-chromium Dec 6, 2024
1b04581
[cr133] Fix Omnibox override broken by const qualifier
cdesouza-chromium Dec 6, 2024
06cf94d
[cr133][iOS] Use ProfileKeyedServiceFactoryIOS in AboutSigninInternal…
mkarolin Dec 6, 2024
65d6207
[cr133] BookmarkContextMenuController requires non-empty selection.
mkarolin Dec 6, 2024
cf8aa13
[cr133] Toolbar pinning feaure was enabled by default.
mkarolin Dec 6, 2024
b2097c0
[cr133] `content::SetCookie` is `[[nodiscard]]`
cdesouza-chromium Dec 9, 2024
1552412
[cr133] `ClipboardFormatType::GetType` renamed
cdesouza-chromium Dec 9, 2024
cd5e2bd
[cr133] `DetachAndAttachToNewContext` arg list reduced
cdesouza-chromium Dec 9, 2024
61a0ce7
[cr133] Fix Linux installer appdata exclusion
cdesouza-chromium Dec 9, 2024
2ec99e0
[Android] New param for BookmarkManagerMediator c-tor
samartnik Dec 9, 2024
7697fee
[Android] Replace `createChromeContext` method
samartnik Dec 9, 2024
5cd26d2
[Android] Fix for empty state unused resources
samartnik Dec 9, 2024
3401ff2
[cr133][ios] `GoogleGroupsManagerFactory` base class changed
cdesouza-chromium Dec 9, 2024
28e3594
[cr133] Fix cycle for `network_time_helper`
cdesouza-chromium Dec 10, 2024
e9e0957
[cr133] Remove unnecessary unused process id plumbing
cdesouza-chromium Dec 12, 2024
2b93a6e
[cr133] Remove `ScriptValue` use IDL results
cdesouza-chromium Dec 12, 2024
9b17bd1
[cr133] `GetLastUpdateTime` now a free function
cdesouza-chromium Dec 12, 2024
0f05ac8
[cr133] `kAutofillPredictionImprovementsLearnMoreURL` renamed
cdesouza-chromium Dec 12, 2024
f47fa7a
[Android] Deleting now unused BundleUtils.newInstance method
samartnik Dec 12, 2024
d9c2f73
[Android] Wire up notification dots for tab switcher drawables
samartnik Dec 12, 2024
db9ad81
[Android] Break down Empty Tab List Illustration Further
samartnik Dec 12, 2024
7c81f8b
Fixup add converter for v8::Local<v8::Object>.
goodov Dec 13, 2024
751b56b
Update WebGLRenderingContextBase override.
goodov Dec 13, 2024
5b041fd
[cr133] `kPersistContextAnnotationsInHistoryDb` deleted
cdesouza-chromium Dec 16, 2024
3ea2b12
[cr133] `GetTooltipText` single arg dropped
cdesouza-chromium Dec 16, 2024
33444f9
[cr133] `autofill/core/browser/data_manager` header moved
cdesouza-chromium Dec 16, 2024
8ae990d
[cr133] `kPageVisibilityBatchAnnotations` deleted
cdesouza-chromium Dec 16, 2024
65c094d
[cr133] `GetSSLUpgradeDecision` add top level arg
cdesouza-chromium Dec 16, 2024
2fa6a2e
[cr133] Sqlite database tag obligatory
cdesouza-chromium Dec 16, 2024
d7d044f
[Android] Clean up stale WebNFC flag
samartnik Dec 16, 2024
10cda0f
[Android] New c-tor signature for TabbedRootUiCoordinator
samartnik Dec 16, 2024
6649bef
[Android] Update Android secure connections setting
samartnik Dec 16, 2024
425c1c0
[cr133] Dropping Linux installer `PACKAGEANDCHANNEL`
cdesouza-chromium Dec 16, 2024
8aed322
[cr133] `kNotificationTriggers` deleted
cdesouza-chromium Dec 18, 2024
a938bea
[cr133] `kResourceTimingForCancelledNavigationInFrame` deleted
cdesouza-chromium Dec 18, 2024
d248716
[cr133] `kPrivateStateTokens`/`kFledgePst` deleted
cdesouza-chromium Dec 18, 2024
f1408bd
[cr133] `kExtensionTelemetryDisableOffstoreExtensions` deleted
cdesouza-chromium Dec 18, 2024
55df5e7
[cr133] `TemplateURLData::CreatedByPolicy` renamed
cdesouza-chromium Dec 18, 2024
7066b2e
[cr133] Autofill headers broken under `studies/`
cdesouza-chromium Dec 18, 2024
2fcdb77
[cr133] `GetOfferForUrl` returning a `const T*`
cdesouza-chromium Dec 18, 2024
0590ec6
[cr133] Gaia ID now a unique type
cdesouza-chromium Dec 18, 2024
6b9e1c3
[cr133] `kMetricsServiceDeltaSnapshotInBg` deleted
cdesouza-chromium Dec 19, 2024
98dce01
[Android] New c-tor sugnature for BookmarkManagerMediator
samartnik Dec 20, 2024
1b636d9
[Android] Remove static profile access from PartnerBookmarksReader
samartnik Dec 20, 2024
d02c047
[Android] Fix for login DB deprecation export service
samartnik Dec 20, 2024
f43e3f5
[Android] Fix for UnusedMethod lint warning
samartnik Dec 20, 2024
8e31bc3
[Android] Fix for unit tests dependency
samartnik Dec 20, 2024
1e50809
`gnrt` run for Chromium 133.0.6904.2.
cdesouza-chromium Dec 22, 2024
c70501d
[cr133] Some components/autofill/core/browser files moved.
mkarolin Dec 26, 2024
42d66be
`gnrt` run for Chromium 133.0.6906.2.
cdesouza-chromium Dec 26, 2024
ae9f123
[cr133] kAdAuctionReportingWithMacroApi feature flag was removed
mkarolin Dec 27, 2024
efcb025
[cr133] Deleting `OpenMostSpecificDialog` as unused
cdesouza-chromium Dec 27, 2024
1ea5c05
[cr133] Use `sql::Database::Tag`
cdesouza-chromium Dec 27, 2024
728d3a5
[cr133] `kJourneysPersistCachesToPrefs` deleted
cdesouza-chromium Dec 27, 2024
bf8b084
[cr133] `kJourneysZeroStateFiltering` deleted
cdesouza-chromium Dec 27, 2024
feff840
[cr133][Linux] Adds missing ENROLLMENTDIR var.
mkarolin Dec 27, 2024
940975c
[cr133][iOS] browser_state GN target was removed.
mkarolin Dec 27, 2024
84035df
[cr133][iOS] Adds various missing build deps.
mkarolin Dec 27, 2024
2732894
[cr133][iOS] CheckPublicKeyPins signature changed.
mkarolin Dec 27, 2024
8f7b52a
[Android] Remove deprecated promo in settings
samartnik Dec 28, 2024
7ddec07
[cr133] Cached tooltip text is no longer set in Tab.
mkarolin Dec 30, 2024
7ee6530
[cr133][iOS] Migrate from BrowserStateKeyedServiceFactory to ProfileK…
mkarolin Dec 30, 2024
c4e47ac
`gnrt` run for Chromium 133.0.6911.1.
cdesouza-chromium Dec 27, 2024
b7571eb
[cr133][rust] `no_chromium_code` emits rust warnings.
cdesouza-chromium Dec 27, 2024
64bc3be
[cr133] `MediaPlayerId::delegate_id` => `player_id`
cdesouza-chromium Dec 30, 2024
7baa259
[cr133] `kJourneysNamedNewTabGroups` deleted
cdesouza-chromium Dec 30, 2024
df12f1f
[cr133] `autofill` introducing `foundations` subpath
cdesouza-chromium Dec 30, 2024
856a9f1
[cr133] `kChromeUISyncHost` redirect deleted
cdesouza-chromium Dec 30, 2024
fe127c1
[cr133] Use `ui/webui/webui_util.h`
cdesouza-chromium Dec 30, 2024
297a0a2
[cr133] Use generated `grit/webui_resources.h`
cdesouza-chromium Dec 30, 2024
6ffd982
[cr133] `TestingPrefServiceSyncable` ctor arg removed
cdesouza-chromium Dec 30, 2024
b07181a
[cr133] `PaymentsDataManager` to be used in an override
cdesouza-chromium Dec 30, 2024
f6eab83
[cr133] `kWhatsNewVersion2` feature flag deleted
cdesouza-chromium Dec 31, 2024
be6b664
[cr133] `InstallAttributes` added interface name arg
cdesouza-chromium Dec 31, 2024
0ba442c
[cr133] chrome/browser/ui/webui/crashes/crashes_ui.cc moved.
mkarolin Dec 30, 2024
fcb14f1
[cr133] chrome/browser/ui/webui/webui_util.cc moved.
mkarolin Dec 30, 2024
432f631
`gnrt` run for Chromium 133.0.6925.1
cdesouza-chromium Dec 31, 2024
f174bf2
[cr133] Removes no longer needed safety check setting UI override.
mkarolin Dec 31, 2024
7899e7f
[cr133] kPrivacySandboxAggregationService feature was removed.
mkarolin Dec 31, 2024
88889ca
[Android] Clean up modern_grey colors
samartnik Jan 2, 2025
a52a7f6
[Android] Remove code for Hub Pane Host
samartnik Jan 2, 2025
b04ab4a
[Android] Add a bookmarks hub pane
samartnik Jan 2, 2025
0a0fe5c
[Android] Fix for FRE flow
samartnik Jan 2, 2025
dc74b20
[Android] Rename ListMenuButtonDelegate to ListMenuDelegate
samartnik Jan 2, 2025
64c3812
[Android] Empty Tab List Animation
samartnik Jan 2, 2025
9816ee3
[cr133] `kIOSSharedHighlightingV2` deleted
cdesouza-chromium Jan 3, 2025
efaead8
[cr133] `ChangeMetricsReportingState` asks from here arg
cdesouza-chromium Jan 3, 2025
61a9a0d
[cr133][rust] Fix unused imports in brave code
cdesouza-chromium Jan 3, 2025
522fbfb
[cr133][Devtools] custom implementation of `lit/static-html` was removed
mkarolin Jan 3, 2025
fd7a7a5
[cr133][Rust] unused imports.
mkarolin Jan 3, 2025
07b6702
[Android] Add JniType for IdentityManager
samartnik Jan 3, 2025
80a247d
[Android] Empty Tab List Animation for the night mode
samartnik Jan 6, 2025
a3d9adb
Disable KeyboardAndPointerLockPrompt (killswitch)
atuchin-m Jan 6, 2025
8c82a34
[cr133] `kKeyboardAndPointerLockPrompt` disaled upstream
cdesouza-chromium Jan 7, 2025
ba610b0
[cr133] Remove unnecessary `GetAnchorView` override
cdesouza-chromium Jan 7, 2025
66f1368
[cr133] IWYU fixes
cdesouza-chromium Jan 7, 2025
f20ce0e
[cr133] `AudioContext` requires `RequestFullscreen` override
cdesouza-chromium Jan 7, 2025
d547b6f
[Android] Fixes for unused private field error
samartnik Jan 7, 2025
afb69c9
[Android] Changes for FirstRunFlowSequencer
samartnik Jan 7, 2025
4c3da79
[cr133] c/b/ui/views/download/ build target was added.
mkarolin Jan 7, 2025
b1dc440
[cr133] DIPS moved from //chrome to //content.
mkarolin Jan 7, 2025
411e8f6
[cr133] Some searchbox functionality moved.
mkarolin Jan 8, 2025
1539305
[cr133] RenderCoordinator methods are exposed as functions.
mkarolin Jan 8, 2025
6c40707
[cr134] `SetDisableThirdPartyStoragePartitioning` renamed
cdesouza-chromium Jan 10, 2025
dd6c207
[Android] Rename NoUnderlineClickableSpan to ChromeClickableSpan
samartnik Jan 10, 2025
02fb922
[Android] Fix for Brave version in `About` menu
samartnik Jan 10, 2025
80e783d
[cr133][iOS] Text Fragments implementation was removed.
mkarolin Jan 10, 2025
ad3388d
[cr133][iOS] Application mode fetcher provider was added.
mkarolin Jan 10, 2025
f0bf727
[cr133][iOS] kHttpsOnlyMode feature flag was removed.
mkarolin Jan 11, 2025
65219a9
[cr133][iOS][WIP] Enable use_partition_alloc.
mkarolin Jan 11, 2025
3701265
[Android] Disable safety hub settings
samartnik Jan 13, 2025
d8b3e6a
Adds a missing DEPS.
mkarolin Jan 13, 2025
7901f52
[Android] Temporarily disable ChromeOS sync tests
samartnik Jan 14, 2025
db8c0ad
[cr133] /syncSetup/pageContent was removed from settings routes
emerick Jan 10, 2025
39d1e67
[cr133] Third party cookies row was removed from Privacy page.
mkarolin Jan 14, 2025
bc78660
[cr133] iron-flex layout was removed from Desktop settings.
mkarolin Jan 14, 2025
cade1c1
Update from Chromium 132.0.6834.83 to Chromium 133.0.6943.6.
cdesouza-chromium Jan 14, 2025
92f9f70
[Android] Clean up ClearLoginDatabaseForAllMigratedUPMUsers flag
samartnik Jan 15, 2025
6479bb8
[cr133][iOS] Default profile no longer created by `ProfileManagerIOSI…
kylehickinson Jan 15, 2025
65af845
[cr133] Workaround for BraveTabStripModelTest flakiness on MacOS.
mkarolin Jan 16, 2025
430c27e
[Android] Exclude PageResourceMonitor override for android
samartnik Jan 16, 2025
6a60dc2
Update from Chromium 132.0.6834.83 to Chromium 133.0.6943.16.
cdesouza-chromium Jan 16, 2025
b037356
[cr133] Disables a couple of flaky-on-CI tests on MacOS.
mkarolin Jan 16, 2025
b3d2bbb
[Android] Fix the order for SiteSettingsCategory
samartnik Jan 17, 2025
483894d
Update patches from Chromium 132.0.6834.83 to Chromium 133.0.6943.16.
cdesouza-chromium Jan 17, 2025
8803ce1
Updated strings for Chromium 133.0.6943.16.
cdesouza-chromium Jan 17, 2025
a6b65df
fixup! Formatting fix.
mkarolin Jan 17, 2025
d6d4715
[Android] Missing imports for WelcomeOnboardingActivity
samartnik Jan 17, 2025
c86a355
fixup! [cr133] Fix cycle for `network_time_helper`
kylehickinson Jan 17, 2025
1b8dcb6
fixup! [cr133] Fix cycle for `network_time_helper`
mkarolin Jan 17, 2025
dd7a46a
Adds missing DEPS.
mkarolin Jan 17, 2025
1d846e1
[Android] Remove password leak detection option
samartnik Jan 17, 2025
d38814a
amend! [cr133] Removes no longer needed chromium_src override.
mkarolin Jan 17, 2025
5898595
fixup! Disables failing/crashing upstream browser tests.
mkarolin Jan 17, 2025
274cc46
[Android] Fix for `UnusedMethod` lint warning
samartnik Jan 17, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
9 changes: 0 additions & 9 deletions PRESUBMIT.py
Original file line number Diff line number Diff line change
Expand Up @@ -358,15 +358,6 @@ def CheckNewSourceFileWithoutGnChangeOnUpload(input_api, output_api):
treat_as_error=True,
excluded_paths=[_THIRD_PARTY_EXCEPT_BLINK],
),
BanRule(
'NOTREACHED_IN_MIGRATION',
('Do not introduce new cases of of NOTREACHED_IN_MIGRATION. Please ',
'refer to the guide for how to use CHECK/DCHECK/NOTREACHED ',
'https://chromium.googlesource.com/chromium/src/+/main/styleguide/c++/checks.md.'
),
treat_as_error=True,
excluded_paths=[],
),
)


Expand Down
16 changes: 9 additions & 7 deletions android/brave_java_resources.gni
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ brave_java_resources = [
"java/res/drawable-hdpi/location_bar_incognito_badge.png",
"java/res/drawable-hdpi/modern_location_bar.9.png",
"java/res/drawable-hdpi/naver.png",
"java/res/drawable-hdpi/omnibox_https_valid.png",
"java/res/drawable-hdpi/omnibox_https_valid_lock.png",
"java/res/drawable-hdpi/plus.png",
"java/res/drawable-hdpi/search_engine_bing.png",
"java/res/drawable-hdpi/search_engine_brave.png",
Expand Down Expand Up @@ -113,7 +113,7 @@ brave_java_resources = [
"java/res/drawable-mdpi/location_bar_incognito_badge.png",
"java/res/drawable-mdpi/modern_location_bar.9.png",
"java/res/drawable-mdpi/naver.png",
"java/res/drawable-mdpi/omnibox_https_valid.png",
"java/res/drawable-mdpi/omnibox_https_valid_lock.png",
"java/res/drawable-mdpi/plus.png",
"java/res/drawable-mdpi/search_engine_bing.png",
"java/res/drawable-mdpi/search_engine_brave.png",
Expand Down Expand Up @@ -191,7 +191,7 @@ brave_java_resources = [
"java/res/drawable-xhdpi/location_bar_incognito_badge.png",
"java/res/drawable-xhdpi/modern_location_bar.9.png",
"java/res/drawable-xhdpi/naver.png",
"java/res/drawable-xhdpi/omnibox_https_valid.png",
"java/res/drawable-xhdpi/omnibox_https_valid_lock.png",
"java/res/drawable-xhdpi/plus.png",
"java/res/drawable-xhdpi/search_engine_bing.png",
"java/res/drawable-xhdpi/search_engine_brave.png",
Expand Down Expand Up @@ -246,7 +246,7 @@ brave_java_resources = [
"java/res/drawable-xxhdpi/location_bar_incognito_badge.png",
"java/res/drawable-xxhdpi/modern_location_bar.9.png",
"java/res/drawable-xxhdpi/naver.png",
"java/res/drawable-xxhdpi/omnibox_https_valid.png",
"java/res/drawable-xxhdpi/omnibox_https_valid_lock.png",
"java/res/drawable-xxhdpi/plus.png",
"java/res/drawable-xxhdpi/search_engine_bing.png",
"java/res/drawable-xxhdpi/search_engine_brave.png",
Expand Down Expand Up @@ -299,7 +299,7 @@ brave_java_resources = [
"java/res/drawable-xxxhdpi/incognito_simple.png",
"java/res/drawable-xxxhdpi/location_bar_incognito_badge.png",
"java/res/drawable-xxxhdpi/naver.png",
"java/res/drawable-xxxhdpi/omnibox_https_valid.png",
"java/res/drawable-xxxhdpi/omnibox_https_valid_lock.png",
"java/res/drawable-xxxhdpi/plus.png",
"java/res/drawable-xxxhdpi/search_engine_brave.png",
"java/res/drawable-xxxhdpi/search_engine_startpage.png",
Expand Down Expand Up @@ -374,7 +374,6 @@ brave_java_resources = [
"java/res/drawable/brave_sync_top_rounded.xml",
"java/res/drawable/brave_sync_top_rounded_light.xml",
"java/res/drawable/card_bg.xml",
"java/res/drawable/checked_circle_filled.xml",
"java/res/drawable/circular_progress.xml",
"java/res/drawable/country_spinner_background.xml",
"java/res/drawable/create_custom_filter_edit_bg.xml",
Expand Down Expand Up @@ -1046,7 +1045,10 @@ brave_download_internal_java_resources =
[ "java/res/drawable-night/downloads_empty_state_illustration.xml" ]

brave_android_features_java_resources = [
"java/res/drawable-night/phone_tab_switcher_empty_state_illustration.xml",
"java/res/drawable-night/phone_tab_switcher_empty_state_illustration_bottom_window.xml",
"java/res/drawable-night/phone_tab_switcher_empty_state_illustration_cloud_left.xml",
"java/res/drawable-night/phone_tab_switcher_empty_state_illustration_cloud_right.xml",
"java/res/drawable-night/phone_tab_switcher_empty_state_illustration_top_window.xml",
"java/res/drawable-night/tablet_tab_switcher_empty_state_illustration.xml",
]

Expand Down
2 changes: 1 addition & 1 deletion android/features/tab_ui/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ android_library("java") {
"//chrome/browser/android/lifecycle:java",
"//chrome/browser/browser_controls/android:java",
"//chrome/browser/commerce/merchant_viewer/android:java",
"//chrome/browser/data_sharing:tab_group_ui_java",
"//chrome/browser/data_sharing:data_sharing_public_java",
"//chrome/browser/flags:java",
"//chrome/browser/preferences:java",
"//chrome/browser/profiles/android:java",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (c) 2025 The Brave Authors. All rights reserved.
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this file,
You can obtain one at https://mozilla.org/MPL/2.0/.
-->

<vector xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:aapt="http://schemas.android.com/aapt"
android:width="96dp"
android:height="96dp"
android:viewportWidth="96"
android:viewportHeight="96">
<path
android:pathData="M38.24,33.2L64.24,33.2A2.8,2.8 0,0 1,67.04 36L67.04,70A2.8,2.8 0,0 1,64.24 72.8L38.24,72.8A2.8,2.8 0,0 1,35.44 70L35.44,36A2.8,2.8 0,0 1,38.24 33.2z"
android:strokeWidth="1.6"
android:fillColor="#00000000"
android:strokeColor="#7C91FF"/>
<path
android:pathData="M38.08,32.971C36.666,32.971 35.52,34.117 35.52,35.531V38.091H66.88V35.531C66.88,34.117 65.734,32.971 64.32,32.971H38.08Z"
android:fillColor="#7C91FF"
android:fillType="evenOdd"/>
</vector>
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (c) 2023 The Brave Authors. All rights reserved.
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this file,
You can obtain one at https://mozilla.org/MPL/2.0/.
-->

<vector xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:aapt="http://schemas.android.com/aapt"
android:width="96dp"
android:height="96dp"
android:viewportWidth="96"
android:viewportHeight="96">
<path
android:pathData="M48,0L48,0A48,48 0,0 1,96 48L96,48A48,48 0,0 1,48 96L48,96A48,48 0,0 1,0 48L0,48A48,48 0,0 1,48 0z">
<aapt:attr name="android:fillColor">
<gradient
android:startX="47.63"
android:startY="-15.63"
android:endX="48.613"
android:endY="152.939"
android:type="linear">
<item android:offset="0" android:color="#002A2ADE"/>
<item android:offset="1" android:color="#3F2A2ADE"/>
</gradient>
</aapt:attr>
</path>
</vector>
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (c) 2023 The Brave Authors. All rights reserved.
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this file,
You can obtain one at https://mozilla.org/MPL/2.0/.
-->

<vector xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:aapt="http://schemas.android.com/aapt"
android:width="96dp"
android:height="96dp"
android:viewportWidth="96"
android:viewportHeight="96">
<path
android:pathData="M48,0L48,0A48,48 0,0 1,96 48L96,48A48,48 0,0 1,48 96L48,96A48,48 0,0 1,0 48L0,48A48,48 0,0 1,48 0z">
<aapt:attr name="android:fillColor">
<gradient
android:startX="47.63"
android:startY="-15.63"
android:endX="48.613"
android:endY="152.939"
android:type="linear">
<item android:offset="0" android:color="#002A2ADE"/>
<item android:offset="1" android:color="#3F2A2ADE"/>
</gradient>
</aapt:attr>
</path>
</vector>
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (c) 2023 The Brave Authors. All rights reserved.
<!-- Copyright (c) 2025 The Brave Authors. All rights reserved.
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this file,
You can obtain one at https://mozilla.org/MPL/2.0/.
Expand All @@ -11,37 +11,13 @@
android:height="96dp"
android:viewportWidth="96"
android:viewportHeight="96">
<path
android:pathData="M48,0L48,0A48,48 0,0 1,96 48L96,48A48,48 0,0 1,48 96L48,96A48,48 0,0 1,0 48L0,48A48,48 0,0 1,48 0z">
<aapt:attr name="android:fillColor">
<gradient
android:startX="47.63"
android:startY="-15.63"
android:endX="48.613"
android:endY="152.939"
android:type="linear">
<item android:offset="0" android:color="#002A2ADE"/>
<item android:offset="1" android:color="#3F2A2ADE"/>
</gradient>
</aapt:attr>
</path>
<path
android:pathData="M38.24,33.2L64.24,33.2A2.8,2.8 0,0 1,67.04 36L67.04,70A2.8,2.8 0,0 1,64.24 72.8L38.24,72.8A2.8,2.8 0,0 1,35.44 70L35.44,36A2.8,2.8 0,0 1,38.24 33.2z"
android:strokeWidth="1.6"
android:fillColor="#00000000"
android:strokeColor="#7C91FF"/>
<path
android:pathData="M31.76,23.84L57.76,23.84A2.8,2.8 0,0 1,60.56 26.64L60.56,62.64A2.8,2.8 0,0 1,57.76 65.44L31.76,65.44A2.8,2.8 0,0 1,28.96 62.64L28.96,26.64A2.8,2.8 0,0 1,31.76 23.84z"
android:strokeWidth="1.6"
android:fillColor="#00000000"
android:strokeColor="#7C91FF"/>
<path
android:pathData="M38.08,32.971C36.666,32.971 35.52,34.117 35.52,35.531V38.091H66.88V35.531C66.88,34.117 65.734,32.971 64.32,32.971H38.08Z"
android:fillColor="#7C91FF"
android:fillType="evenOdd"/>
<path
android:pathData="M29.12,26.56C29.12,25.146 30.266,24 31.68,24H57.92C59.334,24 60.48,25.146 60.48,26.56V29.12H29.12V26.56ZM32.96,25.28H31.68C31.51,25.28 31.347,25.347 31.228,25.468C31.107,25.587 31.04,25.75 31.04,25.92V27.2C31.04,27.37 31.107,27.533 31.228,27.653C31.347,27.773 31.51,27.84 31.68,27.84H32.96C33.13,27.84 33.293,27.773 33.412,27.653C33.533,27.533 33.6,27.37 33.6,27.2V25.92C33.6,25.75 33.533,25.587 33.412,25.468C33.293,25.347 33.13,25.28 32.96,25.28Z"
android:fillColor="#7C91FF"
android:fillType="evenOdd"/>
</vector>

Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (c) 2025 The Brave Authors. All rights reserved.
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this file,
You can obtain one at https://mozilla.org/MPL/2.0/.
-->

<vector xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:aapt="http://schemas.android.com/aapt"
android:width="96dp"
android:height="96dp"
android:viewportWidth="96"
android:viewportHeight="96">
<path
android:pathData="M38.24,33.2L64.24,33.2A2.8,2.8 0,0 1,67.04 36L67.04,70A2.8,2.8 0,0 1,64.24 72.8L38.24,72.8A2.8,2.8 0,0 1,35.44 70L35.44,36A2.8,2.8 0,0 1,38.24 33.2z"
android:strokeWidth="1.6"
android:fillColor="#00000000"
android:strokeColor="#545FF8"/>
<path
android:pathData="M38.08,32.971C36.666,32.971 35.52,34.117 35.52,35.531V38.091H66.88V35.531C66.88,34.117 65.734,32.971 64.32,32.971H38.08Z"
android:fillColor="#545FF8"
android:fillType="evenOdd"/>
</vector>
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (c) 2023 The Brave Authors. All rights reserved.
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this file,
You can obtain one at https://mozilla.org/MPL/2.0/.
-->

<vector xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:aapt="http://schemas.android.com/aapt"
android:width="96dp"
android:height="96dp"
android:viewportWidth="96"
android:viewportHeight="96">
<path
android:pathData="M48,0L48,0A48,48 0,0 1,96 48L96,48A48,48 0,0 1,48 96L48,96A48,48 0,0 1,0 48L0,48A48,48 0,0 1,48 0z">
<aapt:attr name="android:fillColor">
<gradient
android:startX="47.63"
android:startY="-15.63"
android:endX="48.613"
android:endY="152.939"
android:type="linear">
<item android:offset="0" android:color="#002A2ADE"/>
<item android:offset="1" android:color="#3F2A2ADE"/>
</gradient>
</aapt:attr>
</path>
</vector>
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (c) 2023 The Brave Authors. All rights reserved.
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this file,
You can obtain one at https://mozilla.org/MPL/2.0/.
-->

<vector xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:aapt="http://schemas.android.com/aapt"
android:width="96dp"
android:height="96dp"
android:viewportWidth="96"
android:viewportHeight="96">
<path
android:pathData="M48,0L48,0A48,48 0,0 1,96 48L96,48A48,48 0,0 1,48 96L48,96A48,48 0,0 1,0 48L0,48A48,48 0,0 1,48 0z">
<aapt:attr name="android:fillColor">
<gradient
android:startX="47.63"
android:startY="-15.63"
android:endX="48.613"
android:endY="152.939"
android:type="linear">
<item android:offset="0" android:color="#002A2ADE"/>
<item android:offset="1" android:color="#3F2A2ADE"/>
</gradient>
</aapt:attr>
</path>
</vector>
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (c) 2023 The Brave Authors. All rights reserved.
<!-- Copyright (c) 2025 The Brave Authors. All rights reserved.
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this file,
You can obtain one at https://mozilla.org/MPL/2.0/.
Expand All @@ -11,34 +11,11 @@
android:height="96dp"
android:viewportWidth="96"
android:viewportHeight="96">
<path
android:pathData="M48,0L48,0A48,48 0,0 1,96 48L96,48A48,48 0,0 1,48 96L48,96A48,48 0,0 1,0 48L0,48A48,48 0,0 1,48 0z">
<aapt:attr name="android:fillColor">
<gradient
android:startX="47.63"
android:startY="-15.63"
android:endX="48.613"
android:endY="152.939"
android:type="linear">
<item android:offset="0" android:color="#002A2ADE"/>
<item android:offset="1" android:color="#3F2A2ADE"/>
</gradient>
</aapt:attr>
</path>
<path
android:pathData="M38.24,33.2L64.24,33.2A2.8,2.8 0,0 1,67.04 36L67.04,70A2.8,2.8 0,0 1,64.24 72.8L38.24,72.8A2.8,2.8 0,0 1,35.44 70L35.44,36A2.8,2.8 0,0 1,38.24 33.2z"
android:strokeWidth="1.6"
android:fillColor="#00000000"
android:strokeColor="#545FF8"/>
<path
android:pathData="M31.76,23.84L57.76,23.84A2.8,2.8 0,0 1,60.56 26.64L60.56,62.64A2.8,2.8 0,0 1,57.76 65.44L31.76,65.44A2.8,2.8 0,0 1,28.96 62.64L28.96,26.64A2.8,2.8 0,0 1,31.76 23.84z"
android:strokeWidth="1.6"
android:fillColor="#00000000"
android:strokeColor="#545FF8"/>
<path
android:pathData="M38.08,32.971C36.666,32.971 35.52,34.117 35.52,35.531V38.091H66.88V35.531C66.88,34.117 65.734,32.971 64.32,32.971H38.08Z"
android:fillColor="#545FF8"
android:fillType="evenOdd"/>
<path
android:pathData="M29.12,26.56C29.12,25.146 30.266,24 31.68,24H57.92C59.334,24 60.48,25.146 60.48,26.56V29.12H29.12V26.56ZM32.96,25.28H31.68C31.51,25.28 31.347,25.347 31.228,25.468C31.107,25.587 31.04,25.75 31.04,25.92V27.2C31.04,27.37 31.107,27.533 31.228,27.653C31.347,27.773 31.51,27.84 31.68,27.84H32.96C33.13,27.84 33.293,27.773 33.412,27.653C33.533,27.533 33.6,27.37 33.6,27.2V25.92C33.6,25.75 33.533,25.587 33.412,25.468C33.293,25.347 33.13,25.28 32.96,25.28Z"
android:fillColor="#545FF8"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
import org.chromium.base.supplier.Supplier;
import org.chromium.chrome.browser.hub.ResourceButtonData;
import org.chromium.chrome.browser.incognito.reauth.IncognitoReauthController;
import org.chromium.chrome.browser.profiles.ProfileProvider;
import org.chromium.chrome.browser.tabmodel.TabGroupModelFilter;
import org.chromium.chrome.browser.ui.edge_to_edge.EdgeToEdgeController;
import org.chromium.chrome.browser.user_education.UserEducationHelper;
Expand All @@ -29,19 +28,17 @@ public class BraveIncognitoTabSwitcherPane extends IncognitoTabSwitcherPane {

public BraveIncognitoTabSwitcherPane(
@NonNull Context context,
@NonNull OneshotSupplier<ProfileProvider> profileProviderSupplier,
@NonNull TabSwitcherPaneCoordinatorFactory factory,
@NonNull Supplier<TabGroupModelFilter> incognitoTabModelFilterSupplier,
@NonNull Supplier<TabGroupModelFilter> incognitoTabGroupModelFilterSupplier,
@NonNull OnClickListener newTabButtonClickListener,
@Nullable OneshotSupplier<IncognitoReauthController> incognitoReauthControllerSupplier,
@NonNull DoubleConsumer onToolbarAlphaChange,
@NonNull UserEducationHelper userEducationHelper,
@NonNull ObservableSupplier<EdgeToEdgeController> edgeToEdgeSupplier) {
super(
context,
profileProviderSupplier,
factory,
incognitoTabModelFilterSupplier,
incognitoTabGroupModelFilterSupplier,
newTabButtonClickListener,
incognitoReauthControllerSupplier,
onToolbarAlphaChange,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,8 @@
import androidx.annotation.NonNull;

import org.chromium.base.supplier.ObservableSupplier;
import org.chromium.base.supplier.OneshotSupplier;
import org.chromium.chrome.browser.hub.HubContainerView;
import org.chromium.chrome.browser.hub.HubLayoutAnimatorProvider;
import org.chromium.chrome.browser.profiles.ProfileProvider;
import org.chromium.chrome.browser.tab.Tab;
import org.chromium.chrome.browser.tasks.tab_management.TabListCoordinator.TabListMode;
import org.chromium.chrome.browser.ui.edge_to_edge.EdgeToEdgeController;
Expand All @@ -24,15 +22,13 @@
public abstract class BraveTabSwitcherPaneBase extends TabSwitcherPaneBase {
BraveTabSwitcherPaneBase(
@NonNull Context context,
@NonNull OneshotSupplier<ProfileProvider> profileProviderSupplier,
@NonNull TabSwitcherPaneCoordinatorFactory factory,
boolean isIncognito,
@NonNull DoubleConsumer onToolbarAlphaChange,
@NonNull UserEducationHelper userEducationHelper,
@NonNull ObservableSupplier<EdgeToEdgeController> edgeToEdgeSupplier) {
super(
context,
profileProviderSupplier,
factory,
isIncognito,
onToolbarAlphaChange,
Expand Down
Loading
Loading