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 133 to Chromium 134 #27172

Merged
merged 104 commits into from
Feb 18, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
104 commits
Select commit Hold shift + click to select a range
8ae1fb3
Update from Chromium 133.0.6943.98 to Chromium 134.0.6998.15.
cdesouza-chromium Jan 8, 2025
6bfb9b1
Conflict-resolved patches from Chromium 133.0.6943.98 to Chromium 134…
cdesouza-chromium Jan 8, 2025
9ffec9e
[cr134] Override for prefetto categories simplified
cdesouza-chromium Jan 8, 2025
85836f7
[cr134] `tabs/dragging/` introduced
cdesouza-chromium Jan 9, 2025
995f1e0
[cr134] Update `BraveContentBrowserClient` MPArch overrides
cdesouza-chromium Jan 9, 2025
30d65d2
[cr134] `RealboxHandler` ctor dropped lens searchbox arg
cdesouza-chromium Jan 9, 2025
1ba166c
[cr134] `LocalFrame::NotifyUserActivation` dropped last arg
cdesouza-chromium Jan 9, 2025
0fc51c1
[cr134] `KeywordProvider::SplitKeywordFromInput` deleted
cdesouza-chromium Jan 9, 2025
0158390
`gnrt` run for Chromium 134.0.6944.2
cdesouza-chromium Jan 9, 2025
878c9b1
[cr134] `GaiaId` a strong type
cdesouza-chromium Jan 13, 2025
573afea
[cr134] IWYU fixes
cdesouza-chromium Jan 13, 2025
d4ba8a3
[cr134] Use `GetTabSearchButton`
cdesouza-chromium Jan 13, 2025
271f3af
[cr134] Use `search_engine_utils` namespace for overrided
cdesouza-chromium Jan 13, 2025
c6fb9b4
[cr134][v8] Use `Utf8LengthV2`
cdesouza-chromium Jan 13, 2025
dd23ff2
[cr134] `kReduceCookieIPCs` deleted
cdesouza-chromium Jan 14, 2025
77e834f
[cr134] `AddComponentResourceEntries` taking a span
cdesouza-chromium Jan 14, 2025
3c295aa
[cr134] [Android] DataSharingTabManager arg at ShareDelegateImpl.ctor
AlexeyBarabash Jan 13, 2025
2c0b516
[cr134] [Android] Adopt Java class GaiaId to improve type safety
AlexeyBarabash Jan 13, 2025
104b865
[cr134] `RemoteSuggestionsService` ctor added args
cdesouza-chromium Jan 14, 2025
111f980
[cr134] Fix `-Wshadow` failures in v8 shadow files
cdesouza-chromium Jan 15, 2025
bf46f9e
Reanchor override now that GetMatchWithUrl has moved to a different c…
emerick Jan 15, 2025
b2c3fe9
Remove obsolete prefs::kPrivacySandboxApisEnabledV2 preference
emerick Jan 15, 2025
b86262f
Update build patch to handle renamed variable (exec_script_whitelist …
emerick Jan 16, 2025
544c636
Filter upstream tests as needed
emerick Jan 16, 2025
223b98e
[cr134][blink] `isPointInPath`/`isPointInStroke` patching moved
cdesouza-chromium Jan 16, 2025
6e91978
[cr134] `SearchEngineChoiceService` requires regional capabilities
cdesouza-chromium Jan 17, 2025
2d456ba
[cr134] `ChooseNameForNewProfile` simplified with no args
cdesouza-chromium Jan 17, 2025
187ca50
[cr134] `BookmarkBarView::bookmark_service_` moved
cdesouza-chromium Jan 17, 2025
16cf200
[cr134] `kSigninOnDesktopLearnMoreURL` impl
cdesouza-chromium Jan 17, 2025
885a953
[cr134] [Android] Some args changed from Supplier to ObservableSupplier:
AlexeyBarabash Jan 16, 2025
7125b6f
[cr134] [Android] changes at PermissionPromptAndroid class
AlexeyBarabash Jan 16, 2025
12bcebf
[cr134] [Android] Removed TabModelSelectorObserver.onTabModelSelected
AlexeyBarabash Jan 16, 2025
24a0069
[cr134] `prepopulated_engines.json` under 3p path
cdesouza-chromium Jan 17, 2025
c7b6696
[cr134] `prepopulated_engines` gn target now under 3p
cdesouza-chromium Jan 17, 2025
0e7743e
[cr134] `kDIPS` renamed to `kBtm`
cdesouza-chromium Jan 20, 2025
9c27c37
[cr134] [Android] New edgeToEdgeSupplier arg at HubManagerImpl.ctor
AlexeyBarabash Jan 20, 2025
7a69c47
[cr134] [Android] PermissionPromptAndroid::GetIconId() is now virtual
AlexeyBarabash Jan 20, 2025
96f17c0
[cr134] [Android] Return type of PermissionDialogDelegate::Create cha…
AlexeyBarabash Jan 20, 2025
3e69b6b
[cr134] [Android] Changes at ui::ViewAndroid class
AlexeyBarabash Jan 20, 2025
7634986
[cr134] `HistogramBase::Sample` now `Sample32`
cdesouza-chromium Jan 21, 2025
a0e1f1e
[cr134] [Android] ClearBrowsingDataFragmentAdvanced was removed
AlexeyBarabash Jan 21, 2025
d17e71b
[cr134] [Android] Changes at TabSwitcherPaneBase
AlexeyBarabash Jan 21, 2025
6bac559
[cr134] [Android] Attribute supports_android removed from third_part…
AlexeyBarabash Jan 21, 2025
4f8b401
[Android] [cr134] Removed REPLACE_SYNC_PROMOS_WITH_SIGN_IN_PROMOS flag
AlexeyBarabash Jan 21, 2025
95388ac
[cr134] Adjust java test patch exclusions
cdesouza-chromium Jan 22, 2025
99ed493
[cr134] `GetTooltipText` now `GetRenderedTooltipText`
cdesouza-chromium Jan 22, 2025
4d6e57f
[cr134][WIP] Fix `TabDragController` tab dragging calculation
cdesouza-chromium Jan 22, 2025
ba81f2e
[cr134] `EntityData` passed for sync entry deletion
cdesouza-chromium Jan 22, 2025
6d8586b
[cr134] `EventTypes` now a scoped enum
cdesouza-chromium Jan 22, 2025
0ce6f1a
[cr134] `ExclusionReason` now a scoped enum
cdesouza-chromium Jan 22, 2025
cb34564
[cr134] `side_search_param`/`side_image_search_param` removed
cdesouza-chromium Jan 22, 2025
9ae7949
[Android] [cr134] New arg compositorViewHolderSupplier at TabSwitcher…
AlexeyBarabash Jan 22, 2025
fd7d83e
[cr134] Reverting login db upstream fix for build flags
cdesouza-chromium Jan 23, 2025
ad47042
`gnrt` run for Chromium 134.0.6974.3
cdesouza-chromium Jan 23, 2025
ef875b5
Revert "[Android] Disable quick delete flag"
AlexeyBarabash Jan 24, 2025
8681222
[Android] [cr134] New arg browserControlsStateProvider at LocationBar…
AlexeyBarabash Jan 24, 2025
01f4643
[Android] [cr134] Fixed AssertEqualsArgumentOrderChecker warnings
AlexeyBarabash Jan 27, 2025
9880701
[cr134] `ShouldUpgradeToSSL` added `is_top_level_nav`
cdesouza-chromium Jan 28, 2025
7031887
[cr134] `WriteBookmarks` taking a callback
cdesouza-chromium Jan 28, 2025
6c6b70c
[cr134] `version_ui` moved under `webui/`
cdesouza-chromium Jan 28, 2025
273ae4e
[cr134] `ContentsLayoutManager` requires a scrim view
cdesouza-chromium Jan 28, 2025
dc58b59
`gnrt` run for Chromium 134.0.6984.1
cdesouza-chromium Jan 28, 2025
cf2ea2f
[cr134] [Android] TemplateUrlService.isEeaChoiceCountry was removed
AlexeyBarabash Jan 28, 2025
6f51da0
[cr134] [Android] Port to/improve compat with std::ranges::: chrome/
AlexeyBarabash Jan 28, 2025
fcaeb2b
[cr134] [Android] Changes related to InterceptNavigationDelegate.Shou…
AlexeyBarabash Jan 28, 2025
50e291f
[cr134] [Android] Use callback rather than observer interface in Book…
AlexeyBarabash Jan 28, 2025
4d9b201
[cr134] [Android] Methods removed from AutofillProfile
AlexeyBarabash Jan 29, 2025
e03a650
[cr134] `IsHSTSActiveForHost` added top level arg
cdesouza-chromium Jan 29, 2025
b8d4dfc
[cr134] `Pause/ResumeReadingBodyFromNet` removed
cdesouza-chromium Jan 29, 2025
8672f9a
[cr134] `PermissionContextBase::CleanUpRequest` with `WebContents`
cdesouza-chromium Jan 29, 2025
99054d0
[cr134] Use `web_contents()` with security intestitial controller
cdesouza-chromium Jan 29, 2025
0536cfb
[cr134] `blink::WebVector` deleted
cdesouza-chromium Jan 29, 2025
da296bf
[cr134] Revert patching of Memory Pressure fix
cdesouza-chromium Jan 29, 2025
03815de
[cr134] Prempting `SetTextColor` unwanted substitution
cdesouza-chromium Jan 31, 2025
ef22e6c
[cr134] Deleting all `base::ranges` uses
cdesouza-chromium Jan 31, 2025
66832d8
[cr134] [Android] New arg at StatusBarColorController.ctor - edgeToEd…
AlexeyBarabash Jan 30, 2025
d6b2818
[cr134] Fix `std::range` migration breakages
cdesouza-chromium Jan 31, 2025
3fe8d72
[cr134] `AddTabGroup` to be done through `TabStripModel`
cdesouza-chromium Jan 31, 2025
a88bbbd
Add missing DEPS
emerick Jan 31, 2025
38a78eb
[cr134] [Android] ScrimManager instead of ScrimCoordinator
AlexeyBarabash Jan 31, 2025
f5a65e7
LitHtml and library files shortened to just Lit
emerick Jan 31, 2025
3825a0d
Adjust resource_ids.spec
emerick Feb 1, 2025
fc57d20
Replace ScopedHICON with underlying templatized type
emerick Feb 1, 2025
72829dc
[cr134] `BrowserViewLayout` passing `scrim_window` arg
cdesouza-chromium Feb 3, 2025
db34bf2
[cr134] `GetAvatarIcon` arglist to pass `ColorProvider`
cdesouza-chromium Feb 3, 2025
1dce2a2
[cr134] `PermissionsPolicyFeature` moved to `network::`
cdesouza-chromium Feb 3, 2025
ac52c70
[cr134] `BlobURLStoreImpl` passing `is_top_level_navigation`
cdesouza-chromium Feb 3, 2025
b72c5d7
[cr134] Fix `ReplaceStringPlaceholders` single arg call
cdesouza-chromium Feb 3, 2025
3ef9fd8
Explicitly call CreateGlobalFeaturesForTesting as needed from tests
emerick Feb 4, 2025
7b8e2f5
[cr134] [Android] Fixed BravePrivacySettingsTest.testParentItems
AlexeyBarabash Feb 4, 2025
4895a38
[cr134] Dropping test-only patching for some rust crates
cdesouza-chromium Feb 5, 2025
49a1208
Reapply "[cr134] `gfx::VectorIcon` cannot be default constructed"
cdesouza-chromium Feb 5, 2025
889e26c
[cr134] `CookieMonster` added `pref_delegate` ctor arg
cdesouza-chromium Feb 5, 2025
28ffddc
[cr134] `sync:os_crypt` merged into `sync`
cdesouza-chromium Feb 5, 2025
42a2616
[cr134] `DatabaseOptions` now to use a default ctor
cdesouza-chromium Feb 5, 2025
3a74bd2
[cr134] Whitelist native mojom types for migration
cdesouza-chromium Feb 5, 2025
8a8b91f
Reanchor override for LocalOrSyncableBookmarkSyncServiceFactory
emerick Feb 10, 2025
34a2fa4
Removed patch which excluded IncognitoDescriptionViewRenderTest.java
AlexeyBarabash Feb 12, 2025
fd583e6
Update patches from Chromium 133.0.6943.98 to Chromium 134.0.6998.15.
cdesouza-chromium Feb 13, 2025
49b125f
Updated strings for Chromium 134.0.6998.15.
cdesouza-chromium Feb 13, 2025
e3390f3
[cr134][Android] Forcibly turned off ClearBrowsingDataAndroidSurvey f…
AlexeyBarabash Feb 13, 2025
1f0ae53
Directly applied patch from upstream, null check for PersistentNotifi…
AlexeyBarabash Feb 13, 2025
58df3cd
IWYU: TabDataWebContentsObserver must include web_contents.h
emerick Feb 14, 2025
c0bdcd9
Disable/enable features flagged by privacy/security team
emerick Feb 14, 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
  •  
  •  
  •  
3 changes: 1 addition & 2 deletions android/brave_java_sources.gni
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ brave_java_sources = [
"../../brave/android/java/org/chromium/chrome/browser/brave_news/models/FeedItemsCard.java",
"../../brave/android/java/org/chromium/chrome/browser/brave_stats/BraveStatsBottomSheetDialogFragment.java",
"../../brave/android/java/org/chromium/chrome/browser/brave_stats/BraveStatsUtil.java",
"../../brave/android/java/org/chromium/chrome/browser/browsing_data/BraveClearBrowsingDataFragmentAdvanced.java",
"../../brave/android/java/org/chromium/chrome/browser/browsing_data/BraveClearBrowsingDataFragment.java",
"../../brave/android/java/org/chromium/chrome/browser/compositor/layouts/BraveToolbarSwipeLayout.java",
"../../brave/android/java/org/chromium/chrome/browser/contextmenu/BraveChromeContextMenuPopulator.java",
"../../brave/android/java/org/chromium/chrome/browser/cosmetic_filters/BraveCosmeticFiltersUtils.java",
Expand Down Expand Up @@ -387,7 +387,6 @@ brave_java_sources = [
"../../brave/android/java/org/chromium/chrome/browser/settings/BraveWebrtcPolicyPreferencesFragment.java",
"../../brave/android/java/org/chromium/chrome/browser/settings/MediaPreferences.java",
"../../brave/android/java/org/chromium/chrome/browser/settings/NetworkPreferenceAdapter.java",
"../../brave/android/java/org/chromium/chrome/browser/settings/SearchEngineTabModelSelectorObserver.java",
"../../brave/android/java/org/chromium/chrome/browser/settings/SearchPreference.java",
"../../brave/android/java/org/chromium/chrome/browser/settings/developer/BraveQAPreferences.java",
"../../brave/android/java/org/chromium/chrome/browser/settings/developer/BraveRewardsDebugPreferences.java",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
import org.chromium.base.supplier.ObservableSupplier;
import org.chromium.base.supplier.OneshotSupplier;
import org.chromium.base.supplier.Supplier;
import org.chromium.chrome.browser.compositor.CompositorViewHolder;
import org.chromium.chrome.browser.hub.ResourceButtonData;
import org.chromium.chrome.browser.incognito.reauth.IncognitoReauthController;
import org.chromium.chrome.browser.tabmodel.TabGroupModelFilter;
Expand All @@ -34,7 +35,8 @@ public BraveIncognitoTabSwitcherPane(
@Nullable OneshotSupplier<IncognitoReauthController> incognitoReauthControllerSupplier,
@NonNull DoubleConsumer onToolbarAlphaChange,
@NonNull UserEducationHelper userEducationHelper,
@NonNull ObservableSupplier<EdgeToEdgeController> edgeToEdgeSupplier) {
@NonNull ObservableSupplier<EdgeToEdgeController> edgeToEdgeSupplier,
@NonNull ObservableSupplier<CompositorViewHolder> compositorViewHolderSupplier) {
super(
context,
factory,
Expand All @@ -43,7 +45,8 @@ public BraveIncognitoTabSwitcherPane(
incognitoReauthControllerSupplier,
onToolbarAlphaChange,
userEducationHelper,
edgeToEdgeSupplier);
edgeToEdgeSupplier,
compositorViewHolderSupplier);

ResourceButtonData newReferenceButtonData =
new ResourceButtonData(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
import org.chromium.chrome.browser.toolbar.bottom.BottomControlsCoordinator;
import org.chromium.chrome.tab_ui.R;
import org.chromium.components.browser_ui.bottomsheet.BottomSheetController;
import org.chromium.components.browser_ui.widget.scrim.ScrimCoordinator;
import org.chromium.components.browser_ui.widget.scrim.ScrimManager;
import org.chromium.ui.modaldialog.ModalDialogManager;
import org.chromium.ui.widget.ChromeImageView;

Expand All @@ -40,7 +40,7 @@ public BraveTabGroupUiCoordinator(
@NonNull Activity activity,
@NonNull ViewGroup parentView,
@NonNull BrowserControlsStateProvider browserControlsStateProvider,
@NonNull ScrimCoordinator scrimCoordinator,
@NonNull ScrimManager scrimManager,
@NonNull ObservableSupplier<Boolean> omniboxFocusStateSupplier,
@NonNull BottomSheetController bottomSheetController,
@NonNull DataSharingTabManager dataSharingTabManager,
Expand All @@ -54,7 +54,7 @@ public BraveTabGroupUiCoordinator(
activity,
parentView,
browserControlsStateProvider,
scrimCoordinator,
scrimManager,
omniboxFocusStateSupplier,
bottomSheetController,
dataSharingTabManager,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
import androidx.annotation.NonNull;

import org.chromium.base.supplier.ObservableSupplier;
import org.chromium.chrome.browser.compositor.CompositorViewHolder;
import org.chromium.chrome.browser.hub.HubContainerView;
import org.chromium.chrome.browser.hub.HubLayoutAnimatorProvider;
import org.chromium.chrome.browser.tab.Tab;
Expand All @@ -26,21 +27,23 @@ public abstract class BraveTabSwitcherPaneBase extends TabSwitcherPaneBase {
boolean isIncognito,
@NonNull DoubleConsumer onToolbarAlphaChange,
@NonNull UserEducationHelper userEducationHelper,
@NonNull ObservableSupplier<EdgeToEdgeController> edgeToEdgeSupplier) {
@NonNull ObservableSupplier<EdgeToEdgeController> edgeToEdgeSupplier,
@NonNull ObservableSupplier<CompositorViewHolder> compositorViewHolderSupplier) {
super(
context,
factory,
isIncognito,
onToolbarAlphaChange,
userEducationHelper,
edgeToEdgeSupplier);
edgeToEdgeSupplier,
compositorViewHolderSupplier);
}

@Override
public @NonNull HubLayoutAnimatorProvider createHideHubLayoutAnimatorProvider(
@NonNull HubContainerView hubContainerView) {
int tabId = getCurrentTabId();
if (getTabListMode() != TabListMode.LIST && tabId != Tab.INVALID_TAB_ID) {
Tab tab = getCurrentTab();
if (getTabListMode() != TabListMode.LIST && tab != null) {
// Force call TabSwitcherPaneBase.createTabSwitcherPaneCoordinator
// to ensure TabSwitcherPaneBase.mTabSwitcherPaneCoordinatorSupplier is set
super.createTabSwitcherPaneCoordinator();
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version='1.0' encoding='UTF-8'?>
<!-- android_chrome_strings.grd contains strings for tab ui DFM of Brave for Android. -->
<!--This file is created by l10nUtil.js. Do not edit manually.-->
<grit current_release="1" latest_public_release="0" output_all_resource_defines="false">
<grit current_release="1" latest_public_release="0">
<outputs>
<output filename="values-af/android_chrome_tab_ui_strings.xml" lang="af" type="android" />
<output filename="values-am/android_chrome_tab_ui_strings.xml" lang="am" type="android" />
Expand Down Expand Up @@ -201,6 +201,9 @@
<message name="IDS_TAB_GRID_MANAGE_BUTTON_TEXT" desc="Text for managing the sharing of the current tab group from the tab group dialog toolbar.">
Manage
</message>
<message name="IDS_MANAGE_SHARING_CONTENT_DESCRIPTION" desc="Content description for the account avatar button that manages sharing for a shared tab group.">
Manage sharing
</message>

<!-- Bottom Tab Strip strings -->
<message name="IDS_ACCESSIBILITY_BOTTOM_TAB_STRIP_EXPAND_TAB_SHEET" desc="Accessibility string for BottomTabStripToolbar button indicated visually by the '^' sign.">
Expand All @@ -212,6 +215,29 @@
Tab Switcher
</message>

<!-- Tab Group Share Notice Bottom Sheet -->
<message name="IDS_TAB_GROUP_SHARE_NOTICE_BOTTOM_SHEET_CONTENT_DESCRIPTION" desc="The description of the Tab Group Share Notice bottom sheet.">
Notice: Changes to this shared Tab Group are visible to everyone. Everyone can make changes to your shared tab groups
</message>
<message name="IDS_TAB_GROUP_SHARE_NOTICE_BOTTOM_SHEET_HALF_HEIGHT" desc="The announcement when the Tab Group Share Notice bottom sheet is opened to half height.">
Notice about Shared Tab Group changes at half height
</message>
<message name="IDS_TAB_GROUP_SHARE_NOTICE_BOTTOM_SHEET_FULL_HEIGHT" desc="The announcement when the Tab Group Share Notice bottom sheet is opened to full height.">
Notice about Shared Tab Group changes opened at full height
</message>
<message name="IDS_TAB_GROUP_SHARE_NOTICE_BOTTOM_SHEET_CLOSED" desc="The announcement when the Tab Group Share Notice bottom sheet is closed.">
Notice about Shared Tab Group changes closed
</message>
<message name="IDS_TAB_GROUP_SHARE_NOTICE_BOTTOM_SHEET_TITLE" desc="Title text for the Tab Group Share Notice bottom sheet.">
Everyone can make changes to your shared tab groups
</message>
<message name="IDS_TAB_GROUP_SHARE_NOTICE_BOTTOM_SHEET_SUBTITLE" desc="Subtitle text for the Tab Group Share Notice bottom sheet.">
Changes made are seen by everyone in the group
</message>
<message name="IDS_TAB_GROUP_SHARE_NOTICE_BOTTOM_SHEET_BUTTON_TEXT" desc="Text for the confirm button on the Tab Group Share Notice bottom sheet.">
Got it
</message>

<!-- Tab Selection Editor strings -->
<message name="IDS_TAB_SELECTION_EDITOR_TOOLBAR_SELECT_TABS" desc="Label shown on Tab Selection Editor Toolbar asking user to select tabs from the list.">
Select tabs
Expand Down Expand Up @@ -718,17 +744,20 @@
<message name="IDS_DELETE_TAB_GROUP_MENU_ITEM" desc="Menu item text which will prompt a confirmation dialog to delete a tab group.">
Delete
</message>
<message name="IDS_DELETE_SHARED_TAB_GROUP_DIALOG_TITLE" desc="Title of a dialog asking if the user really wants to delete a tab group that is shared with other users.">
Delete group?
</message>
<message name="IDS_DELETE_SHARED_TAB_GROUP_DESCRIPTION" desc="Menu item text which will prompt a confirmation dialog to delete a tab group that is shared with other users.">
Everyone will immediately lose access to the <ph name="GROUP_NAME">%1$s<ex>Vacation</ex></ph> tab group, and it will be deleted from all devices
Everyone will immediately lose access to the "<ph name="GROUP_NAME">%1$s<ex>Vacation</ex></ph>" tab group, and it will be deleted from all devices
</message>
<message name="IDS_LEAVE_TAB_GROUP_MENU_ITEM" desc="Menu item text for an item which will leave a group the user does not own.">
Leave
</message>
<message name="IDS_LEAVE_TAB_GROUP_DIALOG_TITLE" desc="Title of a dialog asking if the user really wants to leave a shared tab group.">
Leave tab group?
Leave group?
</message>
<message name="IDS_LEAVE_TAB_GROUP_DESCRIPTION" desc="Description of the action of leaving a shared tab group, shown in a confirmation dialog.">
You’ll immediately lose access to the <ph name="GROUP_NAME">%1$s<ex>Vacation</ex></ph> tab group
You’ll immediately lose access to the "<ph name="GROUP_NAME">%1$s<ex>Vacation</ex></ph>" tab group, and it will be deleted from all your devices
</message>
<message name="IDS_UNGROUP_TAB_GROUP_DIALOG_TITLE" desc="Title of a dialog asking if the user really wants to ungroup all tabs in a group.">
Ungroup tab group?
Expand Down Expand Up @@ -784,17 +813,15 @@
Close tab and delete group?
</message>
<message name="IDS_KEEP_TAB_GROUP_DIALOG_TITLE" desc="Title of a dialog asking the user if they want to keep the tab group.">
Keep tab group?
Keep group?
</message>
<message name="IDS_KEEP_TAB_GROUP_DIALOG_DESCRIPTION_OWNER" desc="Main text content of a dialog asking the owner of a shared group if they want to keep it. The &#10; is a newline character to force formatting.">
Keep this group to add tabs later, or delete it if you no longer need it.

If you delete it, everyone will immediately lose access to the "<ph name="TITLE_OF_GROUP">%1$s<ex>Shopping cart</ex></ph>" tab group, and it will be deleted from all devices.
</message>
<message name="IDS_KEEP_TAB_GROUP_DIALOG_DESCRIPTION_MEMBER" desc="Main text content of a dialog asking a member of a shared group if they want to keep it or leave. The &#10; is a newline character to force formatting.">
Keep this group to add tabs later, or leave.

If you leave, you will immediately lose access to the "<ph name="TITLE_OF_GROUP">%1$s<ex>Shopping cart</ex></ph>" tab group.
<message name="IDS_KEEP_TAB_GROUP_DIALOG_DESCRIPTION_MEMBER" desc="Main text content of a dialog asking a member of a shared group if they want to keep it or leave.">
Keep this group to add tabs later, or leave it if you no longer want access to it
</message>
<message name="IDS_KEEP_TAB_GROUP_DIALOG_KEEP_ACTION" desc="Action button to keep the tab group in the keep group dialog.">
Keep group
Expand Down Expand Up @@ -865,6 +892,9 @@ If you leave, you will immediately lose access to the "<ph name="TITLE_OF_GROUP"
<message name="IDS_TAB_GROUP_MENU_ACCESSIBILITY_TEXT" desc="Content description for accessibility to describe the action of tapping on the more menu button.">
<ph name="TITLE_OF_GROUP">%s<ex>shopping</ex></ph> tab group options
</message>
<message name="IDS_TAB_GROUP_SHARE_NOTIFICATION_BUBBLE_IPH" desc="IPH text highlighting notification bubble displayed on the tablet tab strip when a shared tab group receives updates from other members.">
Changes made are seen by everyone in the group
</message>

<!-- Tabs Settings Strings -->
<message name="IDS_TABS_SETTINGS_TITLE" desc="A title to show in the top toolbar when the Tabs settings page is open.">
Expand Down Expand Up @@ -953,6 +983,18 @@ If you leave, you will immediately lose access to the "<ph name="TITLE_OF_GROUP"
<message name="IDS_ACCESSIBILITY_ARCHIVED_TABS_DIALOG" desc="Accessibility string for archived tabs dialog. This string is announced when the Tab Selection Editor is shown to screen.">
Inactive tabs dialog
</message>

<message name="IDS_SEND_FEEDBACK_TAB_GRID_DIALOG" desc="Button to send feedback on shared tab groups.">
Send feedback
</message>

<!-- Tab Group Removed Message Strings -->
<message name="IDS_TAB_GROUP_REMOVED_MESSAGE_CARD_DESCRIPTION" desc="Description text on the message card which is shown when user is no longer a part of the tab group. [CHAR_LIMIT=40]">
<ph name="TAB_GROUP_NAME">%1$s<ex>Vacation</ex></ph> tab group no longer available
</message>
<message name="IDS_ACCESSIBILITY_TAB_GROUP_REMOVED_DISMISS_BUTTON" desc="The accessibility text to read when the 'X' button on the tab removed message card is focused">
Dismiss the card.
</message>
</messages>
</release>
</grit>
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version='1.0' encoding='UTF-8'?>
<!-- android_chrome_strings.grd contains strings for tab ui DFM of Brave for Android. -->
<grit current_release="1" latest_public_release="0" output_all_resource_defines="false">
<grit current_release="1" latest_public_release="0">
<translations>
<file path="translations/android_chrome_tab_ui_strings_override_af.xtb" lang="af" />
<file path="translations/android_chrome_tab_ui_strings_override_am.xtb" lang="am" />
Expand Down
2 changes: 1 addition & 1 deletion android/java/apk_for_test.flags
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@
*** mFullscreenManager;
*** mActivityTabProvider;
*** mAppThemeColorProvider;
*** mScrimCoordinator;
*** mScrimManager;
*** mMenuButtonCoordinator;
*** mToolbarTabController;
*** mLocationBar;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -156,54 +156,57 @@ private void fillAddressAutoFill(Context context, Map<String, AutofillId> fields

Map<AutofillId, String> autofillDataMap = new HashMap<>();
addAutofillDataMap(
fields, View.AUTOFILL_HINT_NAME, profile.getFullName(), autofillDataMap);
fields,
View.AUTOFILL_HINT_NAME,
profile.getInfo(FieldType.NAME_FULL),
autofillDataMap);
addAutofillDataMap(
fields,
View.AUTOFILL_HINT_EMAIL_ADDRESS,
profile.getEmailAddress(),
profile.getInfo(FieldType.EMAIL_ADDRESS),
autofillDataMap);
addAutofillDataMap(
fields,
View.AUTOFILL_HINT_PHONE,
profile.getPhoneNumber().replaceAll("\\s", ""),
profile.getInfo(FieldType.PHONE_HOME_WHOLE_NUMBER).replaceAll("\\s", ""),
autofillDataMap);
addAutofillDataMap(
fields,
View.AUTOFILL_HINT_POSTAL_ADDRESS,
profile.getStreetAddress(),
profile.getInfo(FieldType.ADDRESS_HOME_STREET_ADDRESS),
autofillDataMap);
addAutofillDataMap(
fields,
View.AUTOFILL_HINT_POSTAL_CODE,
profile.getPostalCode(),
profile.getInfo(FieldType.ADDRESS_HOME_ZIP),
autofillDataMap);
addAutofillDataMap(
fields,
context.getResources().getString(R.string.city),
profile.getLocality(),
profile.getInfo(FieldType.ADDRESS_HOME_CITY),
autofillDataMap);
addAutofillDataMap(
fields,
context.getResources().getString(R.string.state),
profile.getRegion(),
profile.getInfo(FieldType.ADDRESS_HOME_STATE),
autofillDataMap);
addAutofillDataMap(
fields,
context.getResources().getString(R.string.company),
profile.getCompanyName(),
profile.getInfo(FieldType.COMPANY_NAME),
autofillDataMap);
addAutofillDataMap(
fields,
context.getResources().getString(R.string.country),
profile.getCountryCode(),
profile.getInfo(FieldType.ADDRESS_HOME_COUNTRY),
autofillDataMap);
if (autofillDataMap != null && !autofillDataMap.isEmpty()) {
Dataset.Builder dataset = new Dataset.Builder();
for (Map.Entry<AutofillId, String> autofillData : autofillDataMap.entrySet()) {
String title = autofillData.getValue();
String subtitle = profile.getStreetAddress();
String subtitle = profile.getInfo(FieldType.ADDRESS_HOME_STREET_ADDRESS);
if (title.equals(subtitle)) {
subtitle = profile.getFullName();
subtitle = profile.getInfo(FieldType.NAME_FULL);
}
RemoteViews presentation =
new RemoteViews(mPackageName, R.layout.brave_autofill_service_item);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
import org.chromium.ui.text.SpanApplier;
import org.chromium.ui.text.SpanApplier.SpanInfo;

public class BraveClearBrowsingDataFragmentAdvanced extends ClearBrowsingDataFragmentAdvanced {
public class BraveClearBrowsingDataFragment extends ClearBrowsingDataFragment {
ClearBrowsingDataCheckBoxPreference mClearAIChatDataCheckBoxPreference;

@Override
Expand Down Expand Up @@ -106,6 +106,7 @@ private Callback<View> clearBraveAdsDataCallback() {
@Override
protected void onClearBrowsingData() {
super.onClearBrowsingData();

if (mClearAIChatDataCheckBoxPreference != null
&& mClearAIChatDataCheckBoxPreference.isChecked()) {
Profile profile = getProfile();
Expand Down
Loading
Loading