Compare commits

...

24 Commits

Author SHA1 Message Date
wukko b06b34b5e9 revision: bump to 2 (#573) 2025-12-07 14:55:31 +06:00
wukko b102956f52 revision: bump to 2 2025-12-07 14:52:24 +06:00
jj 1676a4071e patches/spellcheck: update error to mention helium services (#572) 2025-12-07 09:40:46 +01:00
wukko 9b49458bc2 helium/ui: keep pinned extensions in CAT & reduce grab handle (#562) 2025-12-04 21:15:46 +06:00
wukko b3733ec6aa helium/cat: remove tab strip grab handle
cuz it takes up too much of precious space
2025-12-04 16:20:56 +06:00
wukko ac863716dd helium/cat: prevent pinned extensions from shrinking 2025-12-04 16:20:25 +06:00
wukko 05ab79d610 helium/ui/grab-handle: slightly reduce the size 2025-12-04 15:51:18 +06:00
wukko e67c0db58f patches: move everything from contrib to root dir (#557)
now all chromium patches in all helium repos follow
the same dir pattern: `<vendor>/<group>/<...>/<patch>`

and there's no longer a "contrib" dir which was admittedly
kind of confusing
2025-12-04 01:43:34 +06:00
wukko 8041351f2b merge: update to chromium 143.0.7499.40 (#544) 2025-12-03 23:38:34 +06:00
wukko 2fd8ab8736 revision: reset to 1 2025-12-03 23:22:46 +06:00
wukko bb720ee09f helium/settings: remove dead sections from profiles page
prevents dead section flickering on page init
2025-12-03 23:20:20 +06:00
wukko 3175ba89bd helium/ui: merge two caption button bounds patches
and remove the windows (os) workaround cuz the new layout doesn't use it
2025-12-03 23:20:20 +06:00
wukko 1d218c894b helium/ui/cat: reduce horizontal toolbar margin 2025-12-03 23:20:20 +06:00
wukko 3e07bd785f helium/ui: fix caption bounds (only on macos for now)
merged the related patch from macOS repo into this one and added new changes. it makes sense to keep it here as it's a "main helium" kind of change, not some platform quirk.

i'm not sure whether macOS 15 bounds are correct, however, so this will probably be patched up more in the future.
2025-12-03 23:20:19 +06:00
wukko a3072fedab upstream-fixes: fix broken fullscreen ui on macos
caption buttons bounds were incorrectly interpreted and this patch (crrev.com/1538756) fixes it by always using hard-coded constants
2025-12-03 23:20:19 +06:00
wukko a749a3e3e2 helium/ui: fix toolbar padding due to upstream changes
...again
2025-12-03 23:20:19 +06:00
wukko d145111dd0 helium/core/exclude-flags: remove irrelevant flags added in M143 2025-12-03 23:20:19 +06:00
wukko 2ce45ab9f2 patches: refresh and update for chromium 143.0.7499.40 2025-12-03 23:20:19 +06:00
wukko ab9a39c516 merge: update to ungoogled-chromium 143.0.7499.40 2025-12-03 23:19:47 +06:00
Blaise 7b77584e8c Update to Chromium 143.0.7499.40 2025-12-02 14:14:43 -06:00
jj bcf3330b42 patches/fixes: clean up obsolete upstream fixes
These are not needed anymore AFAICT, ungoogled-chromium
builds fine for me on Linux and macOS without them.
2025-11-30 20:26:37 +00:00
jj a2d63db83b patches/bangs: accept trailing bangs with enter key (#530) 2025-11-29 16:14:40 +01:00
Sheng c94c96e62e Fix zip compression level (#3555) 2025-11-27 09:17:28 -06:00
jj aebf0a4387 devutils/platform_patches: update shared patches instead of deleting
Instead of deleting copies of generic patches when unmerging them
from platform patches, move them back into the shared repository.

This makes it much more pleasant and ergonomic to work on patches
as a merged series, and allows to e.g. refresh existing patches
without having to move them back to the original folder manually.
2025-11-21 17:45:08 +00:00
203 changed files with 2483 additions and 2103 deletions
+1 -1
View File
@@ -1 +1 @@
142.0.7444.175
143.0.7499.40
+12 -15
View File
@@ -1,10 +1,6 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Copyright 2025 The Helium Authors
# You can use, redistribute, and/or modify this source code under
# the terms of the GPL-3.0 license that can be found in the LICENSE file.
# Copyright (c) 2019 The ungoogled-chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE.ungoogled_chromium file.
@@ -67,19 +63,19 @@ def _dir_empty(path):
return False
def _rename_files_with_dirs(root_dir, sorted_file_iter):
def _rename_files_with_dirs(root_dir, source_dir, sorted_file_iter):
'''
Moves a list of sorted files back to the upstream repo, removing empty directories along the way
Moves a list of sorted files back to their original location,
removing empty directories along the way
'''
past_parent = None
upstream_path = Path(os.path.dirname(os.path.realpath(__file__))) / '../patches'
for partial_path in sorted_file_iter:
complete_path = Path(root_dir, partial_path)
complete_upstream_path = Path(upstream_path, partial_path)
complete_source_path = Path(source_dir, partial_path)
try:
complete_path.rename(complete_upstream_path)
complete_path.rename(complete_source_path)
except FileNotFoundError:
get_logger().warning('Could not remove prepended patch: %s', complete_path)
get_logger().warning('Could not move prepended patch: %s', complete_path)
if past_parent != complete_path.parent:
while past_parent and _dir_empty(past_parent):
past_parent.rmdir()
@@ -91,7 +87,7 @@ def _rename_files_with_dirs(root_dir, sorted_file_iter):
complete_path = complete_path.parent
def unmerge_platform_patches(platform_patches_dir):
def unmerge_platform_patches(platform_patches_dir, prepend_patches_dir):
'''
Undo merge_platform_patches(), adding any new patches from series.merged as necessary
@@ -105,8 +101,8 @@ def unmerge_platform_patches(platform_patches_dir):
filter(len,
(platform_patches_dir / _SERIES_PREPEND).read_text(encoding=ENCODING).splitlines()))
# Move prepended files to original location, preserving changes, and clean up
_rename_files_with_dirs(platform_patches_dir, sorted(prepend_series))
# Move prepended files back to original location, preserving changes
_rename_files_with_dirs(platform_patches_dir, prepend_patches_dir, sorted(prepend_series))
# Determine positions of blank spaces in series.orig
if not (platform_patches_dir / _SERIES_ORIG).exists():
@@ -175,10 +171,11 @@ def main():
repo_dir = Path(__file__).resolve().parent.parent
success = False
prepend_patches_dir = repo_dir / 'patches'
if args.command == 'merge':
success = merge_platform_patches(args.platform_patches, repo_dir / 'patches')
success = merge_platform_patches(args.platform_patches, prepend_patches_dir)
elif args.command == 'unmerge':
success = unmerge_platform_patches(args.platform_patches)
success = unmerge_platform_patches(args.platform_patches, prepend_patches_dir)
else:
raise NotImplementedError(args.command)
+132 -65
View File
@@ -56,7 +56,6 @@ ash/login/ui/auth_icon_view.cc
ash/login/ui/login_remove_account_dialog_unittest.cc
ash/metrics/demo_session_metrics_recorder_unittest.cc
ash/projector/projector_metadata_model.cc
ash/public/cpp/android_intent_helper_unittest.cc
ash/public/cpp/system_notification_builder_unittest.cc
ash/quick_insert/model/quick_insert_link_suggester.cc
ash/quick_insert/model/quick_insert_link_suggester_unittest.cc
@@ -515,8 +514,9 @@ cc/input/scroll_state.h
cc/input/scrollbar_controller.h
cc/metrics/average_lag_tracker.h
cc/metrics/event_metrics.h
cc/metrics/scroll_jank_dropped_frame_tracker.cc
cc/metrics/scroll_jank_dropped_frame_tracker.h
cc/metrics/scroll_jank_v4_decider.cc
cc/metrics/scroll_jank_v4_decider.h
cc/metrics/scroll_jank_v4_processor.h
cc/paint/paint_image.h
cc/paint/tone_map_util.cc
cc/scheduler/scheduler_state_machine.cc
@@ -552,6 +552,8 @@ chrome/app/theme/PRESUBMIT.py
chrome/browser/PRESUBMIT.py
chrome/browser/about_flags.cc
chrome/browser/accessibility/live_caption/live_caption_speech_recognition_host_browsertest.cc
chrome/browser/actor/safety_list_manager.cc
chrome/browser/actor/safety_list_manager_unittest.cc
chrome/browser/actor/site_policy_browsertest.cc
chrome/browser/ai/ai_data_keyed_service.cc
chrome/browser/ai/ai_language_model.cc
@@ -599,7 +601,6 @@ chrome/browser/apps/app_service/publishers/arc_apps.cc
chrome/browser/apps/app_service/publishers/arc_apps_unittest.cc
chrome/browser/apps/app_service/publishers/publisher_unittest.cc
chrome/browser/apps/app_service/web_contents_app_id_utils.h
chrome/browser/apps/app_service/webapk/webapk_install_task.cc
chrome/browser/apps/digital_goods/digital_goods_factory_impl.cc
chrome/browser/apps/guest_view/web_view_browsertest.cc
chrome/browser/apps/intent_helper/intent_chip_display_prefs_unittest.cc
@@ -649,6 +650,7 @@ chrome/browser/ash/app_restore/full_restore_service_unittest.cc
chrome/browser/ash/app_restore/informed_restore_browsertest.cc
chrome/browser/ash/apps/apk_web_app_installer_browsertest.cc
chrome/browser/ash/apps/apk_web_app_installer_unittest.cc
chrome/browser/ash/apps/webapk/webapk_install_task.cc
chrome/browser/ash/arc/adbd/arc_adbd_monitor_bridge_unittest.cc
chrome/browser/ash/arc/arc_util_unittest.cc
chrome/browser/ash/arc/auth/arc_auth_service_browsertest.cc
@@ -670,7 +672,6 @@ chrome/browser/ash/arc/session/arc_session_manager_browsertest.cc
chrome/browser/ash/arc/session/arc_session_manager_unittest.cc
chrome/browser/ash/arc/tracing/arc_app_performance_tracing.cc
chrome/browser/ash/arc/tracing/overview_tracing_handler.cc
chrome/browser/ash/assistant/assistant_util.cc
chrome/browser/ash/attestation/attestation_ca_client.cc
chrome/browser/ash/attestation/attestation_ca_client_unittest.cc
chrome/browser/ash/attestation/platform_verification_flow_unittest.cc
@@ -946,8 +947,13 @@ chrome/browser/content_settings/content_settings_pref_provider_unittest.cc
chrome/browser/content_settings/host_content_settings_map_unittest.cc
chrome/browser/content_settings/javascript_optimizer_provider_android_unittest.cc
chrome/browser/content_settings/sound_content_setting_observer_unittest.cc
chrome/browser/contextual_cueing/caching_zero_state_suggestions_manager_unittest.cc
chrome/browser/contextual_cueing/zero_state_suggestions_browsertest.cc
chrome/browser/contextual_tasks/contextual_tasks_context_controller_impl_unittest.cc
chrome/browser/contextual_tasks/contextual_tasks_ui.cc
chrome/browser/contextual_tasks/contextual_tasks_ui_service.cc
chrome/browser/contextual_tasks/contextual_tasks_ui_service_unittest.cc
chrome/browser/contextual_tasks/tab_strip_context_decorator_unittest.cc
chrome/browser/custom_handlers/protocol_handler_registry_browsertest.cc
chrome/browser/data_sharing/desktop/data_sharing_conversion_utils_unittest.cc
chrome/browser/data_sharing/desktop/data_sharing_service_browsertest.cc
@@ -1101,6 +1107,7 @@ chrome/browser/extensions/extension_context_menu_model_browsertest.cc
chrome/browser/extensions/extension_keybinding_browsertest.cc
chrome/browser/extensions/extension_loading_browsertest.cc
chrome/browser/extensions/extension_management.cc
chrome/browser/extensions/extension_management_unittest.cc
chrome/browser/extensions/extension_override_apitest.cc
chrome/browser/extensions/extension_prefs_unittest.cc
chrome/browser/extensions/extension_service_test_base.cc
@@ -1115,7 +1122,6 @@ chrome/browser/extensions/external_pref_loader.cc
chrome/browser/extensions/external_provider_impl_chromeos_unittest.cc
chrome/browser/extensions/file_handlers/web_file_handlers_permission_handler.cc
chrome/browser/extensions/forced_extensions/force_installed_test_base.cc
chrome/browser/extensions/install_signer.cc
chrome/browser/extensions/installed_loader_unittest.cc
chrome/browser/extensions/lazy_background_page_apitest.cc
chrome/browser/extensions/menu_manager_unittest.cc
@@ -1160,7 +1166,7 @@ chrome/browser/file_system_access/cloud_identifier/cloud_identifier_util_ash_bro
chrome/browser/first_run/bookmark_importer_unittest.cc
chrome/browser/first_run/first_run_unittest.cc
chrome/browser/flag-metadata.json
chrome/browser/flag_descriptions.cc
chrome/browser/flag_descriptions.h
chrome/browser/flags/android/chrome_session_state.h
chrome/browser/font_prewarmer_tab_helper_browsertest.cc
chrome/browser/glic/e2e_test/glic_e2e_test.cc
@@ -1171,6 +1177,7 @@ chrome/browser/glic/fre/glic_fre_page_handler.cc
chrome/browser/glic/glic_metrics_unittest.cc
chrome/browser/glic/glic_user_status_browsertest.cc
chrome/browser/glic/host/glic_annotation_manager_interactive_uitest.cc
chrome/browser/glic/host/glic_api_browsertest.cc
chrome/browser/glic/host/glic_cookie_synchronizer.cc
chrome/browser/glic/host/glic_cookie_synchronizer_unittest.cc
chrome/browser/glic/host/glic_page_handler.cc
@@ -1332,6 +1339,7 @@ chrome/browser/page_load_metrics/observers/gws_abandoned_page_load_metrics_obser
chrome/browser/page_load_metrics/observers/gws_hp_page_load_metrics_observer_browsertest.cc
chrome/browser/page_load_metrics/observers/gws_page_load_metrics_observer_browsertest.cc
chrome/browser/page_load_metrics/observers/gws_page_load_metrics_observer_unittest.cc
chrome/browser/page_load_metrics/observers/initial_webui_page_load_metrics_observer.h
chrome/browser/page_load_metrics/observers/loading_predictor_page_load_metrics_observer_unittest.cc
chrome/browser/page_load_metrics/observers/local_network_requests_page_load_metrics_observer_unittest.cc
chrome/browser/page_load_metrics/observers/multi_tab_loading_page_load_metrics_observer_unittest.cc
@@ -1378,6 +1386,7 @@ chrome/browser/policy/cloud/cloud_policy_browsertest.cc
chrome/browser/policy/cloud/cloud_policy_invalidator.h
chrome/browser/policy/cloud/device_management_service_browsertest.cc
chrome/browser/policy/cloud/user_policy_signin_service_unittest.cc
chrome/browser/policy/developer_tools_policy_checker_unittest.cc
chrome/browser/policy/extension_policy_browsertest.cc
chrome/browser/policy/messaging_layer/upload/file_upload_impl.cc
chrome/browser/policy/policy_prefs_browsertest.cc
@@ -1527,8 +1536,6 @@ chrome/browser/resources/chromeos/accessibility/common/testing/mock_tts.js
chrome/browser/resources/chromeos/accessibility/common/tutorial/chromevox_tutorial.js
chrome/browser/resources/chromeos/accessibility/definitions/command_line_private.d.ts
chrome/browser/resources/chromeos/accessibility/select_to_speak/mv2/select_to_speak.ts
chrome/browser/resources/chromeos/accessibility/select_to_speak/mv2/select_to_speak_navigation_control_test.js
chrome/browser/resources/chromeos/accessibility/select_to_speak/mv2/select_to_speak_unittest.js
chrome/browser/resources/chromeos/accessibility/select_to_speak/mv3/select_to_speak.ts
chrome/browser/resources/chromeos/accessibility/select_to_speak/mv3/select_to_speak_navigation_control_test.js
chrome/browser/resources/chromeos/accessibility/select_to_speak/mv3/select_to_speak_unittest.js
@@ -1572,6 +1579,7 @@ chrome/browser/resources/default_apps/external_extensions.json
chrome/browser/resources/downloads/icons.html
chrome/browser/resources/extensions/detail_view.ts
chrome/browser/resources/extensions/mv2_deprecation_panel.ts
chrome/browser/resources/extensions_zero_state_promo/zero_state_promo_app.html.ts
chrome/browser/resources/feedback/js/feedback_util.ts
chrome/browser/resources/gaia_auth_host/PRESUBMIT.py
chrome/browser/resources/gaia_auth_host/authenticator.js
@@ -1815,6 +1823,7 @@ chrome/browser/tab_contents/navigation_metrics_recorder_browsertest.cc
chrome/browser/tab_ui/android/java/strings/android_tab_ui_strings.grd
chrome/browser/task_manager/sampling/shared_sampler_win_defines.h
chrome/browser/themes/theme_syncable_service.cc
chrome/browser/touch_to_fill/autofill/android/touch_to_fill_payment_method_controller_unittest.cc
chrome/browser/translate/translate_manager_browsertest.cc
chrome/browser/trusted_vault/trusted_vault_encryption_keys_tab_helper_browsertest.cc
chrome/browser/ui/accelerator_table.cc
@@ -1865,7 +1874,6 @@ chrome/browser/ui/ash/wallpaper/wallpaper_controller_client_impl.cc
chrome/browser/ui/ash/web_view/ash_web_view_impl_browsertest.cc
chrome/browser/ui/ash/wm/coral_browsertest.cc
chrome/browser/ui/autofill/address_editor_controller_unittest.cc
chrome/browser/ui/autofill/autofill_ai/save_or_update_autofill_ai_data_controller_impl.cc
chrome/browser/ui/autofill/autofill_keyboard_accessory_controller_impl.cc
chrome/browser/ui/autofill/chrome_autofill_client.cc
chrome/browser/ui/autofill/delete_address_profile_dialog_controller_impl_browsertest.cc
@@ -1934,6 +1942,7 @@ chrome/browser/ui/managed_ui_browsertest.cc
chrome/browser/ui/media_router/media_router_ui_helper_unittest.cc
chrome/browser/ui/media_router/media_router_ui_unittest.cc
chrome/browser/ui/media_router/query_result_manager.h
chrome/browser/ui/omnibox/omnibox_context_menu_controller_browsertest.cc
chrome/browser/ui/omnibox/omnibox_edit_model.cc
chrome/browser/ui/omnibox/omnibox_edit_model.h
chrome/browser/ui/omnibox/omnibox_edit_model_unittest.cc
@@ -1986,6 +1995,7 @@ chrome/browser/ui/tabs/pinned_tab_service_browsertest.cc
chrome/browser/ui/tabs/saved_tab_groups/collaboration_messaging_page_action_controller_unittest.cc
chrome/browser/ui/tabs/saved_tab_groups/collaboration_messaging_tab_data_unittest.cc
chrome/browser/ui/tabs/saved_tab_groups/instant_message_queue_processor_unittest.cc
chrome/browser/ui/tabs/saved_tab_groups/tab_group_menu_utils_unittest.cc
chrome/browser/ui/tabs/saved_tab_groups/tab_group_sync_delegate_browsertest.cc
chrome/browser/ui/tabs/tab_list_interface_observer.h
chrome/browser/ui/tabs/tab_strip_api/tab_strip_service_impl_browsertest.cc
@@ -1996,7 +2006,7 @@ chrome/browser/ui/toolbar/cast/cast_toolbar_button_util.cc
chrome/browser/ui/toolbar/location_bar_model_unittest.cc
chrome/browser/ui/url_identity_unittest.cc
chrome/browser/ui/views/apps/app_dialog/app_uninstall_dialog_view.cc
chrome/browser/ui/views/autofill/autofill_ai/save_or_update_autofill_ai_data_bubble_view_browsertest.cc
chrome/browser/ui/views/autofill/autofill_ai/autofill_ai_import_data_bubble_view_browsertest.cc
chrome/browser/ui/views/autofill/payments/filled_card_information_bubble_views_interactive_uitest.cc
chrome/browser/ui/views/autofill/payments/iban_bubble_view_uitest.cc
chrome/browser/ui/views/autofill/payments/offer_notification_bubble_views_test_base.cc
@@ -2032,7 +2042,6 @@ chrome/browser/ui/views/frame/browser_view.h
chrome/browser/ui/views/frame/browser_view_browsertest.cc
chrome/browser/ui/views/frame/multi_contents_drop_target_view_unittest.cc
chrome/browser/ui/views/frame/multi_contents_view_browsertest.cc
chrome/browser/ui/views/frame/multi_contents_view_drop_target_controller_browsertest.cc
chrome/browser/ui/views/frame/multi_contents_view_drop_target_controller_unittest.cc
chrome/browser/ui/views/frame/webui_tab_strip_interactive_uitest.cc
chrome/browser/ui/views/intent_picker_bubble_view_browsertest.cc
@@ -2075,6 +2084,8 @@ chrome/browser/ui/views/profiles/profiles_pixel_test_utils.cc
chrome/browser/ui/views/profiles/sync_confirmation_ui_browsertest.cc
chrome/browser/ui/views/promos/ios_promo_constants.h
chrome/browser/ui/views/qrcode_generator/qrcode_generator_bubble_unittest.cc
chrome/browser/ui/views/search_engines/dse_reset_dialog.cc
chrome/browser/ui/views/search_engines/dse_reset_dialog_view_browsertest.cc
chrome/browser/ui/views/select_file_dialog_extension/select_file_dialog_extension_browsertest.cc
chrome/browser/ui/views/session_crashed_bubble_view.cc
chrome/browser/ui/views/sharing/click_to_call_browsertest.cc
@@ -2144,6 +2155,7 @@ chrome/browser/ui/webui/management/management_ui_handler_unittest.cc
chrome/browser/ui/webui/media_router/cast_feedback_ui.cc
chrome/browser/ui/webui/nearby_internals/quick_pair/quick_pair_handler.cc
chrome/browser/ui/webui/new_tab_footer/new_tab_footer_handler_browsertest.cc
chrome/browser/ui/webui/new_tab_page/action_chips/action_chips_handler_unittest.cc
chrome/browser/ui/webui/new_tab_page/foo/foo_handler.cc
chrome/browser/ui/webui/new_tab_page/new_tab_page_handler_unittest.cc
chrome/browser/ui/webui/new_tab_page/new_tab_page_ui.cc
@@ -2163,6 +2175,7 @@ chrome/browser/ui/webui/sanitized_image_source_unittest.cc
chrome/browser/ui/webui/searchbox/contextual_searchbox_handler_unittest.cc
chrome/browser/ui/webui/searchbox/contextual_searchbox_test_utils.cc
chrome/browser/ui/webui/searchbox/searchbox_handler.cc
chrome/browser/ui/webui/searchbox/webui_omnibox_interactive_uitest.cc
chrome/browser/ui/webui/settings/about_handler_unittest.cc
chrome/browser/ui/webui/settings/on_startup_handler_unittest.cc
chrome/browser/ui/webui/settings/people_handler_unittest.cc
@@ -2239,13 +2252,14 @@ chrome/browser/web_applications/preinstalled_web_apps/google_slides.cc
chrome/browser/web_applications/preinstalled_web_apps/messages_dogfood.cc
chrome/browser/web_applications/preinstalled_web_apps/notebook_lm.cc
chrome/browser/web_applications/preinstalled_web_apps/preinstalled_web_apps.cc
chrome/browser/web_applications/preinstalled_web_apps/vids.cc
chrome/browser/web_applications/preinstalled_web_apps/youtube.cc
chrome/browser/web_applications/preinstalled_web_apps_browsertest.cc
chrome/browser/web_applications/web_app_command_scheduler.cc
chrome/browser/web_applications/web_app_helpers_unittest.cc
chrome/browser/web_applications/web_app_install_utils_unittest.cc
chrome/browser/web_applications/web_app_provider.cc
chrome/browser/web_applications/web_contents/web_app_icon_downloader_unittest.cc
chrome/browser/web_applications/web_install_browsertest.cc
chrome/browser/webapps/installable/installable_manager_browsertest.cc
chrome/browser/webauthn/authenticator_request_dialog_controller.cc
chrome/browser/webauthn/cablev2_devices.h
@@ -2259,15 +2273,20 @@ chrome/browser/webauthn/chrome_web_authentication_delegate_unittest.cc
chrome/browser/webauthn/chrome_webauthn_autofill_interactive_uitest.cc
chrome/browser/webauthn/enclave_authenticator_browsertest.cc
chrome/browser/webauthn/enclave_manager.cc
chrome/browser/webauthn/enclave_manager.h
chrome/browser/webauthn/enclave_manager_unittest.cc
chrome/browser/webauthn/fake_magic_arch.h
chrome/browser/webauthn/fake_recovery_key_store.h
chrome/browser/webauthn/fake_security_domain_service.cc
chrome/browser/webauthn/gpm_enclave_controller.h
chrome/browser/webauthn/passkey_unlock_manager_browsertest.cc
chrome/browser/webauthn/test_util.h
chrome/browser/webshare/win/fake_random_access_stream.cc
chrome/browser/webshare/win/share_operation.cc
chrome/browser/win/chrome_process_finder.cc
chrome/browser/win/conflicts/enumerate_shell_extensions.cc
chrome/browser/win/installer_downloader/installer_downloader_controller.cc
chrome/browser/win/installer_downloader/installer_downloader_feature.h
chrome/browser/win/jumplist.cc
chrome/browser/win/jumplist_update_util_unittest.cc
chrome/browser/win/parental_controls.cc
@@ -2699,7 +2718,6 @@ chromeos/ash/services/device_sync/remote_device_provider_impl_unittest.cc
chromeos/ash/services/device_sync/remote_device_v2_loader_impl_unittest.cc
chromeos/ash/services/device_sync/switches.cc
chromeos/ash/services/ime/input_method_user_data_service_impl_unittest.cc
chromeos/ash/services/libassistant/public/cpp/assistant_suggestion.h
chromeos/ash/services/quick_pair/fast_pair_data_parser.cc
chromeos/ash/services/quick_pair/fast_pair_decryption.cc
chromeos/ash/services/quick_pair/public/cpp/account_key_filter.cc
@@ -2772,6 +2790,7 @@ components/autofill/core/browser/metrics/form_interactions_ukm_logger_unittest.c
components/autofill/core/browser/metrics/prediction_quality_metrics_unittest.cc
components/autofill/core/browser/metrics/quality_metrics_unittest.cc
components/autofill/core/browser/ml_model/field_classification_model_handler.cc
components/autofill/core/browser/payments/amount_extraction_manager_unittest.cc
components/autofill/core/browser/payments/autofill_offer_manager_unittest.cc
components/autofill/core/browser/payments/constants.h
components/autofill/core/browser/payments/credit_card_access_manager_test_base.cc
@@ -2874,7 +2893,6 @@ components/components_google_chrome_strings.grd
components/content_relationship_verification/digital_asset_links_handler.cc
components/content_relationship_verification/digital_asset_links_handler.h
components/content_settings/browser/page_specific_content_settings_unittest.cc
components/content_settings/core/browser/content_settings_partitioned_origin_value_map_unittest.cc
components/content_settings/core/browser/content_settings_provider_unittest.cc
components/content_settings/core/browser/content_settings_uma_util.cc
components/content_settings/core/common/content_settings_pattern.cc
@@ -2882,10 +2900,13 @@ components/content_settings/core/common/content_settings_pattern.h
components/content_settings/core/common/content_settings_pattern_parser_unittest.cc
components/content_settings/core/common/content_settings_pattern_unittest.cc
components/content_settings/renderer/content_settings_agent_impl.cc
components/contextual_search/core/browser/contextual_search_context.h
components/contextual_search/core/browser/contextual_search_delegate_impl.cc
components/contextual_search/core/browser/contextual_search_delegate_impl_unittest.cc
components/contextual_search/internal/composebox_query_controller.cc
components/contextual_search/internal/composebox_query_controller_unittest.cc
components/contextual_tasks/internal/account_utils_unittest.cc
components/contextual_tasks/internal/contextual_tasks_service_impl_unittest.cc
components/contextual_tasks/internal/fallback_title_context_decorator_unittest.cc
components/contextual_tasks/internal/favicon_context_decorator_unittest.cc
components/contextual_tasks/internal/history_context_decorator_unittest.cc
components/contextual_tasks/public/contextual_task_context_unittest.cc
components/contextual_tasks/public/contextual_task_unittest.cc
components/continuous_search/browser/search_result_extractor_client_unittest.cc
@@ -2957,6 +2978,7 @@ components/enterprise/data_controls/core/browser/rule_unittest.cc
components/enterprise/data_controls/core/browser/rules_service_base_unittest.cc
components/enterprise/obfuscation/core/utils.h
components/enterprise/signin/enterprise_identity_service_unittest.cc
components/enterprise_strings.grdp
components/error_page/common/localized_error.cc
components/error_page_strings.grdp
components/exo/keyboard_unittest.cc
@@ -3183,6 +3205,7 @@ components/omnibox/browser/on_device_head_provider_unittest.cc
components/omnibox/browser/on_device_tail_model_service_unittest.cc
components/omnibox/browser/open_tab_provider_unittest.cc
components/omnibox/browser/recently_closed_tabs_provider.cc
components/omnibox/browser/remote_suggestions_service.h
components/omnibox/browser/remote_suggestions_service_unittest.cc
components/omnibox/browser/scored_history_match.cc
components/omnibox/browser/scored_history_match_unittest.cc
@@ -3201,8 +3224,6 @@ components/omnibox/browser/zero_suggest_cache_service_unittest.cc
components/omnibox/browser/zero_suggest_provider_unittest.cc
components/omnibox/browser/zero_suggest_verbatim_match_provider_unittest.cc
components/omnibox/common/omnibox_feature_configs.h
components/omnibox/composebox/composebox_query_controller.cc
components/omnibox/composebox/composebox_query_controller_unittest.cc
components/omnibox/resources/omnibox_pedal_synonyms.grd
components/omnibox_pedal_ui_strings.grdp
components/omnibox_strings.grdp
@@ -3294,6 +3315,7 @@ components/password_manager/core/browser/old_google_credentials_cleaner.cc
components/password_manager/core/browser/old_google_credentials_cleaner.h
components/password_manager/core/browser/old_google_credentials_cleaner_unittest.cc
components/password_manager/core/browser/os_crypt_async_migrator.h
components/password_manager/core/browser/password_autofill_manager_unittest.cc
components/password_manager/core/browser/password_feature_manager_impl_unittest.cc
components/password_manager/core/browser/password_form_filling_unittest.cc
components/password_manager/core/browser/password_form_manager_unittest.cc
@@ -3397,7 +3419,6 @@ components/permissions/prediction_service/prediction_model_handler.cc
components/permissions/prediction_service/prediction_service_base.h
components/permissions/test/mock_permission_request.h
components/permissions_strings.grdp
components/persistent_cache/backend_params_manager.h
components/persistent_cache/sqlite/vfs/sandboxed_file.cc
components/plus_addresses/core/browser/metrics/plus_address_submission_logger_unittest.cc
components/plus_addresses/core/browser/plus_address_http_client_impl.cc
@@ -3623,6 +3644,7 @@ components/resources/terms/terms_zh-TW.html
components/rlz/rlz_tracker.h
components/safe_browsing/android/real_time_url_checks_allowlist_resource_file_unittest.cc
components/safe_browsing/android/real_time_url_checks_allowlist_unittest.cc
components/safe_browsing/android/safe_browsing_api_handler_util.h
components/safe_browsing/content/browser/client_side_detection_service.cc
components/safe_browsing/content/browser/notification_content_detection/notifications_global_cache_list_unittest.cc
components/safe_browsing/content/browser/password_protection/password_protection_service_unittest.cc
@@ -3664,6 +3686,7 @@ components/safe_search_api/stub_url_checker.cc
components/safety_check/update_check_helper.h
components/safety_check/url_constants.cc
components/saved_tab_groups/internal/android/tab_group_sync_service_android_unittest.cc
components/saved_tab_groups/internal/migration/tab_group_entity_converter_unittest.cc
components/saved_tab_groups/internal/saved_tab_group_sync_bridge_unittest.cc
components/saved_tab_groups/internal/shared_tab_group_account_data_sync_bridge_unittest.cc
components/saved_tab_groups/internal/shared_tab_group_data_sync_bridge_unittest.cc
@@ -3713,8 +3736,6 @@ components/services/app_service/public/cpp/app_capability_access_cache_wrapper_u
components/services/app_service/public/cpp/app_launch_util.h
components/services/app_service/public/cpp/app_registry_cache_unittest.cc
components/services/app_service/public/cpp/app_registry_cache_wrapper_unittest.cc
components/services/app_service/public/cpp/app_storage/app_storage_file_handler_unittest.cc
components/services/app_service/public/cpp/app_storage/app_storage_unittest.cc
components/services/app_service/public/cpp/app_types.h
components/services/app_service/public/cpp/app_update_unittest.cc
components/services/app_service/public/cpp/capability_access_update_unittest.cc
@@ -3848,6 +3869,9 @@ components/sync_sessions/session_sync_bridge.h
components/sync_sessions/synced_session_unittest.cc
components/system_cpu/cpu_probe_win.cc
components/themes/ntp_background_service.cc
components/touch_to_search/core/browser/contextual_search_context.h
components/touch_to_search/core/browser/contextual_search_delegate_impl.cc
components/touch_to_search/core/browser/contextual_search_delegate_impl_unittest.cc
components/tpcd/enterprise_reporting/enterprise_reporting_tab_helper_unittest.cc
components/tpcd/metadata/browser/parser_unittest.cc
components/tracing/common/etw_consumer_win.cc
@@ -3936,6 +3960,7 @@ components/viz/common/features.h
components/viz/common/quads/render_pass_io_unittest.cc
components/viz/common/resources/shared_image_format.h
components/viz/common/switches.cc
components/viz/host/persistent_cache_sandboxed_file_factory.cc
components/viz/service/display/output_surface.h
components/viz/service/display/overlay_candidate.h
components/viz/service/display/overlay_processor_using_strategy.cc
@@ -3950,10 +3975,12 @@ components/webapps/browser/android/webapk/webapk_icons_hasher_unittest.cc
components/webapps/browser/android/webapk/webapk_single_icon_hasher_unittest.cc
components/webapps/browser/banners/app_banner_settings_helper_unittest.cc
components/webapps/browser/installable/installable_evaluator_unittest.cc
components/webapps/common/manifest_id_constants.h
components/webapps/isolated_web_apps/types/source_unittest.cc
components/webauthn/content/browser/internal_authenticator_impl_unittest.cc
components/webauthn/core/browser/client_data_json.cc
components/webauthn/core/browser/passkey_change_quota_tracker_unittest.cc
components/webauthn/json/value_conversions.h
components/webui/flags/flags_test_helpers.cc
components/webui/flags/resources/app.html.ts
components/webxr/android/arcore_install_helper.cc
@@ -4068,6 +4095,7 @@ content/browser/preloading/prefetch/prefetch_match_resolver.cc
content/browser/preloading/prefetch/prefetch_params.cc
content/browser/preloading/prefetch/prefetch_scheduler.cc
content/browser/preloading/prefetch/prefetch_scheduler.h
content/browser/preloading/prefetch/prefetch_servable_state.h
content/browser/preloading/prefetch/prefetch_service.cc
content/browser/preloading/prefetch/prefetch_status.h
content/browser/preloading/prefetch/prefetch_streaming_url_loader_common_types.h
@@ -4117,10 +4145,10 @@ content/browser/renderer_host/render_view_host_unittest.cc
content/browser/renderer_host/render_widget_host_impl.h
content/browser/renderer_host/render_widget_host_view_aura.h
content/browser/renderer_host/should_swap_browsing_instance.h
content/browser/renderer_host/text_input_client_mac.h
content/browser/renderer_host/virtual_keyboard_controller_win.h
content/browser/resources/PRESUBMIT.py
content/browser/resources/gpu/info_view.ts
content/browser/resources/media/client_renderer.js
content/browser/resources/traces_internals/icons.html
content/browser/sandbox_ipc_linux.h
content/browser/sandbox_support_win_impl.cc
@@ -4332,9 +4360,9 @@ content/zygote/zygote_linux.cc
content/zygote/zygote_linux.h
content/zygote/zygote_main_linux.cc
crypto/chaps_support.cc
crypto/ecdsa_utils.h
crypto/hkdf.h
crypto/hmac.h
crypto/hmac_unittest.cc
crypto/kdf.h
crypto/nss_util.cc
crypto/secure_hash.h
@@ -4406,6 +4434,7 @@ extensions/browser/event_listener_map.h
extensions/browser/event_listener_map_unittest.cc
extensions/browser/event_router_unittest.cc
extensions/browser/extension_prefs_observer.h
extensions/browser/install_signer.cc
extensions/browser/permissions_manager.h
extensions/browser/script_injection_tracker.cc
extensions/browser/suggest_permission_util.cc
@@ -4593,7 +4622,6 @@ gpu/command_buffer/service/shared_image/d3d_image_backing_factory.cc
gpu/command_buffer/service/shared_image/dcomp_image_backing_factory.cc
gpu/command_buffer/service/shared_image/dcomp_surface_image_backing.cc
gpu/command_buffer/service/shared_image/dxgi_swap_chain_image_representation.cc
gpu/command_buffer/service/shared_image/gpu_memory_buffer_factory_dxgi.cc
gpu/command_buffer/service/shared_image/ozone_image_backing_factory.cc
gpu/command_buffer/service/shared_image/shared_image_factory.cc
gpu/command_buffer/service/shared_image/video_image_reader_image_backing.cc
@@ -4704,7 +4732,6 @@ media/gpu/vaapi/test/vp8_decoder.cc
media/gpu/vaapi/test/vp9_decoder.cc
media/gpu/vaapi/vaapi_image_decoder_test_common.h
media/gpu/vaapi/vaapi_unittest.cc
media/gpu/vaapi/vaapi_webp_decoder_unittest.cc
media/gpu/windows/d3d11_video_decoder_wrapper.cc
media/gpu/windows/d3d12_copy_command_list_wrapper.cc
media/gpu/windows/d3d12_video_encode_h264_delegate.cc
@@ -4808,7 +4835,6 @@ net/disk_cache/disk_cache.h
net/disk_cache/simple/simple_backend_impl.h
net/disk_cache/simple/simple_file_enumerator.h
net/disk_cache/simple/simple_index.cc
net/disk_cache/sql/sql_entry_impl.cc
net/dns/address_sorter_posix.cc
net/dns/context_host_resolver_unittest.cc
net/dns/dns_config_service_linux_unittest.cc
@@ -4834,6 +4860,7 @@ net/dns/mapped_host_resolver_unittest.cc
net/dns/mdns_cache_unittest.cc
net/dns/mdns_client.h
net/dns/notify_watcher_mac.cc
net/dns/platform_dns_query_executor_android.h
net/dns/public/doh_provider_entry.cc
net/dns/record_parsed_unittest.cc
net/dns/record_rdata_unittest.cc
@@ -4892,7 +4919,7 @@ net/ntlm/ntlm_client.cc
net/ntlm/ntlm_client.h
net/ntlm/ntlm_test_data.h
net/ntlm/ntlm_unittest.cc
net/proxy_resolution/configured_proxy_resolution_service.cc
net/proxy_resolution/configured_proxy_resolution_service.h
net/proxy_resolution/configured_proxy_resolution_service_unittest.cc
net/proxy_resolution/pac_file_decider.cc
net/proxy_resolution/pac_file_decider_unittest.cc
@@ -4969,6 +4996,7 @@ net/third_party/quiche/src/quiche/quic/core/quic_dispatcher_test.cc
net/third_party/quiche/src/quiche/quic/core/quic_packet_creator_test.cc
net/third_party/quiche/src/quiche/quic/core/quic_server_id_test.cc
net/third_party/quiche/src/quiche/quic/core/quic_session_test.cc
net/third_party/quiche/src/quiche/quic/core/tls_client_handshaker.h
net/third_party/quiche/src/quiche/quic/tools/quic_client_bin.cc
net/third_party/quiche/src/quiche/quic/tools/quic_memory_cache_backend.cc
net/third_party/quiche/src/quiche/quic/tools/quic_memory_cache_backend_test.cc
@@ -5089,7 +5117,6 @@ sandbox/win/src/security_level.h
sandbox/win/src/startup_information_helper.cc
sandbox/win/src/win_utils.cc
services/BUILD.gn
services/accessibility/features/javascript/event.js
services/device/generic_sensor/platform_sensor_and_provider_unittest_win.cc
services/device/generic_sensor/platform_sensor_provider_chromeos.cc
services/device/generic_sensor/platform_sensor_reader_win.cc
@@ -5177,7 +5204,6 @@ services/webnn/dml/graph_builder_dml.h
services/webnn/dml/graph_impl_dml.cc
services/webnn/dml/tensor_desc.cc
services/webnn/dml/utils.cc
services/webnn/ort/platform_functions_ort.cc
services/webnn/tflite/graph_builder_tflite.cc
services/webnn/webnn_graph_impl_backend_test.cc
skia/config/SkUserConfig.h
@@ -5351,6 +5377,7 @@ third_party/angle/extensions/EGL_ANGLE_global_fence_sync.txt
third_party/angle/extensions/EGL_ANGLE_iosurface_client_buffer.txt
third_party/angle/extensions/EGL_ANGLE_keyed_mutex.txt
third_party/angle/extensions/EGL_ANGLE_memory_usage_report.txt
third_party/angle/extensions/EGL_ANGLE_metal_commands_scheduled_sync.txt
third_party/angle/extensions/EGL_ANGLE_metal_texture_client_buffer.txt
third_party/angle/extensions/EGL_ANGLE_no_error.txt
third_party/angle/extensions/EGL_ANGLE_platform_angle_d3d_luid.txt
@@ -5558,6 +5585,7 @@ third_party/blink/renderer/core/css/properties/css_parsing_utils.cc
third_party/blink/renderer/core/css/properties/longhands/longhands_custom.cc
third_party/blink/renderer/core/css/remote_font_face_source.cc
third_party/blink/renderer/core/css/resolver/style_adjuster.cc
third_party/blink/renderer/core/css/rule_set_test.cc
third_party/blink/renderer/core/css/style_engine.cc
third_party/blink/renderer/core/css/style_engine_test.cc
third_party/blink/renderer/core/css/style_rule_import.cc
@@ -5572,6 +5600,7 @@ third_party/blink/renderer/core/dom/class_collection.cc
third_party/blink/renderer/core/dom/class_collection.h
third_party/blink/renderer/core/dom/comment.idl
third_party/blink/renderer/core/dom/container_node.cc
third_party/blink/renderer/core/dom/document.h
third_party/blink/renderer/core/dom/dom_implementation.idl
third_party/blink/renderer/core/dom/element.cc
third_party/blink/renderer/core/dom/element.idl
@@ -5676,6 +5705,7 @@ third_party/blink/renderer/core/frame/web_local_frame_impl.cc
third_party/blink/renderer/core/frame/web_remote_frame_impl.cc
third_party/blink/renderer/core/geolocation/geolocation.h
third_party/blink/renderer/core/html/anchor_element_metrics_test.cc
third_party/blink/renderer/core/html/canvas/canvas_rendering_context.cc
third_party/blink/renderer/core/html/custom/element_internals.idl
third_party/blink/renderer/core/html/custom/validity_state_flags.idl
third_party/blink/renderer/core/html/forms/base_text_input_type.cc
@@ -5733,6 +5763,7 @@ third_party/blink/renderer/core/html/parser/html_document_parser.cc
third_party/blink/renderer/core/input/event_handler.cc
third_party/blink/renderer/core/input/event_handling_util.cc
third_party/blink/renderer/core/input/pointer_event_manager.cc
third_party/blink/renderer/core/inspector/console_message.h
third_party/blink/renderer/core/inspector/devtools_session.h
third_party/blink/renderer/core/intersection_observer/intersection_observer_controller.h
third_party/blink/renderer/core/layout/adjust_for_absolute_zoom.h
@@ -5894,7 +5925,6 @@ third_party/blink/renderer/modules/accessibility/ax_object_cache_impl.cc
third_party/blink/renderer/modules/accessibility/ax_object_cache_impl.h
third_party/blink/renderer/modules/accessibility/testing/internals_accessibility.h
third_party/blink/renderer/modules/bluetooth/bluetooth_error.cc
third_party/blink/renderer/modules/canvas/canvas2d/canvas_rendering_context_2d.cc
third_party/blink/renderer/modules/clipboard/clipboard.idl
third_party/blink/renderer/modules/content_extraction/ai_page_content_agent_unittest.cc
third_party/blink/renderer/modules/credentialmanagement/authentication_credentials_container.cc
@@ -6001,10 +6031,12 @@ third_party/blink/renderer/platform/graphics/paint/region_capture_data.h
third_party/blink/renderer/platform/heap/collection_support/heap_linked_stack.h
third_party/blink/renderer/platform/image-decoders/bmp/bmp_image_decoder.cc
third_party/blink/renderer/platform/image-decoders/bmp/bmp_image_decoder_test.cc
third_party/blink/renderer/platform/image-decoders/bmp/bmp_image_reader.h
third_party/blink/renderer/platform/image-decoders/jpeg/jpeg_image_decoder.cc
third_party/blink/renderer/platform/image-decoders/webp/webp_image_decoder.cc
third_party/blink/renderer/platform/instrumentation/use_counter.h
third_party/blink/renderer/platform/loader/fetch/client_hints_preferences_test.cc
third_party/blink/renderer/platform/loader/fetch/console_logger.h
third_party/blink/renderer/platform/loader/fetch/fetch_utils.h
third_party/blink/renderer/platform/loader/fetch/raw_resource.h
third_party/blink/renderer/platform/loader/fetch/resource.cc
@@ -6358,6 +6390,7 @@ third_party/catapult/dashboard/sandwich_verification/Makefile
third_party/catapult/dashboard/sandwich_verification/common/dashboard_service.py
third_party/catapult/dashboard/sandwich_verification/common/pinpoint_service.py
third_party/catapult/dashboard/sandwich_verification/common/request.py
third_party/catapult/dashboard/skia_export/skia_export/skia_converter.py
third_party/catapult/devil/PRESUBMIT.py
third_party/catapult/devil/devil/android/device_utils.py
third_party/catapult/devil/devil/android/device_utils_test.py
@@ -6399,6 +6432,7 @@ third_party/catapult/perf_issue_service/application/clients/monorail_client.py
third_party/catapult/perf_issue_service/application/clients/sheriff_config_client.py
third_party/catapult/perf_issue_service/application/utils.py
third_party/catapult/skia_bridge/application/perf_api/alert_group.py
third_party/catapult/skia_bridge/application/perf_api/anomalies.py
third_party/catapult/skia_bridge/application/perf_api/auth_helper.py
third_party/catapult/skia_bridge/application/perf_api/skia_perf_upload.py
third_party/catapult/skia_bridge/common/cloud_metric.py
@@ -7426,11 +7460,11 @@ third_party/crossbench/crossbench/cli/exception_formatter.py
third_party/crossbench/crossbench/plt/android_adb.py
third_party/crossbench/crossbench/probes/chrome_histograms.py
third_party/crossbench/crossbench/probes/perfetto/downloader.py
third_party/crossbench/crossbench/probes/perfetto/trace_processor/queries/loadline/breakdown.sql
third_party/crossbench/crossbench/probes/performance_entries.py
third_party/crossbench/crossbench/probes/profiling/browser_profiling.py
third_party/crossbench/crossbench/probes/profiling/context/base.py
third_party/crossbench/crossbench/probes/profiling/enum.py
third_party/crossbench/crossbench/probes/trace_processor/queries/loadline/breakdown.sql
third_party/crossbench/crossbench/probes/web_page_replay/recorder.py
third_party/crossbench/protoc/compile.py
third_party/crossbench/tests/crossbench/benchmarks/loading/action_runner/test_default_bond_action_runner.py
@@ -7438,6 +7472,7 @@ third_party/crossbench/tests/crossbench/benchmarks/loading/config/test_example_c
third_party/crossbench/tests/crossbench/benchmarks/loading/config/test_login.py
third_party/crossbench/tests/crossbench/benchmarks/loading/config/test_pages.py
third_party/crossbench/tests/crossbench/benchmarks/loading/test_loading.py
third_party/crossbench/tests/crossbench/network/test_web_page_replay.py
third_party/crossbench/tests/crossbench/plt/test_chromeos_ssh.py
third_party/crossbench/tests/crossbench/probes/test_js.py
third_party/crossbench/tests/crossbench/probes/test_meminfo.py
@@ -7461,6 +7496,7 @@ third_party/dawn/infra/specs/PRESUBMIT.py
third_party/dawn/src/dawn/common/Constants.h
third_party/dawn/src/dawn/common/SystemUtils.cpp
third_party/dawn/src/dawn/dawn.json
third_party/dawn/src/dawn/native/BindGroupLayoutInternal.h
third_party/dawn/src/dawn/native/CommandAllocator.cpp
third_party/dawn/src/dawn/native/CopyTextureForBrowserHelper.cpp
third_party/dawn/src/dawn/native/Features.cpp
@@ -7517,8 +7553,8 @@ third_party/dawn/src/dawn/tests/end2end/VideoViewsTests_win.cpp
third_party/dawn/src/dawn/tests/perf_tests/DawnPerfTestPlatform.h
third_party/dawn/src/dawn/tests/unittests/validation/ComputeValidationTests.cpp
third_party/dawn/src/dawn/tests/unittests/validation/CopyCommandsValidationTests.cpp
third_party/dawn/src/dawn/tests/unittests/validation/DynamicBindingArrayValidationTests.cpp
third_party/dawn/src/dawn/tests/unittests/validation/RenderPassDescriptorValidationTests.cpp
third_party/dawn/src/dawn/tests/white_box/SharedBufferMemoryTests_win.cpp
third_party/dawn/src/dawn/tests/white_box/SharedTextureMemoryTests_dmabuf.cpp
third_party/dawn/src/dawn/tests/white_box/VulkanImageWrappingTests_DmaBuf.cpp
third_party/dawn/src/dawn/utils/WindowsDebugLogger.cpp
@@ -7681,10 +7717,6 @@ third_party/dawn/third_party/khronos/OpenGL-Registry/extensions/MESA/MESA_frameb
third_party/dawn/third_party/khronos/OpenGL-Registry/extensions/MESA/MESA_framebuffer_swap_xy.txt
third_party/dawn/third_party/khronos/OpenGL-Registry/extensions/OES/OES_primitive_bounding_box.txt
third_party/dawn/third_party/khronos/OpenGL-Registry/extensions/OES/OES_tessellation_shader.txt
third_party/dawn/third_party/khronos/OpenGL-Registry/specs/es/3.2/GLSL_ES_Specification_3.20.html
third_party/dawn/third_party/khronos/OpenGL-Registry/specs/es/katex/katex.js
third_party/dawn/third_party/khronos/OpenGL-Registry/specs/gl/GLSLangSpec.4.60.html
third_party/dawn/third_party/khronos/OpenGL-Registry/specs/katex/katex.js
third_party/dawn/third_party/khronos/OpenGL-Registry/xml/vendors.txt
third_party/dawn/third_party/webgpu-cts/src/webgpu/api/operation/command_buffer/queries/occlusionQuery.spec.ts
third_party/dawn/third_party/webgpu-cts/src/webgpu/api/operation/render_pipeline/sample_mask.spec.ts
@@ -7694,6 +7726,7 @@ third_party/dawn/third_party/webgpu-cts/src/webgpu/multisample_info.ts
third_party/dawn/third_party/webgpu-cts/src/webgpu/shader/execution/shader_io/fragment_builtins.spec.ts
third_party/dawn/third_party/webgpu-cts/standalone/index.html
third_party/dawn/third_party/webgpu-headers/src/webgpu.h
third_party/dawn/third_party/webgpu-headers/src/webgpu.json
third_party/dawn/tools/src/cmd/cts/config.json
third_party/dawn/tools/src/cmd/cts/treemap/treemap.html
third_party/depot_tools/PRESUBMIT.py
@@ -7711,16 +7744,19 @@ third_party/depot_tools/fetch_configs/chromium.py
third_party/depot_tools/fetch_configs/crashpad.py
third_party/depot_tools/fetch_configs/crossbench.py
third_party/depot_tools/fetch_configs/dart.py
third_party/depot_tools/fetch_configs/dawn.py
third_party/depot_tools/fetch_configs/depot_tools.py
third_party/depot_tools/fetch_configs/devtools-frontend.py
third_party/depot_tools/fetch_configs/gn.py
third_party/depot_tools/fetch_configs/gyp.py
third_party/depot_tools/fetch_configs/infra_superproject.py
third_party/depot_tools/fetch_configs/inspector_protocol.py
third_party/depot_tools/fetch_configs/libyuv.py
third_party/depot_tools/fetch_configs/nacl.py
third_party/depot_tools/fetch_configs/naclports.py
third_party/depot_tools/fetch_configs/node-ci.py
third_party/depot_tools/fetch_configs/node.py
third_party/depot_tools/fetch_configs/openscreen.py
third_party/depot_tools/fetch_configs/pdfium.py
third_party/depot_tools/fetch_configs/skia.py
third_party/depot_tools/fetch_configs/skia_buildbot.py
@@ -8055,8 +8091,6 @@ third_party/devtools-frontend/src/front_end/models/badges/StarterBadge.ts
third_party/devtools-frontend/src/front_end/models/bindings/ResourceUtils.ts
third_party/devtools-frontend/src/front_end/models/crux-manager/CrUXManager.test.ts
third_party/devtools-frontend/src/front_end/models/crux-manager/CrUXManager.ts
third_party/devtools-frontend/src/front_end/models/extensions/ExtensionServer.test.ts
third_party/devtools-frontend/src/front_end/models/extensions/ExtensionServer.ts
third_party/devtools-frontend/src/front_end/models/extensions/HostUrlPattern.test.ts
third_party/devtools-frontend/src/front_end/models/issues_manager/ContentSecurityPolicyIssue.ts
third_party/devtools-frontend/src/front_end/models/issues_manager/CookieDeprecationMetadataIssue.ts
@@ -8089,20 +8123,27 @@ third_party/devtools-frontend/src/front_end/models/trace/handlers/helpers.ts
third_party/devtools-frontend/src/front_end/models/trace/helpers/Network.ts
third_party/devtools-frontend/src/front_end/models/trace/helpers/Trace.test.ts
third_party/devtools-frontend/src/front_end/models/trace/insights/CLSCulprits.ts
third_party/devtools-frontend/src/front_end/models/trace/insights/Cache.ts
third_party/devtools-frontend/src/front_end/models/trace/insights/Common.ts
third_party/devtools-frontend/src/front_end/models/trace/insights/DOMSize.ts
third_party/devtools-frontend/src/front_end/models/trace/insights/DocumentLatency.ts
third_party/devtools-frontend/src/front_end/models/trace/insights/DuplicatedJavaScript.ts
third_party/devtools-frontend/src/front_end/models/trace/insights/FontDisplay.test.ts
third_party/devtools-frontend/src/front_end/models/trace/insights/FontDisplay.ts
third_party/devtools-frontend/src/front_end/models/trace/insights/ForcedReflow.ts
third_party/devtools-frontend/src/front_end/models/trace/insights/INPBreakdown.ts
third_party/devtools-frontend/src/front_end/models/trace/insights/ImageDelivery.ts
third_party/devtools-frontend/src/front_end/models/trace/insights/LCPBreakdown.ts
third_party/devtools-frontend/src/front_end/models/trace/insights/LCPDiscovery.ts
third_party/devtools-frontend/src/front_end/models/trace/insights/LegacyJavaScript.ts
third_party/devtools-frontend/src/front_end/models/trace/insights/ModernHTTP.test.ts
third_party/devtools-frontend/src/front_end/models/trace/insights/ModernHTTP.ts
third_party/devtools-frontend/src/front_end/models/trace/insights/NetworkDependencyTree.test.ts
third_party/devtools-frontend/src/front_end/models/trace/insights/NetworkDependencyTree.ts
third_party/devtools-frontend/src/front_end/models/trace/insights/RenderBlocking.test.ts
third_party/devtools-frontend/src/front_end/models/trace/insights/RenderBlocking.ts
third_party/devtools-frontend/src/front_end/models/trace/insights/SlowCSSSelector.ts
third_party/devtools-frontend/src/front_end/models/trace/insights/ThirdParties.ts
third_party/devtools-frontend/src/front_end/models/trace/insights/Viewport.ts
third_party/devtools-frontend/src/front_end/models/trace/lantern/core/NetworkAnalyzer.test.ts
third_party/devtools-frontend/src/front_end/models/trace/lantern/graph/NetworkNode.ts
@@ -8147,8 +8188,11 @@ third_party/devtools-frontend/src/front_end/panels/browser_debugger/DOMBreakpoin
third_party/devtools-frontend/src/front_end/panels/changes/ChangesView.ts
third_party/devtools-frontend/src/front_end/panels/common/AiCodeCompletionTeaser.ts
third_party/devtools-frontend/src/front_end/panels/common/BadgeNotification.ts
third_party/devtools-frontend/src/front_end/panels/common/ExtensionServer.test.ts
third_party/devtools-frontend/src/front_end/panels/common/ExtensionServer.ts
third_party/devtools-frontend/src/front_end/panels/common/GdpSignUpDialog.test.ts
third_party/devtools-frontend/src/front_end/panels/common/GdpSignUpDialog.ts
third_party/devtools-frontend/src/front_end/panels/console/ConsoleInsightTeaser.ts
third_party/devtools-frontend/src/front_end/panels/console/ConsoleViewMessage.ts
third_party/devtools-frontend/src/front_end/panels/console/ErrorStackParser.test.ts
third_party/devtools-frontend/src/front_end/panels/coverage/CoverageView.ts
@@ -8168,10 +8212,10 @@ third_party/devtools-frontend/src/front_end/panels/lighthouse/LighthouseControll
third_party/devtools-frontend/src/front_end/panels/linear_memory_inspector/LinearMemoryInspectorPane.ts
third_party/devtools-frontend/src/front_end/panels/media/MainView.ts
third_party/devtools-frontend/src/front_end/panels/mobile_throttling/CalibrationController.ts
third_party/devtools-frontend/src/front_end/panels/network/BlockedURLsPane.ts
third_party/devtools-frontend/src/front_end/panels/network/NetworkConfigView.ts
third_party/devtools-frontend/src/front_end/panels/network/NetworkDataGridNode.ts
third_party/devtools-frontend/src/front_end/panels/network/NetworkLogView.ts
third_party/devtools-frontend/src/front_end/panels/network/RequestConditionsDrawer.ts
third_party/devtools-frontend/src/front_end/panels/network/RequestCookiesView.ts
third_party/devtools-frontend/src/front_end/panels/network/RequestTimingView.ts
third_party/devtools-frontend/src/front_end/panels/network/ResourceWebSocketFrameView.ts
@@ -8354,6 +8398,7 @@ third_party/devtools-frontend/src/front_end/third_party/puppeteer/package/lib/cj
third_party/devtools-frontend/src/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/QueryHandler.js
third_party/devtools-frontend/src/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/Viewport.d.ts
third_party/devtools-frontend/src/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/common/util.js
third_party/devtools-frontend/src/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/BrowserLauncher.js
third_party/devtools-frontend/src/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/FirefoxLauncher.js
third_party/devtools-frontend/src/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/LaunchOptions.d.ts
third_party/devtools-frontend/src/front_end/third_party/puppeteer/package/lib/cjs/puppeteer/node/PuppeteerNode.d.ts
@@ -8391,6 +8436,7 @@ third_party/devtools-frontend/src/front_end/third_party/puppeteer/package/lib/es
third_party/devtools-frontend/src/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/QueryHandler.js
third_party/devtools-frontend/src/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/Viewport.d.ts
third_party/devtools-frontend/src/front_end/third_party/puppeteer/package/lib/esm/puppeteer/common/util.js
third_party/devtools-frontend/src/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/BrowserLauncher.js
third_party/devtools-frontend/src/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/FirefoxLauncher.js
third_party/devtools-frontend/src/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/LaunchOptions.d.ts
third_party/devtools-frontend/src/front_end/third_party/puppeteer/package/lib/esm/puppeteer/node/PuppeteerNode.d.ts
@@ -8417,6 +8463,7 @@ third_party/devtools-frontend/src/front_end/third_party/puppeteer/package/src/co
third_party/devtools-frontend/src/front_end/third_party/puppeteer/package/src/common/QueryHandler.ts
third_party/devtools-frontend/src/front_end/third_party/puppeteer/package/src/common/Viewport.ts
third_party/devtools-frontend/src/front_end/third_party/puppeteer/package/src/common/util.ts
third_party/devtools-frontend/src/front_end/third_party/puppeteer/package/src/node/BrowserLauncher.ts
third_party/devtools-frontend/src/front_end/third_party/puppeteer/package/src/node/FirefoxLauncher.ts
third_party/devtools-frontend/src/front_end/third_party/puppeteer/package/src/node/LaunchOptions.ts
third_party/devtools-frontend/src/front_end/third_party/puppeteer/package/src/node/PuppeteerNode.ts
@@ -8456,6 +8503,7 @@ third_party/devtools-frontend/src/front_end/ui/legacy/SearchableView.ts
third_party/devtools-frontend/src/front_end/ui/legacy/UIUtils.test.ts
third_party/devtools-frontend/src/front_end/ui/legacy/UIUtils.ts
third_party/devtools-frontend/src/front_end/ui/legacy/Widget.ts
third_party/devtools-frontend/src/front_end/ui/legacy/components/cookie_table/CookiesTable.ts
third_party/devtools-frontend/src/front_end/ui/legacy/components/object_ui/CustomPreviewComponent.ts
third_party/devtools-frontend/src/front_end/ui/legacy/components/perf_ui/FlameChart.ts
third_party/devtools-frontend/src/front_end/ui/legacy/components/utils/JSPresentationUtils.test.ts
@@ -8885,6 +8933,13 @@ third_party/devtools-frontend/src/node_modules/normalize-package-data/package.js
third_party/devtools-frontend/src/node_modules/normalize-path/index.js
third_party/devtools-frontend/src/node_modules/object-assign/index.js
third_party/devtools-frontend/src/node_modules/object-assign/package.json
third_party/devtools-frontend/src/node_modules/object-deep-merge/node_modules/type-fest/package.json
third_party/devtools-frontend/src/node_modules/object-deep-merge/node_modules/type-fest/source/basic.d.ts
third_party/devtools-frontend/src/node_modules/object-deep-merge/node_modules/type-fest/source/entries.d.ts
third_party/devtools-frontend/src/node_modules/object-deep-merge/node_modules/type-fest/source/entry.d.ts
third_party/devtools-frontend/src/node_modules/object-deep-merge/node_modules/type-fest/source/join.d.ts
third_party/devtools-frontend/src/node_modules/object-deep-merge/node_modules/type-fest/source/primitive.d.ts
third_party/devtools-frontend/src/node_modules/object-deep-merge/node_modules/type-fest/source/typed-array.d.ts
third_party/devtools-frontend/src/node_modules/object-keys/package.json
third_party/devtools-frontend/src/node_modules/object.fromentries/package.json
third_party/devtools-frontend/src/node_modules/object.groupby/package.json
@@ -8892,7 +8947,6 @@ third_party/devtools-frontend/src/node_modules/object.values/package.json
third_party/devtools-frontend/src/node_modules/onetime/package.json
third_party/devtools-frontend/src/node_modules/ora/node_modules/ansi-regex/package.json
third_party/devtools-frontend/src/node_modules/ora/node_modules/is-unicode-supported/package.json
third_party/devtools-frontend/src/node_modules/ora/node_modules/log-symbols/node_modules/is-unicode-supported/package.json
third_party/devtools-frontend/src/node_modules/ora/node_modules/log-symbols/package.json
third_party/devtools-frontend/src/node_modules/ora/node_modules/string-width/package.json
third_party/devtools-frontend/src/node_modules/ora/node_modules/strip-ansi/package.json
@@ -9334,6 +9388,7 @@ third_party/devtools-frontend/src/node_modules/yargs/node_modules/strip-ansi/pac
third_party/devtools-frontend/src/node_modules/yauzl/package.json
third_party/devtools-frontend/src/node_modules/yocto-queue/index.d.ts
third_party/devtools-frontend/src/node_modules/yocto-queue/package.json
third_party/devtools-frontend/src/node_modules/yoctocolors/package.json
third_party/devtools-frontend/src/node_modules/zod/src/v3/tests/refine.test.ts
third_party/devtools-frontend/src/node_modules/zod/src/v3/tests/string.test.ts
third_party/devtools-frontend/src/node_modules/zod/src/v4/classic/tests/refine.test.ts
@@ -9345,6 +9400,7 @@ third_party/devtools-frontend/src/package.json
third_party/devtools-frontend/src/scripts/ai_assistance/suite/helpers/gemini.ts
third_party/devtools-frontend/src/scripts/build/compress_files.js
third_party/devtools-frontend/src/scripts/check_external_links.js
third_party/devtools-frontend/src/scripts/component_docs/component_docs.css
third_party/devtools-frontend/src/scripts/deps/download_emscripten.py
third_party/devtools-frontend/src/scripts/deps/roll_to_chromium.py
third_party/devtools-frontend/src/scripts/eslint_rules/lib/no-customized-builtin-elements.ts
@@ -9362,6 +9418,7 @@ third_party/devtools-frontend/src/test/e2e_non_hosted/lighthouse/devtools-settin
third_party/devtools-frontend/src/test/e2e_non_hosted/lighthouse/navigation_test.ts
third_party/devtools-frontend/src/test/e2e_non_hosted/lighthouse/snapshot_test.ts
third_party/devtools-frontend/src/test/e2e_non_hosted/lighthouse/timespan_test.ts
third_party/devtools-frontend/src/test/e2e_non_hosted/performance/trace-app_test.ts
third_party/devtools-frontend/src/test/e2e_non_hosted/shared/frontend-helper.ts
third_party/devtools-frontend/src/test/perf/report/report.ts
third_party/devtools-frontend/src/third_party/blink/public/devtools_protocol/browser_protocol.json
@@ -9442,6 +9499,7 @@ third_party/eigen3/src/Eigen/src/Core/Product.h
third_party/eigen3/src/Eigen/src/Core/ProductEvaluators.h
third_party/eigen3/src/Eigen/src/Core/Random.h
third_party/eigen3/src/Eigen/src/Core/RandomImpl.h
third_party/eigen3/src/Eigen/src/Core/RealView.h
third_party/eigen3/src/Eigen/src/Core/Redux.h
third_party/eigen3/src/Eigen/src/Core/Ref.h
third_party/eigen3/src/Eigen/src/Core/Replicate.h
@@ -9855,6 +9913,7 @@ third_party/eigen3/src/test/random_matrix.cpp
third_party/eigen3/src/test/random_matrix_helper.h
third_party/eigen3/src/test/random_without_cast_overflow.h
third_party/eigen3/src/test/real_qz.cpp
third_party/eigen3/src/test/realview.cpp
third_party/eigen3/src/test/redux.cpp
third_party/eigen3/src/test/ref.cpp
third_party/eigen3/src/test/reshape.cpp
@@ -11346,8 +11405,8 @@ third_party/icu/source/test/intltest/strcase.cpp
third_party/icu/source/test/intltest/uobjtest.cpp
third_party/icu/source/test/perf/collationperf/collperf.cpp
third_party/icu/source/test/perf/collationperf/readme.html
third_party/icu/source/test/perf/ubrkperf/ubrkperfold.cpp
third_party/icu/source/test/testdata/numberformattestspecification.txt
third_party/icu/source/tools/toolutil/json-json.hpp
third_party/icu/source/tools/toolutil/pkg_genc.cpp
third_party/inspector_protocol/crdtp/cbor.cc
third_party/inspector_protocol/crdtp/json.cc
@@ -11437,9 +11496,6 @@ third_party/libc++/src/src/print.cpp
third_party/libc++/src/test/libcxx/containers/sequences/deque/asan_turning_off.pass.cpp
third_party/libc++/src/test/libcxx/containers/sequences/vector/asan_turning_off.pass.cpp
third_party/libc++/src/test/libcxx/containers/strings/basic.string/asan_turning_off.pass.cpp
third_party/libc++/src/test/std/input.output/filesystems/class.rec.dir.itr/cache_refresh_iter.pass.cpp
third_party/libc++/src/test/std/time/time.zone/time.zone.db/time.zone.db.access/current_zone.pass.cpp
third_party/libc++/src/test/std/time/time.zone/time.zone.db/time.zone.db.tzdb/current_zone.pass.cpp
third_party/libc++/src/utils/ci/BOT_OWNERS.txt
third_party/libc++abi/src/CREDITS.TXT
third_party/libdrm/src/android/gralloc_handle.h
@@ -12154,6 +12210,7 @@ third_party/node/node_modules/domutils/lib/esm/stringify.js
third_party/node/node_modules/domutils/lib/stringify.js
third_party/node/node_modules/eslint-plugin-jsdoc/node_modules/escape-string-regexp/package.json
third_party/node/node_modules/eslint-plugin-jsdoc/src/tagNames.js
third_party/node/node_modules/eslint-plugin-lit/lib/rules/no-native-attributes.js
third_party/node/node_modules/eslint-scope/lib/definition.js
third_party/node/node_modules/eslint-scope/lib/index.js
third_party/node/node_modules/eslint-scope/lib/pattern-visitor.js
@@ -12214,6 +12271,9 @@ third_party/node/node_modules/p-limit/package.json
third_party/node/node_modules/p-locate/package.json
third_party/node/node_modules/parent-module/package.json
third_party/node/node_modules/parse-imports/package.json
third_party/node/node_modules/parse5-htmlparser2-tree-adapter/package.json
third_party/node/node_modules/parse5/lib/tokenizer/index.js
third_party/node/node_modules/parse5/package.json
third_party/node/node_modules/path-exists/package.json
third_party/node/node_modules/path-key/package.json
third_party/node/node_modules/postcss-selector-parser/package.json
@@ -12329,7 +12389,6 @@ third_party/openscreen/src/cast/streaming/encoded_frame.h
third_party/openscreen/src/cast/streaming/environment.h
third_party/openscreen/src/cast/streaming/frame_id.h
third_party/openscreen/src/cast/streaming/impl/clock_offset_estimator.h
third_party/openscreen/src/cast/streaming/impl/compound_rtcp_parser.cc
third_party/openscreen/src/cast/streaming/impl/rtcp_common.cc
third_party/openscreen/src/cast/streaming/impl/rtp_defines.h
third_party/openscreen/src/cast/streaming/impl/sender_session_unittest.cc
@@ -13012,8 +13071,8 @@ third_party/perfetto/ui/src/frontend/permalink.ts
third_party/perfetto/ui/src/frontend/post_message_handler.ts
third_party/perfetto/ui/src/frontend/post_message_handler_unittest.ts
third_party/perfetto/ui/src/frontend/sidebar.ts
third_party/perfetto/ui/src/frontend/timeline_page/wasd_navigation_handler.ts
third_party/perfetto/ui/src/frontend/trace_url_handler.ts
third_party/perfetto/ui/src/frontend/viewer_page/wasd_navigation_handler.ts
third_party/perfetto/ui/src/open_perfetto_trace/index.html
third_party/perfetto/ui/src/plugins/dev.perfetto.ProcessSummary/index.ts
third_party/perfetto/ui/src/plugins/dev.perfetto.RecordTraceV2/adb/adb_msg.ts
@@ -13021,6 +13080,7 @@ third_party/perfetto/ui/src/plugins/dev.perfetto.RecordTraceV2/adb/web_device_pr
third_party/perfetto/ui/src/plugins/dev.perfetto.RecordTraceV2/pages/android.ts
third_party/perfetto/ui/src/plugins/dev.perfetto.RecordTraceV2/pages/record_page.ts
third_party/perfetto/ui/src/plugins/dev.perfetto.TraceInfoPage/trace_info_page.ts
third_party/perfetto/ui/src/plugins/org.kernel.Wattson/index.ts
third_party/perfetto/ui/src/trace_processor/engine.ts
third_party/perfetto/ui/src/widgets/hotkey_context.ts
third_party/polymer/v3_0/BUILD.gn
@@ -14374,6 +14434,7 @@ third_party/readability/src/test/test-pages/yahoo-1/source.html
third_party/readability/src/test/test-pages/yahoo-2/source.html
third_party/readability/src/test/test-pages/yahoo-3/source.html
third_party/readability/src/test/test-pages/yahoo-4/source.html
third_party/readability/test_extension/viewer.html
third_party/rust/PRESUBMIT.py
third_party/rust/adler2/v2/BUILD.gn
third_party/rust/anyhow/v1/BUILD.gn
@@ -14392,6 +14453,7 @@ third_party/rust/diplomat_core/v0_13/BUILD.gn
third_party/rust/diplomat_runtime/v0_13/BUILD.gn
third_party/rust/foldhash/v0_2/BUILD.gn
third_party/rust/hashbrown/v0_15/BUILD.gn
third_party/rust/hashbrown/v0_16/BUILD.gn
third_party/rust/itoa/v1/BUILD.gn
third_party/rust/lazy_static/v1/BUILD.gn
third_party/rust/memchr/v2/BUILD.gn
@@ -14404,7 +14466,6 @@ third_party/rust/quote/v1/BUILD.gn
third_party/rust/regex_automata/v0_4/BUILD.gn
third_party/rust/regex_syntax/v0_8/BUILD.gn
third_party/rust/rustc_demangle_capi/v0_1/BUILD.gn
third_party/rust/rustversion/v1/BUILD.gn
third_party/rust/ryu/v1/BUILD.gn
third_party/rust/serde/v1/BUILD.gn
third_party/rust/serde_core/v1/BUILD.gn
@@ -14523,7 +14584,6 @@ third_party/skia/infra/bots/recipes/housekeeper.expected/Housekeeper-PerCommit-T
third_party/skia/infra/bots/recipes/housekeeper.expected/Housekeeper-PerCommit.json
third_party/skia/infra/bots/recipes/housekeeper.py
third_party/skia/infra/bots/recipes/infra.py
third_party/skia/infra/bots/recipes/perf_pathkit.py
third_party/skia/infra/bots/recipes/perf_skottietrace.py
third_party/skia/infra/bots/recipes/perf_skottiewasm_lottieweb.py
third_party/skia/infra/bots/recipes/sync_and_compile.expected/Build-Debian10-Clang-arm-Release-NoPatch (tryjob).json
@@ -14533,7 +14593,6 @@ third_party/skia/infra/bots/recipes/sync_and_compile.py
third_party/skia/infra/bots/recipes/test.py
third_party/skia/infra/bots/recipes/test_canvaskit.py
third_party/skia/infra/bots/recipes/test_lottie_web.py
third_party/skia/infra/bots/recipes/test_pathkit.py
third_party/skia/infra/bots/recipes/upload_buildstats_results.py
third_party/skia/infra/bots/recipes/upload_dm_results.py
third_party/skia/infra/bots/recipes/upload_nano_results.py
@@ -14552,10 +14611,6 @@ third_party/skia/modules/canvaskit/tests/core_test.js
third_party/skia/modules/canvaskit/tests/font_test.js
third_party/skia/modules/canvaskit/tests/skottie_test.js
third_party/skia/modules/canvaskit/webgl.js
third_party/skia/modules/pathkit/chaining.js
third_party/skia/modules/pathkit/helper.js
third_party/skia/modules/pathkit/npm-asmjs/package.json
third_party/skia/modules/pathkit/npm-wasm/package.json
third_party/skia/modules/skottie/src/effects/SkSLEffect.cpp
third_party/skia/modules/skottie/src/layers/TextLayer.cpp
third_party/skia/modules/skunicode/BUILD.gn
@@ -14648,6 +14703,8 @@ third_party/skia/tests/SkXmpTest.cpp
third_party/skia/tests/StringTest.cpp
third_party/skia/tests/TriangulatingPathRendererTests.cpp
third_party/skia/tests/TypefaceTest.cpp
third_party/skia/third_party/dawn/BUILD.gn
third_party/skia/third_party/dawn/build_dawn.py
third_party/skia/third_party/etc1/etc1.cpp
third_party/skia/third_party/etc1/etc1.h
third_party/skia/third_party/freetype2/include/freetype-android/freetype/config/ftoption.h
@@ -15026,8 +15083,12 @@ third_party/tflite/src/tensorflow/tools/android/test/jni/rgb2yuv.cc
third_party/tflite/src/tensorflow/tools/compatibility/tf_upgrade_v2_safety_test.py
third_party/tflite/src/tensorflow/tools/pip_package/THIRD_PARTY_NOTICES.txt
third_party/tflite/src/third_party/xla/xla/backends/gpu/codegen/emitters/transpose.h
third_party/tflite/src/third_party/xla/xla/error/debug_me_context_util.h
third_party/tflite/src/third_party/xla/xla/pjrt/c/pjrt_c_api.h
third_party/tflite/src/third_party/xla/xla/pjrt/pjrt_api.cc
third_party/tflite/src/third_party/xla/xla/python/ifrt/user_context_status_util.cc
third_party/tflite/src/third_party/xla/xla/python/ifrt/user_context_status_util_test.cc
third_party/tflite/src/third_party/xla/xla/python/ifrt_proxy/contrib/pathways/status_annotator_util.cc
third_party/tflite/src/third_party/xla/xla/service/hlo_graph_dumper.cc
third_party/tflite/src/third_party/xla/xla/service/hlo_verifier.cc
third_party/tflite/src/third_party/xla/xla/tools/benchmarks/utils/generate_benchmark_matrices_main.cc
@@ -15085,9 +15146,9 @@ third_party/vulkan-tools/src/cube/cube.c
third_party/vulkan-tools/src/cube/gettime.h
third_party/vulkan-tools/src/icd/generated/vk_typemap_helper.h
third_party/vulkan-tools/src/scripts/android.py
third_party/vulkan-tools/src/scripts/generators/mock_icd_generator.py
third_party/vulkan-tools/src/scripts/generators/vulkan_tools_helper_file_generator.py
third_party/vulkan-tools/src/scripts/gn/gn.py
third_party/vulkan-tools/src/scripts/mock_icd_generator.py
third_party/vulkan-tools/src/scripts/vulkan_tools_helper_file_generator.py
third_party/vulkan-utility-libraries/src/scripts/gn/gn.py
third_party/vulkan-validation-layers/src/layers/CMakeLists.txt
third_party/vulkan-validation-layers/src/layers/external/inplace_function.h
@@ -15170,6 +15231,7 @@ third_party/webrtc/BUILD.gn
third_party/webrtc/PRESUBMIT.py
third_party/webrtc/api/audio_codecs/opus/audio_encoder_opus_config.h
third_party/webrtc/api/data_channel_event_observer_interface.h
third_party/webrtc/api/jsep.cc
third_party/webrtc/api/location.h
third_party/webrtc/api/scoped_refptr.h
third_party/webrtc/api/uma_metrics.h
@@ -15180,6 +15242,8 @@ third_party/webrtc/api/video/i422_buffer.h
third_party/webrtc/api/video/i444_buffer.h
third_party/webrtc/api/video/nv12_buffer.h
third_party/webrtc/api/video_codecs/video_encoder.h
third_party/webrtc/api/webrtc_sdp.cc
third_party/webrtc/api/webrtc_sdp_unittest.cc
third_party/webrtc/call/adaptation/resource_adaptation_processor.h
third_party/webrtc/call/call.cc
third_party/webrtc/common_audio/resampler/sinc_resampler.cc
@@ -15237,7 +15301,6 @@ third_party/webrtc/p2p/base/turn_port_unittest.cc
third_party/webrtc/p2p/client/basic_port_allocator.cc
third_party/webrtc/p2p/client/basic_port_allocator_unittest.cc
third_party/webrtc/pc/channel.cc
third_party/webrtc/pc/jsep_session_description.cc
third_party/webrtc/pc/media_session_unittest.cc
third_party/webrtc/pc/peer_connection_bundle_unittest.cc
third_party/webrtc/pc/peer_connection_crypto_unittest.cc
@@ -15250,8 +15313,6 @@ third_party/webrtc/pc/peer_connection_integrationtest.cc
third_party/webrtc/pc/peer_connection_interface_unittest.cc
third_party/webrtc/pc/scenario_tests/goog_cc_test.cc
third_party/webrtc/pc/sdp_offer_answer.cc
third_party/webrtc/pc/webrtc_sdp.cc
third_party/webrtc/pc/webrtc_sdp_unittest.cc
third_party/webrtc/presubmit_test_mocks.py
third_party/webrtc/rtc_base/async_dns_resolver.cc
third_party/webrtc/rtc_base/byte_buffer.h
@@ -15296,6 +15357,7 @@ third_party/webrtc/sdk/objc/api/peerconnection/RTCConfiguration.h
third_party/webrtc/sdk/objc/components/renderer/metal/RTCMTLI420Renderer.mm
third_party/webrtc/test/android/native_test_launcher.cc
third_party/webrtc/test/android/native_test_util.cc
third_party/webrtc/test/peer_scenario/tests/l4s_test.cc
third_party/webrtc/test/test_flags.cc
third_party/webrtc/test/test_main_lib.cc
third_party/webrtc/test/testsupport/perf_test.h
@@ -15463,7 +15525,6 @@ tools/android/dependency_analysis/js/src/package_view.html
tools/android/dependency_analysis/js/src/target_view.html
tools/android/dependency_analysis/upload_html_viewer.py
tools/android/generate_java_test/generate_java_test.py
tools/android/logcat_filtering/index.html
tools/android/memtrack_helper/memtrack_helper.c
tools/android/modularization/convenience/touch_resources.py
tools/android/native_lib_memory/PRESUBMIT.py
@@ -15570,6 +15631,7 @@ tools/download_optimization_profile.py
tools/dromaeo_benchmark_runner/dromaeo_benchmark_runner.py
tools/emacs/trybot-mac.txt
tools/find_runtime_symbols/PRESUBMIT.py
tools/flags/generate_clank_feature_flag.py
tools/flags/list_flags.py
tools/fuchsia/3pp/gn-sdk/3pp/fetch.py
tools/fuchsia/3pp/test-scripts/3pp/fetch.py
@@ -15618,7 +15680,6 @@ tools/json_schema_compiler/test/content_settings.json
tools/json_schema_compiler/test/tabs.json
tools/json_schema_compiler/test/windows.json
tools/json_to_struct/PRESUBMIT.py
tools/licenses/licenses_test.py
tools/linux/PRESUBMIT.py
tools/mac/download_symbols.py
tools/mac/icons/compile_car.py
@@ -15707,6 +15768,9 @@ tools/metrics/histograms/metadata/content/histograms.xml
tools/metrics/histograms/metadata/content_extraction/histograms.xml
tools/metrics/histograms/metadata/contextual_cueing/enums.xml
tools/metrics/histograms/metadata/contextual_cueing/histograms.xml
tools/metrics/histograms/metadata/contextual_search/enums.xml
tools/metrics/histograms/metadata/contextual_search/histograms.xml
tools/metrics/histograms/metadata/contextual_tasks/histograms.xml
tools/metrics/histograms/metadata/cookie/enums.xml
tools/metrics/histograms/metadata/cookie/histograms.xml
tools/metrics/histograms/metadata/cras/enums.xml
@@ -15968,6 +16032,7 @@ tools/metrics/histograms/metadata/xr/histograms.xml
tools/metrics/histograms/name_expansion_metadata.py
tools/metrics/histograms/populate_enums.py
tools/metrics/histograms/pretty_print_test.py
tools/metrics/histograms/print_expanded_histograms_test.py
tools/metrics/histograms/split_enums.py
tools/metrics/histograms/split_xml.py
tools/metrics/histograms/test_data/components/histograms.xml
@@ -15984,7 +16049,6 @@ tools/metrics/histograms/test_data/ukm.xml
tools/metrics/md2xml.py
tools/metrics/private_metrics/PRESUBMIT.py
tools/metrics/private_metrics/dwa.xml
tools/metrics/private_metrics/dwa_test.xml
tools/metrics/private_metrics/private_metrics_model_shared_test.py
tools/metrics/private_metrics/private_metrics_validations_test.py
tools/metrics/structured/PRESUBMIT.py
@@ -16075,6 +16139,7 @@ tools/perf/core/shard_maps/timing_data/mac-laptop_high_end-perf_timing.json
tools/perf/core/shard_maps/timing_data/mac-laptop_low_end-perf_timing.json
tools/perf/core/shard_maps/timing_data/mac-m1_mini_2020-perf_timing.json
tools/perf/core/shard_maps/timing_data/mac-m2-pro-perf_timing.json
tools/perf/core/shard_maps/timing_data/mac-m4-mini-perf_timing.json
tools/perf/core/shard_maps/timing_data/win-10-perf_timing.json
tools/perf/core/shard_maps/timing_data/win-10_laptop_low_end-perf_timing.json
tools/perf/core/shard_maps/timing_data/win-11-perf_timing.json
@@ -16180,6 +16245,7 @@ tools/typescript/PRESUBMIT.py
tools/typescript/definitions/command_line_private.d.ts
tools/typescript/definitions/pending.d.ts
tools/typescript/definitions/system_display.d.ts
tools/ubsan/array_bounds_ignorelist.txt
tools/usb_gadget/gadget.py
tools/usb_gadget/msos20_descriptors.py
tools/utr/builders.py
@@ -16314,12 +16380,12 @@ ui/gfx/font.h
ui/gfx/font_fallback_win.h
ui/gfx/font_names_testing.h
ui/gfx/geometry/matrix44.cc
ui/gfx/icon_util.cc
ui/gfx/icon_util.h
ui/gfx/render_text.cc
ui/gfx/render_text_unittest.cc
ui/gfx/text_elider_unittest.cc
ui/gfx/win/hwnd_util.cc
ui/gfx/win/icon_util.cc
ui/gfx/win/icon_util.h
ui/gfx/win/physical_size.cc
ui/gfx/win/singleton_hwnd_hot_key_observer.cc
ui/gl/android/scoped_a_native_window.cc
@@ -16370,6 +16436,7 @@ ui/views/view_unittest.cc
ui/views/widget/desktop_aura/desktop_native_widget_aura.cc
ui/views/win/hwnd_message_handler.cc
ui/views/window/non_client_view.cc
ui/webui/resources/cr_components/composebox/composebox_voice_search.ts
ui/webui/resources/cr_components/cr_shortcut_input/cr_shortcut_input.ts
ui/webui/resources/cr_components/help_bubble/help_bubble_icons.html
ui/webui/resources/cr_elements/icons.html.ts
@@ -2735,7 +2735,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
+#endif // BRAVE_UTILITY_IMPORTER_BRAVE_EXTERNAL_PROCESS_IMPORTER_BRIDGE_H_
--- /dev/null
+++ b/chrome/utility/importer/chrome_importer.cc
@@ -0,0 +1,437 @@
@@ -0,0 +1,436 @@
+/* Copyright (c) 2019 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,
@@ -3103,8 +3103,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
+ if (!usage.favicon_url.is_valid())
+ continue; // Don't bother importing favicons with invalid URLs.
+
+ std::vector<uint8_t> data;
+ s.ColumnBlobAsVector(1, &data);
+ std::vector<uint8_t> data = s.ColumnBlobAsVector(1);
+ if (data.empty())
+ continue; // Data definitely invalid.
+
@@ -177,7 +177,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
} // namespace user_data_importer
--- a/tools/metrics/histograms/metadata/sql/histograms.xml
+++ b/tools/metrics/histograms/metadata/sql/histograms.xml
@@ -40,6 +40,7 @@ chromium-metrics-reviews@google.com.
@@ -42,6 +42,7 @@ chromium-metrics-reviews@google.com.
<variant name="DBSCSessions" summary="DBSCSessions"/>
<variant name="DIPS" summary="DIPS"/>
<variant name="DownloadRecord" summary="DownloadRecord"/>
@@ -207,7 +207,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
} // namespace user_data_importer
--- a/chrome/common/importer/profile_import_process_param_traits_macros.h
+++ b/chrome/common/importer/profile_import_process_param_traits_macros.h
@@ -20,11 +20,11 @@
@@ -23,11 +23,11 @@
#if BUILDFLAG(IS_WIN)
IPC_ENUM_TRAITS_MIN_MAX_VALUE(user_data_importer::ImporterType,
user_data_importer::TYPE_UNKNOWN,
@@ -244,7 +244,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
}
--- a/chrome/common/pref_names.h
+++ b/chrome/common/pref_names.h
@@ -4266,6 +4266,9 @@ inline constexpr char kServiceWorkerToCo
@@ -4281,6 +4281,9 @@ inline constexpr char kServiceWorkerToCo
inline constexpr char kSharedWorkerBlobURLFixEnabled[] =
"worker.shared_worker_blob_url_fix_enabled";
@@ -256,7 +256,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
inline constexpr char kClearWindowNameForNewBrowsingContextGroup[] =
--- a/chrome/browser/extensions/api/settings_private/prefs_util.cc
+++ b/chrome/browser/extensions/api/settings_private/prefs_util.cc
@@ -1164,6 +1164,8 @@ const PrefsUtil::TypedPrefMap& PrefsUtil
@@ -1147,6 +1147,8 @@ const PrefsUtil::TypedPrefMap& PrefsUtil
settings_api::PrefType::kBoolean;
(*s_allowlist)[::prefs::kImportDialogSearchEngine] =
settings_api::PrefType::kBoolean;
@@ -267,7 +267,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
// Supervised Users. This setting is queried in our Tast tests (b/241943380).
--- a/chrome/browser/ui/webui/settings/settings_ui.cc
+++ b/chrome/browser/ui/webui/settings/settings_ui.cc
@@ -62,6 +62,7 @@
@@ -63,6 +63,7 @@
#include "chrome/browser/ui/webui/settings/font_handler.h"
#include "chrome/browser/ui/webui/settings/hats_handler.h"
#include "chrome/browser/ui/webui/settings/import_data_handler.h"
@@ -275,7 +275,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "chrome/browser/ui/webui/settings/metrics_reporting_handler.h"
#include "chrome/browser/ui/webui/settings/on_startup_handler.h"
#include "chrome/browser/ui/webui/settings/password_manager_handler.h"
@@ -201,6 +202,7 @@ void SettingsUI::RegisterProfilePrefs(
@@ -203,6 +204,7 @@ void SettingsUI::RegisterProfilePrefs(
registry->RegisterBooleanPref(prefs::kImportDialogHistory, true);
registry->RegisterBooleanPref(prefs::kImportDialogSavedPasswords, true);
registry->RegisterBooleanPref(prefs::kImportDialogSearchEngine, true);
@@ -283,7 +283,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
}
SettingsUI::SettingsUI(content::WebUI* web_ui)
@@ -230,7 +232,7 @@ SettingsUI::SettingsUI(content::WebUI* w
@@ -232,7 +234,7 @@ SettingsUI::SettingsUI(content::WebUI* w
AddSettingsPageUIHandler(std::make_unique<DownloadsHandler>(profile));
AddSettingsPageUIHandler(std::make_unique<ExtensionControlHandler>());
AddSettingsPageUIHandler(std::make_unique<FontHandler>(profile));
@@ -294,7 +294,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#if BUILDFLAG(IS_WIN)
--- a/chrome/browser/ui/webui/settings/settings_localized_strings_provider.cc
+++ b/chrome/browser/ui/webui/settings/settings_localized_strings_provider.cc
@@ -900,6 +900,8 @@ void AddImportDataStrings(content::WebUI
@@ -999,6 +999,8 @@ void AddImportDataStrings(content::WebUI
{"importHistory", IDS_SETTINGS_IMPORT_HISTORY_CHECKBOX},
{"importFavorites", IDS_SETTINGS_IMPORT_FAVORITES_CHECKBOX},
{"importPasswords", IDS_SETTINGS_IMPORT_PASSWORDS_CHECKBOX},
@@ -319,7 +319,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
</div>
--- a/chrome/browser/ui/BUILD.gn
+++ b/chrome/browser/ui/BUILD.gn
@@ -1237,6 +1237,10 @@ static_library("ui") {
@@ -1252,6 +1252,10 @@ static_library("ui") {
"webui/settings/accessibility_main_handler.h",
"webui/settings/appearance_handler.cc",
"webui/settings/appearance_handler.h",
@@ -330,7 +330,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
"webui/settings/browser_lifetime_handler.cc",
"webui/settings/browser_lifetime_handler.h",
"webui/settings/captions_handler.cc",
@@ -1391,6 +1395,13 @@ static_library("ui") {
@@ -1408,6 +1412,13 @@ static_library("ui") {
]
}
@@ -412,7 +412,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
// Corresponds to the "id" column of the "visits" SQL table.
--- a/components/history/core/browser/visit_database.cc
+++ b/components/history/core/browser/visit_database.cc
@@ -119,6 +119,8 @@ VisitSource VisitSourceFromInt(int value
@@ -120,6 +120,8 @@ VisitSource VisitSourceFromInt(int value
case SOURCE_SAFARI_IMPORTED:
case SOURCE_ACTOR:
case SOURCE_OS_MIGRATION_IMPORTED:
@@ -434,7 +434,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
}
--- a/chrome/utility/BUILD.gn
+++ b/chrome/utility/BUILD.gn
@@ -92,6 +92,12 @@ static_library("utility") {
@@ -90,6 +90,12 @@ static_library("utility") {
sources += [
"importer/bookmarks_file_importer.cc",
"importer/bookmarks_file_importer.h",
@@ -459,7 +459,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "components/mirroring/service/mirroring_service.h"
#include "services/passage_embeddings/passage_embeddings_service.h"
#include "services/proxy_resolver/proxy_resolver_factory_impl.h" // nogncheck
@@ -144,6 +146,13 @@ static_assert(BUILDFLAG(ENABLE_PRINTING)
@@ -138,6 +140,13 @@ static_assert(BUILDFLAG(ENABLE_PRINTING)
namespace {
@@ -473,7 +473,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
auto RunFilePatcher(mojo::PendingReceiver<patch::mojom::FilePatcher> receiver) {
return std::make_unique<patch::FilePatcherImpl>(std::move(receiver));
}
@@ -456,6 +465,7 @@ void RegisterMainThreadServices(mojo::Se
@@ -434,6 +443,7 @@ void RegisterMainThreadServices(mojo::Se
services.Add(ContentBookmarkParser);
#if !BUILDFLAG(IS_ANDROID)
@@ -583,7 +583,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
// entire group has been collected and is ready to be written to the profile.
--- a/chrome/app/generated_resources.grd
+++ b/chrome/app/generated_resources.grd
@@ -11171,6 +11171,15 @@ Check your passwords anytime in <ph name
@@ -11279,6 +11279,15 @@ Check your passwords anytime in <ph name
Microsoft Edge
</message>
</if>
@@ -35,7 +35,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "chrome/browser/ui/commerce/ui_utils.h"
#include "chrome/browser/ui/send_tab_to_self/send_tab_to_self_bubble.h"
#include "chrome/browser/ui/tabs/features.h"
@@ -3658,6 +3659,44 @@ TabStripSelectionChange TabStripModel::S
@@ -3703,6 +3704,44 @@ TabStripSelectionChange TabStripModel::S
return selection;
}
@@ -82,7 +82,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
// This may happen during automated testing or if a user somehow buffers
--- a/chrome/browser/ui/tabs/tab_strip_model.h
+++ b/chrome/browser/ui/tabs/tab_strip_model.h
@@ -604,6 +604,10 @@ class TabStripModel {
@@ -611,6 +611,10 @@ class TabStripModel {
TabStripUserGestureDetails detail = TabStripUserGestureDetails(
TabStripUserGestureDetails::GestureType::kOther));
@@ -93,7 +93,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
// Moves the active in the specified direction. Respects group boundaries.
void MoveTabNext();
void MoveTabPrevious();
@@ -1132,6 +1136,11 @@ class TabStripModel {
@@ -1139,6 +1143,11 @@ class TabStripModel {
kPrevious,
};
@@ -105,7 +105,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
// Selects either the next tab (kNext), or the previous tab (kPrevious).
void SelectRelativeTab(TabRelativeDirection direction,
TabStripUserGestureDetails detail);
@@ -1388,6 +1397,9 @@ class TabStripModel {
@@ -1393,6 +1402,9 @@ class TabStripModel {
// Tracks whether a modal UI is showing.
bool showing_modal_ui_ = false;
@@ -117,7 +117,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
--- a/chrome/browser/ui/views/frame/browser_view.cc
+++ b/chrome/browser/ui/views/frame/browser_view.cc
@@ -285,7 +285,10 @@
@@ -291,7 +291,10 @@
#include "ui/compositor/paint_recorder.h"
#include "ui/content_accelerators/accelerator_util.h"
#include "ui/display/screen.h"
@@ -128,7 +128,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "ui/gfx/animation/animation_runner.h"
#include "ui/gfx/canvas.h"
#include "ui/gfx/color_utils.h"
@@ -303,6 +306,7 @@
@@ -309,6 +312,7 @@
#include "ui/views/controls/button/menu_button.h"
#include "ui/views/controls/textfield/textfield.h"
#include "ui/views/controls/webview/webview.h"
@@ -136,9 +136,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "ui/views/interaction/element_tracker_views.h"
#include "ui/views/layout/fill_layout.h"
#include "ui/views/view.h"
@@ -726,6 +730,83 @@ bool ConvertedHitTest(views::View* src,
} // namespace
@@ -809,6 +813,83 @@ class BrowserView::ExclusiveAccessContex
base::WeakPtrFactory<ExclusiveAccessContextImpl> weak_ptr_factory_{this};
};
+// Handles events during MRU tab cycling to start/stop tab cycling.
+class TabCyclingEventHandler : public ui::EventObserver,
@@ -230,9 +230,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
class TabDragDelegate;
class TabSearchBubbleHost;
class TabStrip;
@@ -566,6 +567,10 @@ class BrowserView : public BrowserWindow
@@ -555,6 +556,10 @@ class BrowserView : public BrowserWindow
bool IsBorderlessModeEnabled() const override;
void ShowChromeLabs() override;
views::WebView* GetContentsWebView() override;
BrowserView* AsBrowserView() override;
+
+ void StartTabCycling();
@@ -241,15 +241,15 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
SharingDialog* ShowSharingDialog(content::WebContents* contents,
SharingDialogData data) override;
void ShowUpdateChromeDialog() override;
@@ -889,6 +894,7 @@ class BrowserView : public BrowserWindow
friend class BrowserViewLayoutDelegateImplNew;
@@ -860,6 +865,7 @@ class BrowserView : public BrowserWindow
friend class BrowserViewLayoutDelegateImpl;
friend class BrowserViewLayoutDelegateImplOld;
friend class BrowserViewLayoutDelegateImplBrowsertest;
+ friend class TabCyclingEventHandler;
friend class TopControlsSlideControllerTest;
FRIEND_TEST_ALL_PREFIXES(BrowserViewTest, BrowserView);
FRIEND_TEST_ALL_PREFIXES(BrowserViewTest, AccessibleWindowTitle);
@@ -1395,6 +1401,8 @@ class BrowserView : public BrowserWindow
@@ -1387,6 +1393,8 @@ class BrowserView : public BrowserWindow
base::CallbackListSubscription vertical_tab_subscription_;
@@ -10,7 +10,7 @@ Subject: Disable fetching of all field trials
--- a/chrome/browser/flags/android/java/src/org/chromium/chrome/browser/flags/ChromeFeatureList.java
+++ b/chrome/browser/flags/android/java/src/org/chromium/chrome/browser/flags/ChromeFeatureList.java
@@ -60,7 +60,7 @@ public abstract class ChromeFeatureList
@@ -61,7 +61,7 @@ public abstract class ChromeFeatureList
* |kFeaturesExposedToJava| in chrome/browser/flags/android/chrome_feature_list.cc
*/
public static String getFieldTrialParamByFeature(String featureName, String paramName) {
@@ -19,7 +19,7 @@ Subject: Disable fetching of all field trials
}
/**
@@ -72,8 +72,7 @@ public abstract class ChromeFeatureList
@@ -73,8 +73,7 @@ public abstract class ChromeFeatureList
*/
public static boolean getFieldTrialParamByFeatureAsBoolean(
String featureName, String paramName, boolean defaultValue) {
@@ -29,7 +29,7 @@ Subject: Disable fetching of all field trials
}
/**
@@ -85,8 +84,7 @@ public abstract class ChromeFeatureList
@@ -86,8 +85,7 @@ public abstract class ChromeFeatureList
*/
public static int getFieldTrialParamByFeatureAsInt(
String featureName, String paramName, int defaultValue) {
@@ -39,7 +39,7 @@ Subject: Disable fetching of all field trials
}
/**
@@ -98,8 +96,7 @@ public abstract class ChromeFeatureList
@@ -99,8 +97,7 @@ public abstract class ChromeFeatureList
*/
public static double getFieldTrialParamByFeatureAsDouble(
String featureName, String paramName, double defaultValue) {
@@ -51,7 +51,7 @@ Subject: Disable fetching of all field trials
/**
--- a/components/variations/service/variations_service.cc
+++ b/components/variations/service/variations_service.cc
@@ -224,22 +224,7 @@ bool GetInstanceManipulations(const net:
@@ -223,22 +223,7 @@ bool GetInstanceManipulations(const net:
// Variations seed fetching is only enabled in official Chrome builds, if a URL
// is specified on the command line, and for testing.
bool IsFetchingEnabled() {
@@ -9,7 +9,7 @@
--- a/chrome/browser/BUILD.gn
+++ b/chrome/browser/BUILD.gn
@@ -2609,6 +2609,7 @@ static_library("browser") {
@@ -2596,6 +2596,7 @@ static_library("browser") {
"//third_party/libyuv",
"//third_party/metrics_proto",
"//third_party/re2",
@@ -44,7 +44,7 @@
#endif // CHROME_BROWSER_BROMITE_FLAG_ENTRIES_H_
--- a/content/browser/BUILD.gn
+++ b/content/browser/BUILD.gn
@@ -302,6 +302,7 @@ source_set("browser") {
@@ -299,6 +299,7 @@ source_set("browser") {
"//third_party/re2",
"//third_party/snappy",
"//third_party/sqlite",
@@ -62,7 +62,7 @@
#include "components/viz/common/switches.h"
#include "components/viz/host/gpu_client.h"
#include "components/viz/host/host_frame_sink_manager.h"
@@ -3591,6 +3592,8 @@ void RenderProcessHostImpl::PropagateBro
@@ -3698,6 +3699,8 @@ void RenderProcessHostImpl::PropagateBro
switches::kEnableWebGLImageChromium,
switches::kEnableWebGPUDeveloperFeatures,
switches::kFileUrlPathAlias,
@@ -73,7 +73,7 @@
switches::kForceHighContrast,
--- a/content/child/BUILD.gn
+++ b/content/child/BUILD.gn
@@ -110,6 +110,7 @@ target(link_target_type, "child") {
@@ -109,6 +109,7 @@ target(link_target_type, "child") {
"//third_party/blink/public/common:buildflags",
"//third_party/blink/public/strings",
"//third_party/ced",
@@ -83,7 +83,7 @@
"//ui/events/blink",
--- a/content/child/runtime_features.cc
+++ b/content/child/runtime_features.cc
@@ -41,6 +41,7 @@
@@ -42,6 +42,7 @@
#include "third_party/blink/public/common/loader/referrer_utils.h"
#include "third_party/blink/public/common/switches.h"
#include "third_party/blink/public/platform/web_runtime_features.h"
@@ -91,7 +91,7 @@
#include "ui/accessibility/accessibility_features.h"
#include "ui/base/ui_base_features.h"
#include "ui/events/blink/blink_features.h"
@@ -483,6 +484,10 @@ void SetRuntimeFeaturesFromCommandLine(c
@@ -485,6 +486,10 @@ void SetRuntimeFeaturesFromCommandLine(c
true},
{wrf::EnableWebAudioBypassOutputBufferingOptOut,
blink::switches::kWebAudioBypassOutputBufferingOptOut, true},
@@ -124,7 +124,7 @@
#include "base/task/single_thread_task_runner.h"
#include "base/time/time.h"
#include "base/trace_event/trace_event.h"
@@ -1087,6 +1088,11 @@ Document::Document(const DocumentInit& i
@@ -1089,6 +1090,11 @@ Document::Document(const DocumentInit& i
TRACE_EVENT_WITH_FLOW0("blink", "Document::Document", TRACE_ID_LOCAL(this),
TRACE_EVENT_FLAG_FLOW_OUT);
DCHECK(agent_);
@@ -136,7 +136,7 @@
if (base::FeatureList::IsEnabled(features::kDelayAsyncScriptExecution) &&
features::kDelayAsyncScriptExecutionDelayByDefaultParam.Get()) {
script_runner_delayer_->Activate();
@@ -1224,6 +1230,14 @@ const Position Document::PositionAdjuste
@@ -1226,6 +1232,14 @@ const Position Document::PositionAdjuste
return Position::BeforeNode(*shadow_host);
}
@@ -164,7 +164,7 @@
V8VisibilityState visibilityState() const;
String visibilityStateAsString() const;
bool IsPageVisible() const;
@@ -2795,6 +2799,9 @@ class CORE_EXPORT Document : public Cont
@@ -2810,6 +2814,9 @@ class CORE_EXPORT Document : public Cont
base::ElapsedTimer start_time_;
@@ -176,19 +176,17 @@
// - ScriptSchedulingType::kInOrder
--- a/third_party/blink/renderer/core/dom/element.cc
+++ b/third_party/blink/renderer/core/dom/element.cc
@@ -3190,6 +3190,11 @@ DOMRectList* Element::getClientRects() {
DCHECK(element_layout_object);
GetDocument().AdjustQuadsForScrollAndAbsoluteZoom(quads,
*element_layout_object);
+ if (RuntimeEnabledFeatures::FingerprintingClientRectsNoiseEnabled()) {
+ for (gfx::QuadF& quad : quads) {
@@ -3195,6 +3195,9 @@ Vector<gfx::RectF> Element::GetClientRec
}
Vector<gfx::RectF> result;
for (auto& quad : quads) {
+ if (RuntimeEnabledFeatures::FingerprintingClientRectsNoiseEnabled()) {
+ quad.Scale(GetDocument().GetNoiseFactorX(), GetDocument().GetNoiseFactorY());
+ }
+ }
return MakeGarbageCollected<DOMRectList>(quads);
}
@@ -3217,6 +3222,9 @@ gfx::RectF Element::GetBoundingClientRec
result.emplace_back(quad.BoundingBox());
}
return result;
@@ -3224,6 +3227,9 @@ gfx::RectF Element::GetBoundingClientRec
DCHECK(element_layout_object);
GetDocument().AdjustRectForScrollAndAbsoluteZoom(result,
*element_layout_object);
@@ -228,9 +226,9 @@
// TODO(editing-dev): We should make
--- a/third_party/blink/renderer/core/html/canvas/text_metrics.cc
+++ b/third_party/blink/renderer/core/html/canvas/text_metrics.cc
@@ -106,6 +106,24 @@ const ShapeResult* ShapeWord(const TextR
@@ -89,6 +89,24 @@ TextMetrics::TextMetrics(const Font* fon
Update(font, direction, baseline, align, text, text_painter);
}
} // namespace
+void TextMetrics::Shuffle(const double factor) {
+ // x-direction
@@ -255,7 +253,7 @@
const V8CanvasTextBaseline::Enum baseline,
--- a/third_party/blink/renderer/core/html/canvas/text_metrics.h
+++ b/third_party/blink/renderer/core/html/canvas/text_metrics.h
@@ -111,6 +111,8 @@ class CORE_EXPORT TextMetrics final : pu
@@ -109,6 +109,8 @@ class CORE_EXPORT TextMetrics final : pu
float x_position_;
};
@@ -266,7 +264,7 @@
const TextDirection& direction,
--- a/third_party/blink/renderer/modules/canvas/canvas2d/base_rendering_context_2d.cc
+++ b/third_party/blink/renderer/modules/canvas/canvas2d/base_rendering_context_2d.cc
@@ -108,6 +108,9 @@
@@ -107,6 +107,9 @@
// https://github.com/include-what-you-use/include-what-you-use/issues/1122
// IWYU pragma: no_include "base/numerics/clamped_math.h"
@@ -276,20 +274,14 @@
namespace blink {
class MemoryManagedPaintCanvas;
@@ -1252,13 +1255,26 @@ TextMetrics* BaseRenderingContext2D::mea
@@ -1233,9 +1236,22 @@ TextMetrics* BaseRenderingContext2D::mea
TextDirection direction =
ToTextDirection(state.GetDirection(), host, computed_style);
- return MakeGarbageCollected<TextMetrics>(
- font, direction, state.GetTextBaseline().AsEnum(),
- state.GetTextAlign().AsEnum(), text,
+ TextMetrics* text_metrics = MakeGarbageCollected<TextMetrics>(
+ font, direction, GetState().GetTextBaseline().AsEnum(),
+ GetState().GetTextAlign().AsEnum(), text,
RuntimeEnabledFeatures::CanvasTextNgEnabled(
host->GetTopExecutionContext())
? &host->GetPlainTextPainter()
: nullptr);
font, direction, state.GetTextBaseline().AsEnum(),
state.GetTextAlign().AsEnum(), text, host->GetPlainTextPainter());
+
+ // Scale text metrics if enabled
+ if (RuntimeEnabledFeatures::FingerprintingCanvasMeasureTextNoiseEnabled()) {
@@ -308,7 +300,7 @@
String BaseRenderingContext2D::lang() const {
--- a/third_party/blink/renderer/platform/BUILD.gn
+++ b/third_party/blink/renderer/platform/BUILD.gn
@@ -1815,6 +1815,7 @@ component("platform") {
@@ -1811,6 +1811,7 @@ component("platform") {
"//components/paint_preview/common",
"//components/search_engines:search_engine_utils",
"//components/translate/core/language_detection",
@@ -343,7 +335,7 @@
#include "third_party/skia/include/core/SkImage.h"
--- a/third_party/blink/renderer/platform/runtime_enabled_features.json5
+++ b/third_party/blink/renderer/platform/runtime_enabled_features.json5
@@ -2350,6 +2350,12 @@
@@ -2441,6 +2441,12 @@
status: "stable",
},
{
@@ -34,7 +34,7 @@ approach to change color components.
#endif // CHROME_BROWSER_BROMITE_FLAG_ENTRIES_H_
--- a/content/browser/renderer_host/render_process_host_impl.cc
+++ b/content/browser/renderer_host/render_process_host_impl.cc
@@ -3594,6 +3594,7 @@ void RenderProcessHostImpl::PropagateBro
@@ -3701,6 +3701,7 @@ void RenderProcessHostImpl::PropagateBro
switches::kFileUrlPathAlias,
switches::kFingerprintingClientRectsNoise,
switches::kFingerprintingCanvasMeasureTextNoise,
@@ -44,7 +44,7 @@ approach to change color components.
switches::kForceHighContrast,
--- a/content/child/runtime_features.cc
+++ b/content/child/runtime_features.cc
@@ -488,6 +488,8 @@ void SetRuntimeFeaturesFromCommandLine(c
@@ -490,6 +490,8 @@ void SetRuntimeFeaturesFromCommandLine(c
switches::kFingerprintingClientRectsNoise, true},
{wrf::EnableFingerprintingCanvasMeasureTextNoise,
switches::kFingerprintingCanvasMeasureTextNoise, true},
@@ -65,7 +65,7 @@ approach to change color components.
};
--- a/third_party/blink/renderer/modules/canvas/canvas2d/base_rendering_context_2d.cc
+++ b/third_party/blink/renderer/modules/canvas/canvas2d/base_rendering_context_2d.cc
@@ -558,6 +558,9 @@ ImageData* BaseRenderingContext2D::getIm
@@ -557,6 +557,9 @@ ImageData* BaseRenderingContext2D::getIm
snapshot->PaintImageForCurrentFrame().GetSkImageInfo().bounds();
DCHECK(!bounds.intersect(SkIRect::MakeXYWH(sx, sy, sw, sh)));
}
@@ -77,7 +77,7 @@ approach to change color components.
return image_data;
--- a/third_party/blink/renderer/platform/BUILD.gn
+++ b/third_party/blink/renderer/platform/BUILD.gn
@@ -1757,7 +1757,9 @@ component("platform") {
@@ -1753,7 +1753,9 @@ component("platform") {
"//third_party/blink/renderer:non_test_config",
]
@@ -281,7 +281,7 @@ approach to change color components.
} // namespace blink
--- a/third_party/blink/renderer/platform/graphics/static_bitmap_image.h
+++ b/third_party/blink/renderer/platform/graphics/static_bitmap_image.h
@@ -39,6 +39,8 @@ class PLATFORM_EXPORT StaticBitmapImage
@@ -38,6 +38,8 @@ class PLATFORM_EXPORT StaticBitmapImage
StaticBitmapImage(ImageOrientation orientation) : orientation_(orientation) {}
@@ -314,7 +314,7 @@ approach to change color components.
SkJpegEncoder::Options options;
--- a/third_party/blink/renderer/platform/runtime_enabled_features.json5
+++ b/third_party/blink/renderer/platform/runtime_enabled_features.json5
@@ -2356,6 +2356,9 @@
@@ -2447,6 +2447,9 @@
name: "FingerprintingCanvasMeasureTextNoise",
},
{
@@ -17,7 +17,7 @@ with limited CPU/memory resources and it is disabled by default.
--- a/chrome/browser/BUILD.gn
+++ b/chrome/browser/BUILD.gn
@@ -2283,6 +2283,7 @@ static_library("browser") {
@@ -2269,6 +2269,7 @@ static_library("browser") {
"//components/net_log",
"//components/network_hints/common:mojo_bindings",
"//components/network_session_configurator/browser",
@@ -81,7 +81,7 @@ with limited CPU/memory resources and it is disabled by default.
#include "printing/buildflags/buildflags.h"
#include "services/network/public/cpp/features.h"
#include "services/network/public/cpp/network_switches.h"
@@ -417,6 +421,18 @@ void BrowserProcessImpl::Init() {
@@ -432,6 +436,18 @@ void BrowserProcessImpl::Init() {
pref_change_registrar_.Add(metrics::prefs::kMetricsReportingEnabled,
base::BindRepeating(&ApplyMetricsReportingPolicy));
@@ -100,31 +100,19 @@ with limited CPU/memory resources and it is disabled by default.
DCHECK(!webrtc_event_log_manager_);
webrtc_event_log_manager_ = WebRtcEventLogManager::CreateSingletonInstance();
--- a/chrome/browser/flag_descriptions.cc
+++ b/chrome/browser/flag_descriptions.cc
@@ -2671,6 +2671,10 @@ const char kLogJsConsoleMessagesDescript
--- a/chrome/browser/flag_descriptions.h
+++ b/chrome/browser/flag_descriptions.h
@@ -2753,6 +2753,10 @@ inline constexpr char kLogJsConsoleMessa
"Enable logging JS console messages in system logs, please note that they "
"may contain PII.";
+const char kMaxConnectionsPerHostName[] = "Maximum connections per host";
+const char kMaxConnectionsPerHostDescription[] =
+inline constexpr char kMaxConnectionsPerHostName[] = "Maximum connections per host";
+inline constexpr char kMaxConnectionsPerHostDescription[] =
+ "Customize maximum allowed connections per host. ungoogled-chromium flag, Bromite feature.";
+
const char kMediaRouterCastAllowAllIPsName[] =
inline constexpr char kMediaRouterCastAllowAllIPsName[] =
"Connect to Cast devices on all IP addresses";
const char kMediaRouterCastAllowAllIPsDescription[] =
--- a/chrome/browser/flag_descriptions.h
+++ b/chrome/browser/flag_descriptions.h
@@ -1567,6 +1567,9 @@ extern const char kLockTopControlsOnLarg
extern const char kLogJsConsoleMessagesName[];
extern const char kLogJsConsoleMessagesDescription[];
+extern const char kMaxConnectionsPerHostName[];
+extern const char kMaxConnectionsPerHostDescription[];
+
extern const char kMediaRouterCastAllowAllIPsName[];
extern const char kMediaRouterCastAllowAllIPsDescription[];
inline constexpr char kMediaRouterCastAllowAllIPsDescription[] =
--- a/components/network_session_configurator/common/network_features.cc
+++ b/components/network_session_configurator/common/network_features.cc
@@ -8,4 +8,7 @@
@@ -1,34 +0,0 @@
--- a/chrome/browser/ui/views/frame/tab_strip_region_view.cc
+++ b/chrome/browser/ui/views/frame/tab_strip_region_view.cc
@@ -302,12 +302,10 @@ TabStripRegionView::TabStripRegionView(s
new_tab_button_->GetViewAccessibility().SetName(
l10n_util::GetStringUTF16(IDS_ACCNAME_NEWTAB));
-#if BUILDFLAG(IS_LINUX)
// The New Tab Button can be middle-clicked on Linux.
new_tab_button_->SetTriggerableEventFlags(
new_tab_button_->GetTriggerableEventFlags() |
ui::EF_MIDDLE_MOUSE_BUTTON);
-#endif
}
reserved_grab_handle_space_ =
--- a/chrome/browser/ui/views/tabs/tab_strip.cc
+++ b/chrome/browser/ui/views/tabs/tab_strip.cc
@@ -2274,8 +2274,6 @@ void TabStrip::NewTabButtonPressed(const
const ui::MouseEvent& mouse = static_cast<const ui::MouseEvent&>(event);
if (mouse.IsOnlyMiddleMouseButton()) {
- if (ui::Clipboard::IsSupportedClipboardBuffer(
- ui::ClipboardBuffer::kSelection)) {
ui::Clipboard* clipboard = ui::Clipboard::GetForCurrentThread();
CHECK(clipboard)
<< "Clipboard instance is not available, cannot proceed with "
@@ -2286,7 +2284,6 @@ void TabStrip::NewTabButtonPressed(const
if (!clipboard_text.empty()) {
controller_->CreateNewTabWithLocation(clipboard_text);
}
- }
return;
}
}
@@ -189,7 +189,7 @@
base::FilePath GetComputedHashesPath(const base::FilePath& extension_path);
--- a/extensions/common/file_util.cc
+++ b/extensions/common/file_util.cc
@@ -593,6 +593,25 @@ MessageBundle* LoadMessageBundle(
@@ -597,6 +597,25 @@ MessageBundle* LoadMessageBundle(
return message_bundle;
}
@@ -217,7 +217,7 @@
.Append(kVerifiedContentsFilename);
--- a/extensions/browser/renderer_startup_helper.cc
+++ b/extensions/browser/renderer_startup_helper.cc
@@ -666,6 +666,18 @@ void RendererStartupHelper::GetMessageBu
@@ -688,6 +688,18 @@ void RendererStartupHelper::GetMessageBu
paths_to_load.push_back(imported_extension->path());
}
@@ -126,7 +126,7 @@
--- a/chrome/common/extensions/BUILD.gn
+++ b/chrome/common/extensions/BUILD.gn
@@ -83,6 +83,7 @@ source_set("extensions") {
@@ -82,6 +82,7 @@ source_set("extensions") {
"//components/url_formatter",
"//components/version_info",
"//extensions:extensions_resources",
@@ -134,7 +134,7 @@
"//extensions/common",
"//extensions/common:common_constants",
"//extensions/common:core_api_provider",
@@ -90,6 +91,7 @@ source_set("extensions") {
@@ -89,6 +90,7 @@ source_set("extensions") {
"//extensions/strings",
"//ui/gfx/geometry",
"//ui/message_center/public/cpp",
@@ -14,7 +14,7 @@
inline constexpr char kDefaultBrowserLastDeclined[] =
--- a/chrome/browser/ui/browser_ui_prefs.cc
+++ b/chrome/browser/ui/browser_ui_prefs.cc
@@ -77,6 +77,8 @@ void RegisterBrowserPrefs(PrefRegistrySi
@@ -80,6 +80,8 @@ void RegisterBrowserPrefs(PrefRegistrySi
registry->RegisterIntegerPref(prefs::kDefaultBrowserDeclinedCount, 0);
registry->RegisterTimePref(prefs::kDefaultBrowserFirstShownTime,
base::Time());
@@ -82,7 +82,7 @@
}
bool DefaultBrowserInfoBarDelegate::Accept() {
@@ -155,6 +157,22 @@ bool DefaultBrowserInfoBarDelegate::Acce
@@ -156,6 +158,22 @@ bool DefaultBrowserInfoBarDelegate::Acce
return ConfirmInfoBarDelegate::Accept();
}
@@ -119,7 +119,7 @@
raw_ptr<Profile> profile_;
--- a/chrome/browser/ui/views/infobars/confirm_infobar.cc
+++ b/chrome/browser/ui/views/infobars/confirm_infobar.cc
@@ -126,7 +126,9 @@ void ConfirmInfoBar::Layout(PassKey) {
@@ -137,7 +137,9 @@ void ConfirmInfoBar::Layout(PassKey) {
}
if constexpr (!views::PlatformStyle::kIsOkButtonLeading) {
@@ -31,7 +31,7 @@
#include "base/containers/to_vector.h"
#include "base/feature_list.h"
#include "base/functional/bind.h"
@@ -263,6 +264,10 @@ network::mojom::SSLConfigPtr SSLConfigSe
@@ -265,6 +266,10 @@ network::mojom::SSLConfigPtr SSLConfigSe
config->ech_enabled = ech_enabled_.GetValue();
@@ -31,7 +31,7 @@
BLINK_COMMON_EXPORT BASE_DECLARE_FEATURE(kReducedSystemInfo);
--- a/third_party/blink/common/features.cc
+++ b/third_party/blink/common/features.cc
@@ -23,6 +23,15 @@ BASE_FEATURE(kAudioContextJitter,
@@ -24,6 +24,15 @@ BASE_FEATURE(kAudioContextJitter,
"AudioContextJitter",
base::FEATURE_ENABLED_BY_DEFAULT);
@@ -49,7 +49,7 @@
BASE_FEATURE(kRemoveClientHints, "RemoveClientHints", base::FEATURE_DISABLED_BY_DEFAULT);
--- a/third_party/blink/renderer/core/exported/web_view_impl.cc
+++ b/third_party/blink/renderer/core/exported/web_view_impl.cc
@@ -1905,9 +1905,9 @@ void WebView::ApplyWebPreferences(const
@@ -1903,9 +1903,9 @@ void WebView::ApplyWebPreferences(const
prefs.default_maximum_page_scale_factor);
#endif
+113 -23
View File
@@ -111,7 +111,7 @@
#include "url/gurl.h"
#include "url/origin.h"
#include "url/third_party/mozilla/url_parse.h"
@@ -582,6 +587,7 @@ class TemplateURLService::PreLoadingProv
@@ -581,6 +586,7 @@ class TemplateURLService::PreLoadingProv
// TemplateURLService ---------------------------------------------------------
TemplateURLService::TemplateURLService(
PrefService& prefs,
@@ -119,7 +119,7 @@
search_engines::SearchEngineChoiceService& search_engine_choice_service,
TemplateURLPrepopulateData::Resolver& prepopulate_data_resolver,
std::unique_ptr<SearchTermsData> search_terms_data,
@@ -594,6 +600,8 @@ TemplateURLService::TemplateURLService(
@@ -593,6 +599,8 @@ TemplateURLService::TemplateURLService(
prepopulate_data_resolver_(prepopulate_data_resolver),
search_terms_data_(std::move(search_terms_data)),
web_data_service_(web_data_service),
@@ -128,7 +128,7 @@
client_(std::move(client)),
dsp_change_callback_(dsp_change_callback),
pre_loading_providers_(std::make_unique<PreLoadingProviders>()),
@@ -610,11 +618,13 @@ TemplateURLService::TemplateURLService(
@@ -609,11 +617,13 @@ TemplateURLService::TemplateURLService(
TemplateURLService::TemplateURLService(
PrefService& prefs,
@@ -142,7 +142,7 @@
search_engine_choice_service,
prepopulate_data_resolver,
/*search_terms_data=*/std::make_unique<SearchTermsData>(),
@@ -695,6 +705,10 @@ bool TemplateURLService::ShowInActivesLi
@@ -694,6 +704,10 @@ bool TemplateURLService::ShowInActivesLi
}
bool TemplateURLService::HiddenFromLists(const TemplateURL* t_url) const {
@@ -153,7 +153,7 @@
switch (t_url->policy_origin()) {
case TemplateURLData::PolicyOrigin::kDefaultSearchProvider:
return false;
@@ -1524,11 +1538,37 @@ void TemplateURLService::Load() {
@@ -1527,11 +1541,37 @@ void TemplateURLService::Load() {
if (web_data_service_) {
load_handle_ = web_data_service_->GetKeywords(this);
@@ -191,7 +191,7 @@
base::CallbackListSubscription TemplateURLService::RegisterOnLoadedCallback(
base::OnceClosure callback) {
return loaded_ ? base::CallbackListSubscription()
@@ -2512,6 +2552,13 @@ void TemplateURLService::Init() {
@@ -2515,6 +2555,13 @@ void TemplateURLService::Init() {
&TemplateURLService::OnDefaultSearchProviderGUIDChanged,
base::Unretained(this)));
@@ -236,7 +236,7 @@
search_engines::SearchEngineChoiceService& search_engine_choice_service,
TemplateURLPrepopulateData::Resolver& prepopulate_data_resolver,
base::span<const TemplateURLService::Initializer> initializers = {});
@@ -479,6 +483,8 @@ class TemplateURLService final : public
@@ -482,6 +486,8 @@ class TemplateURLService final : public
// OnTemplateURLServiceChanged.
void Load();
@@ -245,7 +245,7 @@
// Registers a callback to be called when the service has loaded.
//
// If the service has already loaded, this function does nothing.
@@ -717,6 +723,8 @@ class TemplateURLService final : public
@@ -720,6 +726,8 @@ class TemplateURLService final : public
void Init();
@@ -254,7 +254,7 @@
// Simulate a loaded `TemplateURLService`.
void ApplyInitializersForTesting(
base::span<const TemplateURLService::Initializer> initializers);
@@ -919,6 +927,10 @@ class TemplateURLService final : public
@@ -922,6 +930,10 @@ class TemplateURLService final : public
// Service used to store entries.
scoped_refptr<KeywordWebDataService> web_data_service_;
@@ -565,7 +565,7 @@
+
--- a/components/omnibox/browser/autocomplete_input.cc
+++ b/components/omnibox/browser/autocomplete_input.cc
@@ -739,9 +739,9 @@ bool AutocompleteInput::HasHTTPSScheme(c
@@ -741,9 +741,9 @@ bool AutocompleteInput::HasHTTPSScheme(c
// static
AutocompleteInput::FeaturedKeywordMode
AutocompleteInput::GetFeaturedKeywordMode(std::u16string_view text) {
@@ -577,7 +577,7 @@
return FeaturedKeywordMode::kPrefix;
return FeaturedKeywordMode::kFalse;
}
@@ -909,6 +909,7 @@ std::u16string AutocompleteInput::Autoco
@@ -911,6 +911,7 @@ std::u16string AutocompleteInput::Autoco
const std::u16string& input,
bool trim_leading_whitespace,
std::u16string* remaining_input) {
@@ -585,7 +585,7 @@
// Find end of first token. The AutocompleteController has trimmed leading
// whitespace, so we need not skip over that.
const size_t first_white(input.find_first_of(base::kWhitespaceUTF16));
@@ -917,6 +918,39 @@ std::u16string AutocompleteInput::Autoco
@@ -919,6 +920,39 @@ std::u16string AutocompleteInput::Autoco
return input; // Only one token provided.
}
@@ -678,7 +678,7 @@
--- a/components/search_engines/template_url.cc
+++ b/components/search_engines/template_url.cc
@@ -1693,6 +1693,8 @@ bool TemplateURL::IsBetterThanConflictin
@@ -1700,6 +1700,8 @@ bool TemplateURL::IsBetterThanConflictin
: base::Time(),
// Prefer engines that CANNOT be auto-replaced.
!engine->safe_for_autoreplace(),
@@ -724,7 +724,7 @@
COMPONENT_EXPORT(HELIUM) GURL GetDummyURL();
--- a/chrome/browser/ui/webui/settings/settings_localized_strings_provider.cc
+++ b/chrome/browser/ui/webui/settings/settings_localized_strings_provider.cc
@@ -1975,6 +1975,9 @@ void AddPrivacyStrings(content::WebUIDat
@@ -2125,6 +2125,9 @@ void AddPrivacyStrings(content::WebUIDat
{"heliumServicesToggle", IDS_SETTINGS_HELIUM_SERVICES_TOGGLE},
{"heliumServicesToggleDescription",
IDS_SETTINGS_HELIUM_SERVICES_TOGGLE_DESCRIPTION},
@@ -736,7 +736,7 @@
{"heliumExtProxyToggleDescription",
--- a/chrome/app/settings_strings.grdp
+++ b/chrome/app/settings_strings.grdp
@@ -1951,6 +1951,12 @@
@@ -1981,6 +1981,12 @@
<message name="IDS_SETTINGS_HELIUM_SERVICES_EXT_PROXY_TOGGLE_DESCRIPTION" desc="Description of the toggle for enabling/disabling of downloading and proxying extensions">
When enabled, Helium will proxy extension downloads and updates to protect your privacy. When disabled, downloading and updating extensions will not work.
</message>
@@ -765,7 +765,7 @@
</template>
--- a/chrome/browser/ui/browser_ui_prefs.cc
+++ b/chrome/browser/ui/browser_ui_prefs.cc
@@ -208,6 +208,7 @@ void RegisterBrowserUserPrefs(user_prefs
@@ -211,6 +211,7 @@ void RegisterBrowserUserPrefs(user_prefs
{
registry->RegisterBooleanPref(prefs::kHeliumServicesEnabled, true);
@@ -775,7 +775,7 @@
registry->RegisterBooleanPref(prefs::kHeliumDidOnboarding, false);
--- a/chrome/browser/extensions/api/settings_private/prefs_util.cc
+++ b/chrome/browser/extensions/api/settings_private/prefs_util.cc
@@ -357,6 +357,8 @@ const PrefsUtil::TypedPrefMap& PrefsUtil
@@ -360,6 +360,8 @@ const PrefsUtil::TypedPrefMap& PrefsUtil
settings_api::PrefType::kBoolean;
(*s_allowlist)[::prefs::kHeliumExtProxyEnabled] =
settings_api::PrefType::kBoolean;
@@ -796,9 +796,68 @@
} // namespace prefs
#endif // COMPONENTS_HELIUM_SERVICES_PREF_NAMES_H_
--- a/third_party/metrics_proto/omnibox_event.proto
+++ b/third_party/metrics_proto/omnibox_event.proto
@@ -774,6 +774,8 @@ message OmniboxEventProto {
// or tabbing to it.
TOOLBELT = 9; // Select and activate a search shortcuts action
// from the omnibox toolbelt.
+ RETURN_BANG = 10; // Accept a bang at the end of the query by pressing
+ // the Return/Enter key.
}
optional KeywordModeEntryMethod keyword_mode_entry_method = 20;
--- a/chrome/browser/ui/omnibox/omnibox_edit_model.h
+++ b/chrome/browser/ui/omnibox/omnibox_edit_model.h
@@ -300,6 +300,9 @@ class OmniboxEditModel {
return !is_keyword_hint_ && !keyword_.empty();
}
+ // Accepts the bang at the end of the user query.
+ void MaybeAcceptTrailingBang();
+
// Accepts the current keyword hint as a keyword. It always returns true for
// caller convenience. |entry_method| indicates how the user entered
// keyword mode.
@@ -655,6 +658,10 @@ class OmniboxEditModel {
// triggering is enabled, false otherwise.
bool AllowKeywordSpaceTriggering() const;
+ // Checks whether the user text contains a bang at the end of it
+ // that can be accepted by pressing the Return key.
+ bool HasTrailingBangKeyword() const;
+
// Accepts current keyword if the user just typed a space at the end of
// |new_text|. This handles both of the following cases:
// (assume "foo" is a keyword, | is the input caret, [] is selected text)
--- a/chrome/browser/ui/omnibox/omnibox_edit_model.cc
+++ b/chrome/browser/ui/omnibox/omnibox_edit_model.cc
@@ -840,6 +840,17 @@ bool OmniboxEditModel::AcceptKeyword(
@@ -859,6 +859,24 @@ void OmniboxEditModel::OpenSelectionForT
OpenSelection(popup_selection_, timestamp, disposition, via_keyboard);
}
+void OmniboxEditModel::MaybeAcceptTrailingBang() {
+ if (!HasTrailingBangKeyword()) {
+ return;
+ }
+
+ AcceptKeyword(OmniboxEventProto::RETURN_BANG);
+
+ const AutocompleteResult& result = autocomplete_controller()->result();
+ for (size_t i = 0; i < result.size(); i++) {
+ const AutocompleteMatch& match = result.match_at(i);
+
+ if (input_.text() == match.fill_into_edit) {
+ SetPopupSelection(OmniboxPopupSelection(i));
+ return;
+ }
+ }
+}
+
bool OmniboxEditModel::AcceptKeyword(
OmniboxEventProto::KeywordModeEntryMethod entry_method) {
TRACE_EVENT0("omnibox", "OmniboxEditModel::AcceptKeyword");
@@ -867,6 +885,17 @@ bool OmniboxEditModel::AcceptKeyword(
controller_->StopAutocomplete(/*clear_result=*/false);
@@ -807,16 +866,16 @@
+ keyword_);
+
+ if (turl && turl->bang_id() > 0 && !user_text_.starts_with(u'!')) {
+ AutocompleteMatch match = CurrentMatch(nullptr);
+ AutocompleteMatch match = CurrentMatch();
+ if (!match.fill_into_edit.empty()) {
+ user_text_ = match.fill_into_edit;
+ }
+ }
+
is_keyword_hint_ = false;
SetIsKeywordHint(false);
keyword_mode_entry_method_ = entry_method;
if (original_user_text_with_keyword_.empty()) {
@@ -882,9 +893,6 @@ bool OmniboxEditModel::AcceptKeyword(
@@ -909,9 +938,6 @@ bool OmniboxEditModel::AcceptKeyword(
}
base::RecordAction(base::UserMetricsAction("AcceptedKeywordHint"));
@@ -826,7 +885,7 @@
EmitEnteredKeywordModeHistogram(entry_method, turl, !user_text_.empty());
return true;
}
@@ -1543,7 +1551,13 @@ void OmniboxEditModel::InternalSetUserTe
@@ -1561,7 +1587,13 @@ void OmniboxEditModel::InternalSetUserTe
std::u16string OmniboxEditModel::MaybeStripKeyword(
const std::u16string& text) const {
@@ -841,7 +900,28 @@
? AutocompleteInput::SplitReplacementStringFromInput(text, false)
: text;
}
@@ -2756,10 +2770,12 @@ bool OmniboxEditModel::MaybeAcceptKeywor
@@ -2735,16 +2767,33 @@ bool OmniboxEditModel::AllowKeywordSpace
return GetPrefService()->GetBoolean(omnibox::kKeywordSpaceTriggeringEnabled);
}
+bool OmniboxEditModel::HasTrailingBangKeyword() const {
+ if (!is_keyword_hint_ || input_.InKeywordMode()
+ || !keyword_.starts_with('!')
+ || !AutocompleteMatch::IsSearchType(current_match_.type)
+ || !GetText().ends_with(keyword_)) {
+ return false;
+ }
+
+ const TemplateURL* turl =
+ controller_->client()->GetTemplateURLService()->GetTemplateURLForKeyword(
+ keyword_);
+
+ return turl && turl->bang_id() > 0;
+}
+
bool OmniboxEditModel::MaybeAcceptKeywordBySpace(
const std::u16string& new_text) {
if (!AllowKeywordSpaceTriggering()) {
return false;
}
@@ -856,3 +936,13 @@
AcceptKeyword(OmniboxEventProto::SPACE_AT_END);
}
--- a/chrome/browser/ui/views/omnibox/omnibox_view_views.cc
+++ b/chrome/browser/ui/views/omnibox/omnibox_view_views.cc
@@ -1956,6 +1956,7 @@ bool OmniboxViewViews::HandleKeyEvent(vi
metric_value);
if (controller()->IsPopupOpen() && !control) {
// Normal case of pressing <return> when the popup is open.
+ controller()->edit_model()->MaybeAcceptTrailingBang();
controller()->edit_model()->OpenSelection(
controller()->edit_model()->GetPopupSelection(), event.time_stamp(),
disposition,
@@ -90,12 +90,12 @@
"Configures the frame rate the browser is throttled to when Energy Saver is enabled. Helium flag.",
--- a/chrome/browser/BUILD.gn
+++ b/chrome/browser/BUILD.gn
@@ -264,6 +264,8 @@ static_library("browser") {
"btm/btm_browser_signin_detector_factory.h",
"btm/stateful_bounce_counter.cc",
"btm/stateful_bounce_counter.h",
+ "channel_selection.cc",
+ "channel_selection.h",
@@ -255,6 +255,8 @@ static_library("browser") {
"browsing_topics/browsing_topics_service_factory.h",
"chained_back_navigation_tracker.cc",
"chained_back_navigation_tracker.h",
+ "channel_selection.cc",
+ "channel_selection.h",
"child_process_host_flags.h",
"chrome_browser_field_trials.cc",
"chrome_browser_field_trials.h",
@@ -102,7 +102,7 @@ TODO: guard services_page.html with is_mac
</template>
--- a/chrome/browser/ui/webui/settings/settings_localized_strings_provider.cc
+++ b/chrome/browser/ui/webui/settings/settings_localized_strings_provider.cc
@@ -1985,6 +1985,10 @@ void AddPrivacyStrings(content::WebUIDat
@@ -2135,6 +2135,10 @@ void AddPrivacyStrings(content::WebUIDat
IDS_SETTINGS_HELIUM_SERVICES_EXT_PROXY_TOGGLE},
{"heliumExtProxyToggleDescription",
IDS_SETTINGS_HELIUM_SERVICES_EXT_PROXY_TOGGLE_DESCRIPTION},
@@ -115,7 +115,7 @@ TODO: guard services_page.html with is_mac
IDS_SETTINGS_HELIUM_SERVICES_OVERRIDE_DESCRIPTION},
--- a/chrome/browser/extensions/api/settings_private/prefs_util.cc
+++ b/chrome/browser/extensions/api/settings_private/prefs_util.cc
@@ -361,6 +361,8 @@ const PrefsUtil::TypedPrefMap& PrefsUtil
@@ -364,6 +364,8 @@ const PrefsUtil::TypedPrefMap& PrefsUtil
settings_api::PrefType::kBoolean;
(*s_allowlist)[::prefs::kHeliumSpellcheckEnabled] =
settings_api::PrefType::kBoolean;
@@ -126,7 +126,7 @@ TODO: guard services_page.html with is_mac
(*s_allowlist)[::prefs::kHeliumServicesConsented] =
--- a/chrome/browser/ui/browser_ui_prefs.cc
+++ b/chrome/browser/ui/browser_ui_prefs.cc
@@ -214,6 +214,7 @@ void RegisterBrowserUserPrefs(user_prefs
@@ -217,6 +217,7 @@ void RegisterBrowserUserPrefs(user_prefs
registry->RegisterStringPref(prefs::kHeliumServicesOrigin, "");
registry->RegisterBooleanPref(prefs::kHeliumDidOnboarding, false);
registry->RegisterBooleanPref(prefs::kHeliumServicesConsented, false);
@@ -136,7 +136,7 @@ TODO: guard services_page.html with is_mac
registry->RegisterBooleanPref(
--- a/chrome/app/settings_strings.grdp
+++ b/chrome/app/settings_strings.grdp
@@ -1963,6 +1963,12 @@
@@ -1996,6 +1996,12 @@
<message name="IDS_SETTINGS_HELIUM_SERVICES_SPELLCHECK_TOGGLE_DESCRIPTION" desc="Description of the for enabling/disabling of downloading spellcheck files">
Helium will fetch dictionary files used for spell checking when requested. When disabled, spell checking will not work.
</message>
+1 -1
View File
@@ -480,7 +480,7 @@
private:
--- a/chrome/common/importer/profile_import_process_param_traits_macros.h
+++ b/chrome/common/importer/profile_import_process_param_traits_macros.h
@@ -20,11 +20,11 @@
@@ -23,11 +23,11 @@
#if BUILDFLAG(IS_WIN)
IPC_ENUM_TRAITS_MIN_MAX_VALUE(user_data_importer::ImporterType,
user_data_importer::TYPE_UNKNOWN,
+5 -5
View File
@@ -1,6 +1,6 @@
--- a/chrome/browser/renderer_context_menu/render_view_context_menu.cc
+++ b/chrome/browser/renderer_context_menu/render_view_context_menu.cc
@@ -1127,11 +1127,6 @@ void RenderViewContextMenu::InitMenu() {
@@ -1146,11 +1146,6 @@ void RenderViewContextMenu::InitMenu() {
AppendSpellingAndSearchSuggestionItems();
}
@@ -12,7 +12,7 @@
if (editable) {
AppendOtherEditableItems();
}
@@ -2213,7 +2208,6 @@ void RenderViewContextMenu::AppendPageIt
@@ -2245,7 +2240,6 @@ void RenderViewContextMenu::AppendPageIt
IDS_CONTENT_CONTEXT_SAVEPAGEAS);
menu_model_.AddItemWithStringId(IDC_PRINT, IDS_CONTENT_CONTEXT_PRINT);
AppendLiveCaptionItem();
@@ -20,7 +20,7 @@
if (IsRegionSearchEnabled()) {
AppendRegionSearchItem();
}
@@ -2342,8 +2336,7 @@ void RenderViewContextMenu::AppendMediaR
@@ -2374,8 +2368,7 @@ void RenderViewContextMenu::AppendMediaR
void RenderViewContextMenu::AppendReadAnythingItem() {
// Show Read Anything option if it's not already open in the side panel.
@@ -30,7 +30,7 @@
menu_model_.AddItemWithStringId(IDC_CONTENT_CONTEXT_OPEN_IN_READING_MODE,
IDS_CONTENT_CONTEXT_READING_MODE);
}
@@ -3619,10 +3612,12 @@ void RenderViewContextMenu::ExecuteComma
@@ -3657,10 +3650,12 @@ void RenderViewContextMenu::ExecuteComma
}
void RenderViewContextMenu::AddSpellCheckServiceItem(bool is_checked) {
@@ -43,7 +43,7 @@
if (is_checked) {
menu_model_.AddCheckItemWithStringId(
IDC_CONTENT_CONTEXT_ACCESSIBILITY_LABELS_TOGGLE,
@@ -3999,6 +3994,8 @@ bool RenderViewContextMenu::IsVideoFrame
@@ -4038,6 +4033,8 @@ bool RenderViewContextMenu::IsVideoFrame
bool RenderViewContextMenu::AppendQRCodeGeneratorItem(bool for_image,
bool draw_icon,
bool add_separator) {
@@ -1,6 +1,6 @@
--- a/services/network/public/cpp/features.cc
+++ b/services/network/public/cpp/features.cc
@@ -421,7 +421,7 @@ BASE_FEATURE(kUpdateRequestForCorsRedire
@@ -439,7 +439,7 @@ BASE_FEATURE(kUpdateRequestForCorsRedire
// https://github.com/patcg-individual-drafts/topics
// Kill switch for the Topics API.
@@ -9,7 +9,7 @@
// Enable the shared storage API. Note that enabling this feature does not
// automatically expose this API to the web, it only allows the element to be
@@ -500,7 +500,7 @@ BASE_FEATURE(kSharedStorageTransactional
@@ -518,7 +518,7 @@ BASE_FEATURE(kSharedStorageTransactional
// Kill switch for the Interest Group API, i.e. if disabled, the
// API exposure will be disabled regardless of the OT config.
@@ -1,6 +1,6 @@
--- a/chrome/browser/ui/views/webid/fedcm_account_selection_view_desktop.cc
+++ b/chrome/browser/ui/views/webid/fedcm_account_selection_view_desktop.cc
@@ -1280,6 +1280,9 @@ gfx::Rect FedCmAccountSelectionView::Get
@@ -1282,6 +1282,9 @@ gfx::Rect FedCmAccountSelectionView::Get
void FedCmAccountSelectionView::ShouldShowDialog(bool& should_show) {
if (dialog_type_ == DialogType::BUBBLE) {
+1 -1
View File
@@ -1,6 +1,6 @@
--- a/components/search/ntp_features.cc
+++ b/components/search/ntp_features.cc
@@ -234,7 +234,7 @@ BASE_FEATURE(kNtpMicrosoftAuthentication
@@ -240,7 +240,7 @@ BASE_FEATURE(kNtpNextFeatures, base::FEA
BASE_FEATURE(kNtpOneGoogleBarAsyncBarParts, base::FEATURE_DISABLED_BY_DEFAULT);
// If enabled, a footer will show on the NTP.
@@ -1,6 +1,6 @@
--- a/chrome/browser/upgrade_detector/upgrade_detector_impl.cc
+++ b/chrome/browser/upgrade_detector/upgrade_detector_impl.cc
@@ -214,6 +214,8 @@ void UpgradeDetectorImpl::DoCalculateThr
@@ -220,6 +220,8 @@ void UpgradeDetectorImpl::DoCalculateThr
void UpgradeDetectorImpl::StartOutdatedBuildDetector() {
DCHECK_CALLED_ON_VALID_SEQUENCE(sequence_checker_);
@@ -1,6 +1,6 @@
--- a/chrome/browser/ui/ui_features.cc
+++ b/chrome/browser/ui/ui_features.cc
@@ -627,7 +627,7 @@ bool HasTabSearchToolbarButton() {
@@ -670,7 +670,7 @@ bool HasTabSearchToolbarButton() {
return is_tab_search_moving;
}
@@ -1,6 +1,6 @@
--- a/chrome/browser/ui/ui_features.cc
+++ b/chrome/browser/ui/ui_features.cc
@@ -285,13 +285,7 @@ bool IsTabGroupMenuMoreEntryPointsEnable
@@ -307,13 +307,7 @@ bool IsTabGroupMenuMoreEntryPointsEnable
// Enables preview images in tab-hover cards.
// https://crbug.com/928954
@@ -23,7 +23,7 @@
if (tab_search_action.has_value()) {
--- a/chrome/browser/ui/ui_features.cc
+++ b/chrome/browser/ui/ui_features.cc
@@ -577,7 +577,7 @@ BASE_FEATURE(kByDateHistoryInSidePanel,
@@ -620,7 +620,7 @@ BASE_FEATURE(kByDateHistoryInSidePanel,
BASE_FEATURE(kTabStripBrowserApi, base::FEATURE_DISABLED_BY_DEFAULT);
@@ -32,7 +32,7 @@
// This serves as a "kill-switch" for migrating the Tab Search feature to be a
// toolbar button for non-ChromeOS users in the US.
@@ -612,6 +612,8 @@ bool HasTabSearchToolbarButton() {
@@ -655,6 +655,8 @@ bool HasTabSearchToolbarButton() {
return false;
}
@@ -1,6 +1,6 @@
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -13410,11 +13410,295 @@ const FeatureEntry kFeatureEntries[] = {
@@ -13643,11 +13643,328 @@ const FeatureEntry kFeatureEntries[] = {
// AboutFlagsHistogramTest unit test to verify this process).
};
@@ -26,6 +26,11 @@
+ // Google's experimental APIs that don't work in Helium
+ // due to missing model binaries
+ "translation-api",
+ "translation-api-streaming-by-sentence",
+
+ // Misc features not relevant to Helium
+ "extensions-menu-access-control",
+ "extensions-collapse-main-menu",
+
+ // NTP
+ "omnibox-zero-suggest-prefetching",
@@ -40,6 +45,8 @@
+ "ntp-tab-groups-module-zero-state",
+ "ntp-microsoft-authentication-module",
+ "ntp-realbox-next",
+ "ntp-next-features",
+ "ntp-customize-chrome-auto-open",
+
+ // Google Account & Sync
+ "use-sync-sandbox",
@@ -54,14 +61,18 @@
+ "enable-bookmarks-selected-type-on-signin-for-testing",
+ "enable-cross-device-pref-tracker",
+ "pdf-save-to-drive",
+ "mdm-errors-for-dasher-accounts-handling",
+ "profile-creation-decline-signin-cta-experiment",
+ "show-profile-picker-to-all-users-experiment",
+
+ // Gemini Nano
+ // Gemini Nano / Other Google models
+ "prompt-api-for-gemini-nano",
+ "prompt-api-for-gemini-nano-multimodal-input",
+ "summarization-api-for-gemini-nano",
+ "writer-api-for-gemini-nano",
+ "rewriter-api-for-gemini-nano",
+ "proofreader-api-for-gemini-nano",
+ "omnibox-on-device-tail-suggestions",
+
+ // AI Mode
+ "ai-mode-omnibox-entry-point",
@@ -75,6 +86,17 @@
+ "composebox-uses-chrome-compose-client",
+ "compose-selection-nudge",
+ "contextual-tasks",
+ "web-app-migrate-preinstalled-chat",
+ "webui-omnibox-aim-popup",
+
+ // Contextual AI stuff (AI Mode entrypoints?)
+ "contextual-search-box-uses-contextual-search-provider",
+ "contextual-suggestions-ablate-others-when-present",
+ "omnibox-contextual-search-on-focus-suggestions",
+ "omnibox-contextual-suggestions",
+ "contextual-cueing",
+ "contextual-suggestion-ui-improvements",
+ "contextual-tasks-context",
+
+ // Shopping stuff
+ "product-specifications",
@@ -126,6 +148,10 @@
+ "lens-search-zero-state-csb",
+ "lens-updated-feedback-entrypoint",
+ "lens-video-citations",
+ "lens-aim-suggestions",
+ "lens-aim-gradient-suggest-background",
+ "lens-overlay-optimization-filter",
+ "lens-overlay-non-blocking-privacy-notice",
+
+ // Google Assistant
+ "enable-assistant-dsp",
@@ -150,6 +176,8 @@
+ "enable-ntp-browser-promos",
+ "mobile-promo-on-desktop",
+ "in-product-help-demo-mode-choice",
+ "iph-extensions-menu-feature",
+ "iph-extensions-request-access-button-feature",
+
+ // GLIC (AI agent stuff)
+ "glic",
@@ -204,6 +232,7 @@
+ "apply-clientside-model-predictions-for-password-types",
+ "enable-site-isolation-for-password-sites",
+ "pwm-show-suggestions-on-autofocus",
+ "web-authentication-passkey-upgrade",
+
+ // Reading Mode
+ "read-anything-read-aloud",
@@ -211,6 +240,8 @@
+ "read-anything-images-via-algorithm",
+ "read-anything-docs-integration",
+ "read-anything-docs-load-more-button",
+ "read-anything-read-aloud-ts-text-segmentation",
+ "read-anything-with-readability-enabled",
+
+ // Autofill
+ "reintroduce-hybrid-passkey-entry-point",
@@ -274,6 +305,8 @@
+ "autofill-and-passwords-in-same-surface",
+ "autofill-enable-ai-based-amount-extraction",
+ "autofill-prefer-buy-now-pay-later-blocklists",
+ "mark-all-credentials-as-leaked",
+ "apply-clientside-model-predictions-for-otps",
+
+ // Add new entries above this line and categorize them accordingly.
+});
@@ -297,7 +330,7 @@
FlagsStateSingleton(const FlagsStateSingleton&) = delete;
FlagsStateSingleton& operator=(const FlagsStateSingleton&) = delete;
~FlagsStateSingleton() override = default;
@@ -13433,7 +13717,7 @@ class FlagsStateSingleton : public flags
@@ -13666,7 +13983,7 @@ class FlagsStateSingleton : public flags
void RestoreDefaultState() {
flags_state_ =
@@ -306,7 +339,7 @@
}
private:
@@ -13758,7 +14042,7 @@ base::span<const FeatureEntry> GetFeatur
@@ -13990,7 +14307,7 @@ base::span<const FeatureEntry> GetFeatur
!entries_for_testing->empty()) {
return *entries_for_testing;
}
@@ -1,6 +1,6 @@
--- a/chrome/browser/ui/tabs/saved_tab_groups/saved_tab_group_model_listener.cc
+++ b/chrome/browser/ui/tabs/saved_tab_groups/saved_tab_group_model_listener.cc
@@ -188,17 +188,7 @@ void SavedTabGroupModelListener::OnTabSt
@@ -193,17 +193,7 @@ void SavedTabGroupModelListener::OnTabSt
return;
}
+2 -2
View File
@@ -1,6 +1,6 @@
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -392,11 +392,11 @@ namespace about_flags {
@@ -390,11 +390,11 @@ namespace about_flags {
namespace {
@@ -15,7 +15,7 @@
#endif // USE_AURA
#if defined(USE_AURA)
@@ -5001,11 +5001,13 @@ const FeatureEntry::FeatureVariation kSe
@@ -5200,11 +5200,13 @@ const FeatureEntry::FeatureVariation kPr
// calculate and verify checksum.
//
// When adding a new choice, add it to the end of the list.
+7 -7
View File
@@ -29,7 +29,7 @@
// asking the user to set up automatic updates when Keystone promotion is
--- a/chrome/browser/ui/browser_ui_prefs.cc
+++ b/chrome/browser/ui/browser_ui_prefs.cc
@@ -146,6 +146,8 @@ void RegisterBrowserUserPrefs(user_prefs
@@ -149,6 +149,8 @@ void RegisterBrowserUserPrefs(user_prefs
registry->RegisterListPref(prefs::kWebRtcLocalIpsAllowedUrls);
registry->RegisterBooleanPref(prefs::kWebRtcTextLogCollectionAllowed, false);
@@ -40,7 +40,7 @@
registry->RegisterBooleanPref(policy::policy_prefs::kHideWebStoreIcon, false);
--- a/chrome/browser/ui/browser_command_controller.cc
+++ b/chrome/browser/ui/browser_command_controller.cc
@@ -388,7 +388,9 @@ bool BrowserCommandController::IsReserve
@@ -389,7 +389,9 @@ bool BrowserCommandController::IsReserve
command_id == IDC_NEW_INCOGNITO_WINDOW || command_id == IDC_NEW_TAB ||
command_id == IDC_NEW_WINDOW || command_id == IDC_RESTORE_TAB ||
command_id == IDC_SELECT_NEXT_TAB ||
@@ -51,7 +51,7 @@
}
void BrowserCommandController::TabStateChanged() {
@@ -1160,6 +1162,14 @@ bool BrowserCommandController::ExecuteCo
@@ -1176,6 +1178,14 @@ bool BrowserCommandController::ExecuteCo
case IDC_DUPLICATE_TARGET_TAB:
DuplicateKeyboardFocusedTab(browser_);
break;
@@ -66,7 +66,7 @@
// Hosted App commands
case IDC_COPY_URL:
CopyURL(browser_, browser_->tab_strip_model()->GetActiveWebContents());
@@ -1912,6 +1922,12 @@ void BrowserCommandController::UpdateCom
@@ -1926,6 +1936,12 @@ void BrowserCommandController::UpdateCom
bool dev_tools_enabled = DevToolsWindow::AllowDevToolsFor(
profile(), browser_->tab_strip_model()->GetActiveWebContents());
@@ -142,7 +142,7 @@
"G", IDC_FIND_NEXT, VIRTKEY, CONTROL
--- a/chrome/browser/extensions/api/settings_private/prefs_util.cc
+++ b/chrome/browser/extensions/api/settings_private/prefs_util.cc
@@ -584,6 +584,8 @@ const PrefsUtil::TypedPrefMap& PrefsUtil
@@ -587,6 +587,8 @@ const PrefsUtil::TypedPrefMap& PrefsUtil
(*s_allowlist)[::prefs::kCaretBrowsingEnabled] =
settings_api::PrefType::kBoolean;
@@ -153,7 +153,7 @@
// Accounts / Users / People.
--- a/chrome/app/settings_strings.grdp
+++ b/chrome/app/settings_strings.grdp
@@ -193,6 +193,16 @@
@@ -190,6 +190,16 @@
Shows a confirmation when you copy links, images, or videos
</message>
</if>
@@ -172,7 +172,7 @@
<message name="IDS_SETTINGS_APPEARANCE" desc="Name of the settings page which displays appearance preferences.">
--- a/chrome/browser/ui/webui/settings/settings_localized_strings_provider.cc
+++ b/chrome/browser/ui/webui/settings/settings_localized_strings_provider.cc
@@ -276,6 +276,7 @@ void AddA11yStrings(content::WebUIDataSo
@@ -282,6 +282,7 @@ void AddA11yStrings(content::WebUIDataSo
#endif // BUILDFLAG(IS_WIN) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC)
{"axTreeFixingTitle", IDS_SETTINGS_AX_TREE_FIXING_TITLE},
{"axTreeFixingSubtitle", IDS_SETTINGS_AX_TREE_FIXING_SUBTITLE},
@@ -24,7 +24,7 @@ https://github.com/uazo/cromite/blob/b2824377/build/patches/AudioBuffer-Analyser
#endif /* CHROME_BROWSER_HELIUM_FLAG_ENTRIES_H_ */
--- a/third_party/blink/common/features.cc
+++ b/third_party/blink/common/features.cc
@@ -19,6 +19,10 @@
@@ -20,6 +20,10 @@
namespace blink::features {
@@ -79,7 +79,7 @@ https://github.com/uazo/cromite/blob/b2824377/build/patches/AudioBuffer-Analyser
ExceptionState& exception_state) {
--- a/third_party/blink/renderer/modules/webaudio/audio_buffer.h
+++ b/third_party/blink/renderer/modules/webaudio/audio_buffer.h
@@ -116,6 +116,8 @@ class MODULES_EXPORT AudioBuffer final :
@@ -115,6 +115,8 @@ class MODULES_EXPORT AudioBuffer final :
std::unique_ptr<SharedAudioBuffer> CreateSharedAudioBuffer();
@@ -90,7 +90,7 @@ https://github.com/uazo/cromite/blob/b2824377/build/patches/AudioBuffer-Analyser
uint32_t length,
--- a/third_party/blink/renderer/modules/webaudio/audio_context.cc
+++ b/third_party/blink/renderer/modules/webaudio/audio_context.cc
@@ -850,7 +850,12 @@ double AudioContext::baseLatency() const
@@ -863,7 +863,12 @@ double AudioContext::baseLatency() const
DCHECK_CALLED_ON_VALID_SEQUENCE(main_thread_sequence_checker_);
DCHECK(destination());
@@ -106,7 +106,7 @@ https://github.com/uazo/cromite/blob/b2824377/build/patches/AudioBuffer-Analyser
double AudioContext::outputLatency() const {
--- a/third_party/blink/renderer/modules/webaudio/base_audio_context.cc
+++ b/third_party/blink/renderer/modules/webaudio/base_audio_context.cc
@@ -774,6 +774,13 @@ LocalDOMWindow* BaseAudioContext::GetWin
@@ -776,6 +776,13 @@ LocalDOMWindow* BaseAudioContext::GetWin
return To<LocalDOMWindow>(GetExecutionContext());
}
@@ -133,7 +133,7 @@ https://github.com/uazo/cromite/blob/b2824377/build/patches/AudioBuffer-Analyser
--- a/third_party/blink/renderer/modules/webaudio/offline_audio_context.cc
+++ b/third_party/blink/renderer/modules/webaudio/offline_audio_context.cc
@@ -375,6 +375,8 @@ void OfflineAudioContext::FireCompletion
@@ -396,6 +396,8 @@ void OfflineAudioContext::FireCompletion
return;
}
@@ -237,7 +237,7 @@ https://github.com/uazo/cromite/blob/b2824377/build/patches/AudioBuffer-Analyser
--- a/third_party/blink/renderer/platform/runtime_enabled_features.json5
+++ b/third_party/blink/renderer/platform/runtime_enabled_features.json5
@@ -599,7 +599,6 @@
@@ -622,7 +622,6 @@
// AudioContext.playoutStats interface.
// https://chromestatus.com/feature/5172818344148992
name: "AudioContextPlayoutStats",
+16 -16
View File
@@ -23,7 +23,7 @@
#endif // COMPONENTS_HELIUM_SERVICES_PREF_NAMES_H_
--- a/chrome/browser/ui/browser_ui_prefs.cc
+++ b/chrome/browser/ui/browser_ui_prefs.cc
@@ -205,6 +205,8 @@ void RegisterBrowserUserPrefs(user_prefs
@@ -208,6 +208,8 @@ void RegisterBrowserUserPrefs(user_prefs
{
registry->RegisterBooleanPref(prefs::kHeliumServicesEnabled, true);
registry->RegisterStringPref(prefs::kHeliumServicesOrigin, "");
@@ -60,7 +60,7 @@
whats_new::LogStartupType(whats_new::StartupType::kIneligible);
--- a/tools/gritsettings/resource_ids.spec
+++ b/tools/gritsettings/resource_ids.spec
@@ -1216,6 +1216,10 @@
@@ -1228,6 +1228,10 @@
"META": {"sizes": {"includes": [30],}},
"includes": [7480],
},
@@ -73,7 +73,7 @@
# START ios/ section.
--- a/chrome/browser/BUILD.gn
+++ b/chrome/browser/BUILD.gn
@@ -8621,6 +8621,7 @@ static_library("browser_generated_files"
@@ -8586,6 +8586,7 @@ static_library("browser_generated_files"
"//chrome/browser/v8_compile_hints/proto",
"//chrome/browser/web_applications/mojom:mojom_web_apps_enum",
"//chrome/common/request_header_integrity:buildflags",
@@ -83,7 +83,7 @@
"//components/webui/chrome_urls/mojom:mojo_bindings",
--- a/chrome/chrome_paks.gni
+++ b/chrome/chrome_paks.gni
@@ -468,11 +468,13 @@ template("chrome_extra_paks") {
@@ -470,11 +470,13 @@ template("chrome_extra_paks") {
if (!is_android && !is_chromeos) {
sources += [
"$root_gen_dir/chrome/intro_resources.pak",
@@ -104,12 +104,12 @@
kChromeUIProfileInternalsHost,
content::kChromeUIQuotaInternalsHost,
+ kHeliumSetupHost,
kChromeUISignInInternalsHost,
kChromeUISiteEngagementHost,
#if !BUILDFLAG(IS_ANDROID)
kChromeUIReloadButtonHost,
#endif
--- a/chrome/common/webui_url_constants.h
+++ b/chrome/common/webui_url_constants.h
@@ -597,6 +597,8 @@ inline constexpr char kChromeUIProfilePi
@@ -604,6 +604,8 @@ inline constexpr char kChromeUIProfilePi
inline constexpr char kChromeUIProfilePickerStartupQuery[] = "startup";
inline constexpr char kChromeUIProfilePickerGlicQuery[] = "glic";
inline constexpr char kChromeUIProfilePickerUrl[] = "chrome://profile-picker/";
@@ -141,7 +141,7 @@
#include "chrome/browser/ui/webui/omnibox/omnibox_ui.h"
#include "chrome/browser/ui/webui/policy/policy_ui.h"
#include "chrome/browser/ui/webui/predictors/predictors_ui.h"
@@ -417,6 +418,7 @@ void RegisterChromeWebUIConfigs() {
@@ -419,6 +420,7 @@ void RegisterChromeWebUIConfigs() {
#if !BUILDFLAG(IS_CHROMEOS) && !BUILDFLAG(IS_ANDROID)
map.AddWebUIConfig(std::make_unique<ManagedUserProfileNoticeUIConfig>());
map.AddWebUIConfig(std::make_unique<IntroUIConfig>());
@@ -524,16 +524,16 @@
--- a/chrome/browser/favicon/favicon_utils.cc
+++ b/chrome/browser/favicon/favicon_utils.cc
@@ -189,6 +189,7 @@ bool ShouldThemifyFavicon(GURL url) {
url.host_piece() != chrome::kChromeUIVersionHost &&
url.host_piece() != chrome::kChromeUINetExportHost &&
url.host_piece() != chrome::kChromeUINewTabHost &&
+ url.host_piece() != chrome::kHeliumSetupHost &&
url.host_piece() != password_manager::kChromeUIPasswordManagerHost;
url.host() != chrome::kChromeUIVersionHost &&
url.host() != chrome::kChromeUINetExportHost &&
url.host() != chrome::kChromeUINewTabHost &&
+ url.host() != chrome::kHeliumSetupHost &&
url.host() != password_manager::kChromeUIPasswordManagerHost;
}
--- a/chrome/app/settings_strings.grdp
+++ b/chrome/app/settings_strings.grdp
@@ -1917,6 +1917,12 @@
@@ -1947,6 +1947,12 @@
<message name="IDS_SETTINGS_HELIUM_SERVICES_DESCRIPTION" desc="Description of the controls available on the Helium services settings page">
Manage what Helium services are allowed in your browser
</message>
@@ -548,7 +548,7 @@
</message>
--- a/chrome/browser/extensions/api/settings_private/prefs_util.cc
+++ b/chrome/browser/extensions/api/settings_private/prefs_util.cc
@@ -357,6 +357,8 @@ const PrefsUtil::TypedPrefMap& PrefsUtil
@@ -360,6 +360,8 @@ const PrefsUtil::TypedPrefMap& PrefsUtil
settings_api::PrefType::kBoolean;
(*s_allowlist)[::prefs::kHeliumServicesOrigin] =
settings_api::PrefType::kString;
@@ -612,7 +612,7 @@
--- a/chrome/browser/ui/webui/settings/settings_localized_strings_provider.cc
+++ b/chrome/browser/ui/webui/settings/settings_localized_strings_provider.cc
@@ -1969,6 +1969,8 @@ void AddPrivacyStrings(content::WebUIDat
@@ -2119,6 +2119,8 @@ void AddPrivacyStrings(content::WebUIDat
{"securityPageDescription", IDS_SETTINGS_SECURITY_DESCRIPTION},
{"heliumServicesTitle", IDS_SETTINGS_HELIUM_SERVICES},
{"heliumServicesDescription", IDS_SETTINGS_HELIUM_SERVICES_DESCRIPTION},
@@ -13,7 +13,7 @@
inline constexpr char kShowHomeButton[] = "browser.show_home_button";
--- a/chrome/browser/ui/browser_ui_prefs.cc
+++ b/chrome/browser/ui/browser_ui_prefs.cc
@@ -110,6 +110,8 @@ void RegisterBrowserUserPrefs(user_prefs
@@ -113,6 +113,8 @@ void RegisterBrowserUserPrefs(user_prefs
registry->RegisterIntegerPref(prefs::kSessionRestoreInfoBarTimesShown, 0);
#endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_WIN)
@@ -39,7 +39,7 @@
#include "components/reading_list/core/reading_list_model.h"
#include "components/tab_groups/tab_group_id.h"
#include "components/tab_groups/tab_group_visual_data.h"
@@ -1549,7 +1551,11 @@ void TabStripModel::AddTab(std::unique_p
@@ -1605,7 +1607,11 @@ void TabStripModel::AddTab(std::unique_p
// For all other types, respect what was passed to us, normalizing -1s and
// values that are too large.
if (index < 0 || index > count()) {
@@ -54,7 +54,7 @@
--- a/chrome/app/settings_strings.grdp
+++ b/chrome/app/settings_strings.grdp
@@ -273,6 +273,9 @@
@@ -270,6 +270,9 @@
<message name="IDS_SETTINGS_COLOR_SCHEME_MODE" desc="Text of the label for selecting a color scheme mode for the browser.">
Mode
</message>
@@ -66,7 +66,7 @@
</message>
--- a/chrome/browser/ui/webui/settings/settings_localized_strings_provider.cc
+++ b/chrome/browser/ui/webui/settings/settings_localized_strings_provider.cc
@@ -515,6 +515,7 @@ void AddAppearanceStrings(content::WebUI
@@ -521,6 +521,7 @@ void AddAppearanceStrings(content::WebUI
{"lightMode", IDS_NTP_CUSTOMIZE_CHROME_COLOR_SCHEME_MODE_LIGHT_LABEL},
{"darkMode", IDS_NTP_CUSTOMIZE_CHROME_COLOR_SCHEME_MODE_DARK_LABEL},
{"systemMode", IDS_NTP_CUSTOMIZE_CHROME_COLOR_SCHEME_MODE_SYSTEM_LABEL},
@@ -76,7 +76,7 @@
{"allowSplitViewDragAndDrop",
--- a/chrome/browser/extensions/api/settings_private/prefs_util.cc
+++ b/chrome/browser/extensions/api/settings_private/prefs_util.cc
@@ -222,6 +222,10 @@ const PrefsUtil::TypedPrefMap& PrefsUtil
@@ -225,6 +225,10 @@ const PrefsUtil::TypedPrefMap& PrefsUtil
(*s_allowlist)[::prefs::kUseCustomChromeFrame] =
settings_api::PrefType::kBoolean;
#endif
@@ -10,7 +10,7 @@
inline constexpr char kViewSourceScheme[] = "view-source";
--- a/chrome/browser/profiles/profile_io_data.cc
+++ b/chrome/browser/profiles/profile_io_data.cc
@@ -44,6 +44,7 @@ bool ProfileIOData::IsHandledProtocol(co
@@ -44,6 +44,7 @@ bool ProfileIOData::IsHandledProtocol(st
extensions::kExtensionScheme,
#endif
content::kChromeUIScheme,
@@ -62,7 +62,7 @@
// Prevent future modification of the scheme lists. This is to prevent
--- a/content/renderer/render_thread_impl.cc
+++ b/content/renderer/render_thread_impl.cc
@@ -887,10 +887,18 @@ void RenderThreadImpl::RegisterSchemes()
@@ -879,10 +879,18 @@ void RenderThreadImpl::RegisterSchemes()
chrome_scheme);
WebSecurityPolicy::RegisterURLSchemeAsWebUI(chrome_scheme);
@@ -95,21 +95,21 @@
+++ b/chrome/browser/ui/incognito_allowed_url.cc
@@ -19,7 +19,8 @@ namespace {
bool IsHostAllowedInIncognito(const GURL& url) {
std::string scheme = url.scheme();
std::string_view host = url.host_piece();
std::string scheme = url.GetScheme();
std::string_view host = url.host();
- if (scheme != content::kChromeUIScheme) {
+ if (scheme != content::kChromeUIScheme
+ && scheme != content::kHeliumUIScheme) {
+ if (scheme != content::kChromeUIScheme &&
+ scheme != content::kHeliumUIScheme) {
return true;
}
--- a/chrome/browser/ui/browser_navigator.cc
+++ b/chrome/browser/ui/browser_navigator.cc
@@ -544,6 +544,12 @@ base::WeakPtr<content::NavigationHandle>
@@ -562,6 +562,12 @@ base::WeakPtr<content::NavigationHandle>
}
}
+ if (params->url.scheme_piece() == content::kHeliumUIScheme) {
+ if (params->url.scheme() == content::kHeliumUIScheme) {
+ GURL::Replacements replacements;
+ replacements.SetSchemeStr(content::kChromeUIScheme);
+ params->url = params->url.ReplaceComponents(replacements);
@@ -120,7 +120,7 @@
// handling.
--- a/chrome/browser/extensions/extension_tab_util.cc
+++ b/chrome/browser/extensions/extension_tab_util.cc
@@ -1297,7 +1297,8 @@ bool ExtensionTabUtil::IsKillURL(const G
@@ -1274,7 +1274,8 @@ bool ExtensionTabUtil::IsKillURL(const G
return true;
}
@@ -132,7 +132,7 @@
--- a/chrome/browser/ui/browser.cc
+++ b/chrome/browser/ui/browser.cc
@@ -2287,6 +2287,13 @@ void Browser::SetContentsBounds(WebConte
@@ -2240,6 +2240,13 @@ void Browser::SetContentsBounds(WebConte
}
void Browser::UpdateTargetURL(WebContents* source, const GURL& url) {
@@ -146,7 +146,7 @@
std::vector<StatusBubble*> status_bubbles = GetStatusBubbles();
for (StatusBubble* status_bubble : status_bubbles) {
StatusBubbleViews* status_bubble_views =
@@ -2294,7 +2301,7 @@ void Browser::UpdateTargetURL(WebContent
@@ -2247,7 +2254,7 @@ void Browser::UpdateTargetURL(WebContent
ContentsWebView* anchor =
static_cast<ContentsWebView*>(status_bubble_views->base_view());
if (source == anchor->GetWebContents()) {
@@ -185,9 +185,9 @@
#include "base/threading/thread_local_storage.h"
#include "build/build_config.h"
+#include "content/public/common/url_constants.h"
#include "components/url_formatter/spoof_checks/idn_spoof_checker.h"
#include "net/base/registry_controlled_domains/registry_controlled_domain.h"
#include "third_party/icu/source/common/unicode/uidna.h"
#include "third_party/icu/source/common/unicode/utypes.h"
@@ -564,6 +565,7 @@ const FormatUrlType kFormatUrlTrimAfterH
const FormatUrlType kFormatUrlOmitFileScheme = 1 << 7;
const FormatUrlType kFormatUrlOmitMailToScheme = 1 << 8;
@@ -350,7 +350,7 @@
#include "components/user_education/common/feature_promo/feature_promo_controller.h"
#include "components/web_modal/web_contents_modal_dialog_manager.h"
#include "components/webapps/common/web_app_id.h"
@@ -2386,7 +2387,12 @@ bool IsDebuggerAttachedToCurrentTab(Brow
@@ -2441,7 +2442,12 @@ bool IsDebuggerAttachedToCurrentTab(Brow
void CopyURL(BrowserWindowInterface* bwi, content::WebContents* web_contents) {
ui::ScopedClipboardWriter scw(ui::ClipboardBuffer::kCopyPaste);
@@ -366,7 +366,7 @@
if (toast_features::IsEnabled(toast_features::kLinkCopiedToast)) {
--- a/chrome/browser/ui/views/tabs/tab_hover_card_bubble_view.cc
+++ b/chrome/browser/ui/views/tabs/tab_hover_card_bubble_view.cc
@@ -557,7 +557,8 @@ void TabHoverCardBubbleView::UpdateCardC
@@ -562,7 +562,8 @@ void TabHoverCardBubbleView::UpdateCardC
url_formatter::kFormatUrlOmitDefaults |
url_formatter::kFormatUrlOmitHTTPS |
url_formatter::kFormatUrlOmitTrivialSubdomains |
@@ -1,6 +1,6 @@
--- a/chrome/common/chrome_features.cc
+++ b/chrome/common/chrome_features.cc
@@ -967,7 +967,7 @@ BASE_FEATURE(kHttpsFirstBalancedMode, ba
@@ -1181,7 +1181,7 @@ BASE_FEATURE(kHttpsFirstBalancedMode, ba
// Automatically enables HTTPS-First Mode in a balanced configuration when
// possible.
BASE_FEATURE(kHttpsFirstBalancedModeAutoEnable,
@@ -16,7 +16,7 @@
const char kChromeWebstoreApiURL[] = "trk:07:https://chromewebstore.googleapis.com/";
const char kAppMenuUtmSource[] = "ext_app_menu";
@@ -72,6 +72,7 @@ GURL GetNewWebstoreLaunchURL() {
@@ -77,6 +77,7 @@ GURL GetNewWebstoreLaunchURL() {
}
GURL AppendUtmSource(const GURL& url, std::string_view utm_source_value) {
@@ -24,7 +24,7 @@
return net::AppendQueryParameter(url, "utm_source", utm_source_value);
}
@@ -85,6 +86,8 @@ std::string GetWebstoreItemDetailURLPref
@@ -90,6 +91,8 @@ std::string GetWebstoreItemDetailURLPref
}
GURL GetWebstoreItemSnippetURL(const extensions::ExtensionId& extension_id) {
@@ -33,7 +33,7 @@
if (g_item_snippet_url_for_test_) {
// Return `<base URL><extension_id>`. There is no suffix if the URL is
// overridden by a test.
@@ -114,9 +117,6 @@ GURL GetDefaultWebstoreUpdateUrl() {
@@ -119,9 +122,6 @@ GURL GetDefaultWebstoreUpdateUrl() {
}
GURL GetWebstoreUpdateUrl() {
@@ -95,12 +95,12 @@
+
+bool CanPatchUpdateUrl(const GURL& url) {
+ GURL chrome_webstore = GetOriginalWebstoreUpdateUrl();
+ return chrome_webstore.host_piece() == url.host_piece();
+ return chrome_webstore.host() == url.host();
+}
+
+GURL PatchUpdateUrl(const GURL& url) {
+ GURL chrome_webstore = GetOriginalWebstoreUpdateUrl();
+ if (chrome_webstore.host_piece() == url.host_piece()) {
+ if (chrome_webstore.host() == url.host()) {
+ return GetDefaultWebstoreUpdateUrl();
+ }
+
@@ -133,7 +133,7 @@
+#endif // EXTENSIONS_COMMON_MANIFEST_URL_PATCHER_H_
--- a/extensions/common/BUILD.gn
+++ b/extensions/common/BUILD.gn
@@ -457,6 +457,8 @@ static_library("common") {
@@ -456,6 +456,8 @@ static_library("common") {
"manifest_handlers/webview_info.h",
"manifest_url_handlers.cc",
"manifest_url_handlers.h",
@@ -166,7 +166,7 @@
--- a/chrome/browser/extensions/api/settings_private/prefs_util.cc
+++ b/chrome/browser/extensions/api/settings_private/prefs_util.cc
@@ -355,6 +355,8 @@ const PrefsUtil::TypedPrefMap& PrefsUtil
@@ -358,6 +358,8 @@ const PrefsUtil::TypedPrefMap& PrefsUtil
// Helium services page
(*s_allowlist)[::prefs::kHeliumServicesEnabled] =
settings_api::PrefType::kBoolean;
@@ -177,7 +177,7 @@
(*s_allowlist)[::prefs::kHeliumServicesConsented] =
--- a/chrome/browser/ui/browser_ui_prefs.cc
+++ b/chrome/browser/ui/browser_ui_prefs.cc
@@ -208,6 +208,7 @@ void RegisterBrowserUserPrefs(user_prefs
@@ -211,6 +211,7 @@ void RegisterBrowserUserPrefs(user_prefs
{
registry->RegisterBooleanPref(prefs::kHeliumServicesEnabled, true);
@@ -201,7 +201,7 @@
</template>
--- a/chrome/browser/ui/webui/settings/settings_localized_strings_provider.cc
+++ b/chrome/browser/ui/webui/settings/settings_localized_strings_provider.cc
@@ -1975,6 +1975,10 @@ void AddPrivacyStrings(content::WebUIDat
@@ -2125,6 +2125,10 @@ void AddPrivacyStrings(content::WebUIDat
{"heliumServicesToggle", IDS_SETTINGS_HELIUM_SERVICES_TOGGLE},
{"heliumServicesToggleDescription",
IDS_SETTINGS_HELIUM_SERVICES_TOGGLE_DESCRIPTION},
@@ -214,7 +214,7 @@
IDS_SETTINGS_HELIUM_SERVICES_OVERRIDE_DESCRIPTION},
--- a/chrome/app/settings_strings.grdp
+++ b/chrome/app/settings_strings.grdp
@@ -1945,6 +1945,12 @@
@@ -1975,6 +1975,12 @@
<message name="IDS_SETTINGS_HELIUM_SERVICES_TOGGLE_DESCRIPTION" desc="Description of the toggle for enabling/disabling of all Helium services">
When enabled, Helium will be able to connect to anonymous web services to provide additional functionality. When disabled, additional features will not work.
</message>
@@ -330,7 +330,7 @@
continue;
}
+ if (it.second.update_url().host_piece() == baseUrl.host_piece()) {
+ if (it.second.update_url().host() == baseUrl.host()) {
+ Profile* profile = Profile::FromBrowserContext(context_.get());
+ PrefService* prefs = profile->GetPrefs();
+
@@ -391,7 +391,7 @@
// In Kiosk mode extensions are downloaded and updated by the ExternalCache.
// Therefore we skip updates here to avoid conflicts.
@@ -461,7 +469,7 @@ void ExtensionUpdater::CheckNow(CheckPar
@@ -468,7 +476,7 @@ void ExtensionUpdater::CheckNow(CheckPar
// Add fetch records for extensions that should be fetched by an update URL.
// These extensions are not yet installed. They come from group policy
// and external install sources.
@@ -400,7 +400,7 @@
PendingExtensionManager::Get(profile_);
ExtensionUpdateCheckParams update_check_params;
@@ -595,7 +603,7 @@ void ExtensionUpdater::CheckNow(CheckPar
@@ -602,7 +610,7 @@ void ExtensionUpdater::CheckNow(CheckPar
// OnExtensionDownloadFinished for each extension that was checked.
downloader_->StartAllPending(extension_cache_);
@@ -409,7 +409,7 @@
update_check_params.priority =
params.fetch_priority == DownloadFetchPriority::kBackground
? ExtensionUpdateCheckParams::UpdateCheckPriority::BACKGROUND
@@ -816,6 +824,10 @@ void ExtensionUpdater::CleanUpCrxFileIfN
@@ -823,6 +831,10 @@ void ExtensionUpdater::CleanUpCrxFileIfN
bool ExtensionUpdater::CanUseUpdateService(
const ExtensionId& extension_id) const {
@@ -422,7 +422,7 @@
}
--- a/chrome/browser/extensions/webstore_installer.cc
+++ b/chrome/browser/extensions/webstore_installer.cc
@@ -45,6 +45,7 @@
@@ -43,6 +43,7 @@
#include "components/crx_file/id_util.h"
#include "components/download/public/common/download_url_parameters.h"
#include "components/update_client/update_query_params.h"
@@ -430,7 +430,7 @@
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/download_manager.h"
#include "content/public/browser/navigation_controller.h"
@@ -206,7 +207,7 @@ GURL WebstoreInstaller::GetWebstoreInsta
@@ -207,7 +208,7 @@ GURL WebstoreInstaller::GetWebstoreInsta
if (!install_source.empty())
params.push_back(installsource_param);
params.push_back("uc");
@@ -474,7 +474,7 @@
// Note that both |global_settings_| and |default_settings_| will be null
// before first call to Refresh(), so in order to resolve this, Refresh() must
// be called in the initialization of ExtensionManagement.
@@ -282,12 +290,20 @@ GURL ExtensionManagement::GetEffectiveUp
@@ -287,12 +295,20 @@ GURL ExtensionManagement::GetEffectiveUp
<< "Update URL cannot be overridden to be the webstore URL!";
return update_url;
}
@@ -483,7 +483,7 @@
+ const GURL& original_url = ManifestURL::GetUpdateURL(&extension);
+ const GURL& dummy_url = extension_urls::GetDefaultWebstoreUpdateUrl();
+
+ if (dummy_url.host_piece() == original_url.host_piece()) {
+ if (dummy_url.host() == original_url.host()) {
+ return helium::GetExtensionUpdateURL(*profile_->GetPrefs());
+ }
+
@@ -575,7 +575,7 @@
max_auto_retries_ = max_retries;
--- a/chrome/browser/extensions/webstore_standalone_installer.cc
+++ b/chrome/browser/extensions/webstore_standalone_installer.cc
@@ -20,6 +20,7 @@
@@ -19,6 +19,7 @@
#include "chrome/browser/extensions/webstore_data_fetcher.h"
#include "chrome/browser/profiles/profile.h"
#include "components/crx_file/id_util.h"
@@ -96,7 +96,7 @@
#endif // COMPONENTS_HELIUM_SERVICES_PREF_NAMES_H_
--- a/chrome/browser/BUILD.gn
+++ b/chrome/browser/BUILD.gn
@@ -8264,6 +8264,8 @@ static_library("browser") {
@@ -8261,6 +8261,8 @@ static_library("browser") {
deps += [
"//components/spellcheck/browser",
"//components/spellcheck/common",
@@ -107,7 +107,7 @@
if (!is_android) {
--- a/chrome/browser/extensions/api/settings_private/prefs_util.cc
+++ b/chrome/browser/extensions/api/settings_private/prefs_util.cc
@@ -359,6 +359,8 @@ const PrefsUtil::TypedPrefMap& PrefsUtil
@@ -362,6 +362,8 @@ const PrefsUtil::TypedPrefMap& PrefsUtil
settings_api::PrefType::kBoolean;
(*s_allowlist)[::prefs::kHeliumBangsEnabled] =
settings_api::PrefType::kBoolean;
@@ -118,7 +118,7 @@
(*s_allowlist)[::prefs::kHeliumServicesConsented] =
--- a/chrome/browser/ui/browser_ui_prefs.cc
+++ b/chrome/browser/ui/browser_ui_prefs.cc
@@ -210,6 +210,7 @@ void RegisterBrowserUserPrefs(user_prefs
@@ -213,6 +213,7 @@ void RegisterBrowserUserPrefs(user_prefs
registry->RegisterBooleanPref(prefs::kHeliumServicesEnabled, true);
registry->RegisterBooleanPref(prefs::kHeliumBangsEnabled, true);
registry->RegisterBooleanPref(prefs::kHeliumExtProxyEnabled, true);
@@ -144,7 +144,17 @@
</template>
--- a/chrome/app/settings_strings.grdp
+++ b/chrome/app/settings_strings.grdp
@@ -1957,6 +1957,12 @@
@@ -1291,6 +1291,9 @@
<message name="IDS_SETTINGS_LANGUAGES_DICTIONARY_DOWNLOAD_FAILED_HELP" desc="Error message when spell dictionary download fails more than once possibly due to a network policy or configuration.">
Please check with your network administrator to make sure that the firewall is not blocking downloads from Google servers.
</message>
+ <message name="IDS_SETTINGS_LANGUAGES_DICTIONARY_DOWNLOAD_FAILED_HELP_HELIUM" desc="Error message when spell dictionary download fails more than once possibly due to a network policy or configuration.">
+ Please check that Helium services are enabled (including spell check downloads) and make sure that the firewall is not blocking downloads from Helium servers.
+ </message>
</if>
</if>
<if expr="is_chromeos">
@@ -1987,6 +1990,12 @@
<message name="IDS_SETTINGS_HELIUM_SERVICES_BANGS_TOGGLE_DESCRIPTION" desc="Description of the toggle for enabling/disabling of downloading bangs">
Helium will fetch a list of bangs that help you browse the Internet faster, such as !w or !gh. When disabled, bangs will not work.
</message>
@@ -159,7 +169,16 @@
</message>
--- a/chrome/browser/ui/webui/settings/settings_localized_strings_provider.cc
+++ b/chrome/browser/ui/webui/settings/settings_localized_strings_provider.cc
@@ -1978,6 +1978,9 @@ void AddPrivacyStrings(content::WebUIDat
@@ -1241,7 +1241,7 @@ void AddLanguagesStrings(content::WebUID
{"languagesDictionaryDownloadError",
IDS_SETTINGS_LANGUAGES_DICTIONARY_DOWNLOAD_FAILED},
{"languagesDictionaryDownloadErrorHelp",
- IDS_SETTINGS_LANGUAGES_DICTIONARY_DOWNLOAD_FAILED_HELP},
+ IDS_SETTINGS_LANGUAGES_DICTIONARY_DOWNLOAD_FAILED_HELP_HELIUM},
#endif
#endif // !BUILDFLAG(IS_CHROMEOS)
#if BUILDFLAG(IS_CHROMEOS)
@@ -2128,6 +2128,9 @@ void AddPrivacyStrings(content::WebUIDat
{"heliumBangsToggle", IDS_SETTINGS_HELIUM_SERVICES_BANGS_TOGGLE},
{"heliumBangsToggleDescription",
IDS_SETTINGS_HELIUM_SERVICES_BANGS_TOGGLE_DESCRIPTION},
@@ -56,7 +56,7 @@
case side_panel::customize_chrome::mojom::ActionId::kShowDownloads:
return kActionShowDownloads;
case side_panel::customize_chrome::mojom::ActionId::kClearBrowsingData:
@@ -280,16 +250,8 @@ void CustomizeToolbarHandler::ListAction
@@ -291,16 +261,8 @@ void CustomizeToolbarHandler::ListAction
add_action(kActionNewIncognitoWindow,
side_panel::customize_chrome::mojom::CategoryId::kNavigation);
@@ -73,7 +73,7 @@
add_action(kActionSidePanelShowHistoryCluster,
side_panel::customize_chrome::mojom::CategoryId::kYourChrome);
add_action(kActionShowDownloads,
@@ -303,18 +265,12 @@ void CustomizeToolbarHandler::ListAction
@@ -314,18 +276,12 @@ void CustomizeToolbarHandler::ListAction
}
add_action(kActionPrint,
side_panel::customize_chrome::mojom::CategoryId::kTools);
@@ -1,7 +1,7 @@
--- a/components/search_engines/template_url_prepopulate_data.cc
+++ b/components/search_engines/template_url_prepopulate_data.cc
@@ -261,7 +261,7 @@ std::unique_ptr<TemplateURLData> GetPrep
std::vector<const TemplateURLPrepopulateData::PrepopulatedEngine*>
@@ -258,7 +258,7 @@ std::unique_ptr<TemplateURLData> GetPrep
const std::vector<const PrepopulatedEngine*>&
regional_prepopulated_engines) {
return FindPrepopulatedEngineInternal(prefs, regional_prepopulated_engines,
- google.id,
@@ -1,8 +1,8 @@
--- a/build/config/chrome_build.gni
+++ b/build/config/chrome_build.gni
@@ -92,4 +92,4 @@ declare_args() {
@@ -101,4 +101,4 @@ declare_args() {
# Whether to enable built-in branding assets (logos & marketing snippets) for
# search providers in choice UIs.
-enable_builtin_search_provider_assets = is_chrome_branded
-enable_builtin_search_provider_assets = is_internal_chrome_branded
+enable_builtin_search_provider_assets = true
@@ -8,7 +8,7 @@
#include "chrome/browser/signin/account_consistency_mode_manager.h"
#include "chrome/browser/signin/account_consistency_mode_manager_factory.h"
#include "chrome/browser/signin/chrome_signin_client_factory.h"
@@ -84,7 +83,6 @@
@@ -83,7 +82,6 @@
#include "components/plus_addresses/core/browser/plus_address_service.h"
#include "components/plus_addresses/core/common/features.h"
#include "components/prefs/pref_service.h"
@@ -16,7 +16,7 @@
#include "components/safe_browsing/core/common/features.h"
#include "components/safe_browsing/core/common/hashprefix_realtime/hash_realtime_utils.h"
#include "components/saved_tab_groups/public/features.h"
@@ -2505,14 +2503,9 @@ void AddSearchStrings(content::WebUIData
@@ -2662,14 +2660,9 @@ void AddSearchStrings(content::WebUIData
html_source->AddString("searchExplanationLearnMoreURL",
chrome::kOmniboxLearnMoreURL);
@@ -70,8 +70,8 @@
// settings". Here we check for the program reference directly as command line
--- a/components/search_engine_choice_strings.grdp
+++ b/components/search_engine_choice_strings.grdp
@@ -106,6 +106,10 @@
These search engines are popular in your region
@@ -19,6 +19,10 @@
<ph name="SEARCH_ENGINE_NAME">$1<ex>Google</ex></ph> is now your default search engine
</message>
+ <message name="IDS_SEARCH_ENGINE_CHOICE_SETTINGS_SUBTITLE_HELIUM" desc="This is the body text of a dialog where the user can change their default search engine. This string explains that the list of search engines is randomized (not in order of recommendation).">
@@ -1,6 +1,6 @@
--- a/chrome/chrome_repack_locales.gni
+++ b/chrome/chrome_repack_locales.gni
@@ -100,12 +100,6 @@ template("chrome_repack_locales") {
@@ -99,12 +99,6 @@ template("chrome_repack_locales") {
}
compress = true
}
@@ -26,7 +26,7 @@
namespace {
const bool kEnableBuiltinSearchProviderAssets =
@@ -1878,18 +1874,6 @@ std::string TemplateURL::GetBuiltinDescr
@@ -1885,18 +1881,6 @@ std::string TemplateURL::GetBuiltinDescr
}
std::optional<std::u16string> TemplateURL::GetBuiltinMarketingSnippet() const {
+28 -28
View File
@@ -1,6 +1,6 @@
--- a/chrome/app/settings_strings.grdp
+++ b/chrome/app/settings_strings.grdp
@@ -1911,6 +1911,31 @@
@@ -1941,6 +1941,31 @@
<message name="IDS_SETTINGS_SECURITY_DESCRIPTION" desc="Description of the controls available on the security settings page">
Safe Browsing (protection from dangerous sites) and other security settings
</message>
@@ -34,8 +34,8 @@
Google Advanced Protection Program
--- a/chrome/browser/ui/webui/settings/settings_localized_strings_provider.cc
+++ b/chrome/browser/ui/webui/settings/settings_localized_strings_provider.cc
@@ -1967,6 +1967,18 @@ void AddPrivacyStrings(content::WebUIDat
{"permissionsPageDescription", IDS_SETTINGS_PERMISSIONS_DESCRIPTION},
@@ -2117,6 +2117,18 @@ void AddPrivacyStrings(content::WebUIDat
{"siteSettingsSublabel", IDS_SETTINGS_PERMISSIONS_DESCRIPTION},
{"securityPageTitle", IDS_SETTINGS_SECURITY},
{"securityPageDescription", IDS_SETTINGS_SECURITY_DESCRIPTION},
+ {"heliumServicesTitle", IDS_SETTINGS_HELIUM_SERVICES},
@@ -56,8 +56,8 @@
--- a/chrome/browser/resources/settings/privacy_page/privacy_page.html
+++ b/chrome/browser/resources/settings/privacy_page/privacy_page.html
@@ -67,6 +67,11 @@
sub-label="$i18n{permissionsPageDescription}"
on-click="onPermissionsPageClick_"
sub-label="$i18n{siteSettingsSublabel}"
on-click="onSiteSettingsLinkRowClick_"
role-description="$i18n{subpageArrowRoleDescription}"></cr-link-row>
+ <cr-link-row id="heliumServicesLinkRow" start-icon="cr:chrome-product"
+ class="hr" label="$i18n{heliumServicesTitle}"
@@ -69,7 +69,7 @@
</cr-toast>
--- a/chrome/browser/resources/settings/privacy_page/privacy_page_index.html
+++ b/chrome/browser/resources/settings/privacy_page/privacy_page_index.html
@@ -45,6 +45,14 @@
@@ -47,6 +47,14 @@
</settings-privacy-page>
</template>
@@ -83,10 +83,10 @@
+
<template is="dom-if" if="[[isAdPrivacyAvailable_]]" restamp>
<template is="dom-if" if="[[renderView_(
routes_.PRIVACY_SANDBOX, currentRoute, inSearchMode)]]">
routes_.PRIVACY_SANDBOX, currentRoute, inSearchMode)]]"
--- a/chrome/browser/resources/settings/privacy_page/privacy_page.ts
+++ b/chrome/browser/resources/settings/privacy_page/privacy_page.ts
@@ -171,6 +171,12 @@ export class SettingsPrivacyPageElement
@@ -172,6 +172,12 @@ export class SettingsPrivacyPageElement
Router.getInstance().navigateTo(routes.SITE_SETTINGS);
}
@@ -99,7 +99,7 @@
private onSecurityPageClick_() {
this.interactedWithPage_();
this.metricsBrowserProxy_.recordAction(
@@ -253,6 +259,10 @@ export class SettingsPrivacyPageElement
@@ -254,6 +260,10 @@ export class SettingsPrivacyPageElement
override getFocusConfig() {
const map = new Map();
@@ -110,7 +110,7 @@
if (routes.COOKIES) {
map.set(routes.COOKIES.path, '#thirdPartyCookiesLinkRow');
}
@@ -286,6 +296,9 @@ export class SettingsPrivacyPageElement
@@ -287,6 +297,9 @@ export class SettingsPrivacyPageElement
override getAssociatedControlFor(childViewId: string): HTMLElement {
let triggerId: string|null = null;
switch (childViewId) {
@@ -143,10 +143,10 @@
if (visibility.safetyHub !== false) {
--- a/chrome/browser/resources/settings/BUILD.gn
+++ b/chrome/browser/resources/settings/BUILD.gn
@@ -155,6 +155,7 @@ build_webui("build") {
"privacy_page/security_keys_subpage.ts",
"privacy_page/security_page_v2.ts",
"privacy_page/security_page.ts",
@@ -156,6 +156,7 @@ build_webui("build") {
"privacy_page/security/security_page_v2.ts",
"privacy_page/security/security_page.ts",
"privacy_page/security/security_page_feature_row.ts",
+ "privacy_page/services_page.ts",
"privacy_sandbox/privacy_sandbox_ad_measurement_subpage.ts",
"privacy_sandbox/privacy_sandbox_fledge_subpage.ts",
@@ -273,22 +273,22 @@
+customElements.define(SettingsHeliumServicesPageElement.is, SettingsHeliumServicesPageElement);
--- a/chrome/browser/resources/settings/lazy_load.ts
+++ b/chrome/browser/resources/settings/lazy_load.ts
@@ -35,6 +35,7 @@ import './privacy_sandbox/privacy_sandbo
import './privacy_page/security_keys_subpage.js';
import './privacy_page/security_page_v2.js';
import './privacy_page/security_page.js';
@@ -25,6 +25,7 @@ import './privacy_page/privacy_guide/pri
import './privacy_page/security/security_keys_subpage.js';
import './privacy_page/security/security_page_v2.js';
import './privacy_page/security/security_page.js';
+import './privacy_page/services_page.js';
import './safety_hub/safety_hub_page.js';
import './safety_hub/safety_hub_entry_point.js';
import './site_settings/ads_page.js';
@@ -243,6 +244,7 @@ export {ResetDialogPage, SettingsSecurit
export {SetPinDialogPage, SettingsSecurityKeysSetPinDialogElement} from './privacy_page/security_keys_set_pin_dialog.js';
export {SecurityKeysSubpageElement} from './privacy_page/security_keys_subpage.js';
export {HttpsFirstModeSetting, SafeBrowsingSetting, SettingsSecurityPageElement} from './privacy_page/security_page.js';
import './privacy_sandbox/privacy_sandbox_ad_measurement_subpage.js';
import './privacy_sandbox/privacy_sandbox_fledge_subpage.js';
import './privacy_sandbox/privacy_sandbox_interest_item.js';
@@ -244,6 +245,7 @@ export {SecurityKeysSubpageElement} from
export {HttpsFirstModeSetting, SafeBrowsingSetting, SettingsSecurityPageElement} from './privacy_page/security/security_page.js';
export {SecurityPageFeatureRowElement} from './privacy_page/security/security_page_feature_row.js';
export {SecuritySettingsBundleSetting, SettingsSecurityPageV2Element} from './privacy_page/security/security_page_v2.js';
+export {SettingsHeliumServicesPageElement} from './privacy_page/services_page.js';
export {SecuritySettingsBundleSetting, SettingsSecurityPageV2Element} from './privacy_page/security_page_v2.js';
export {SettingsPrivacySandboxAdMeasurementSubpageElement} from './privacy_sandbox/privacy_sandbox_ad_measurement_subpage.js';
export {SettingsPrivacySandboxFledgeSubpageElement} from './privacy_sandbox/privacy_sandbox_fledge_subpage.js';
export {PrivacySandboxInterestItemElement} from './privacy_sandbox/privacy_sandbox_interest_item.js';
--- a/chrome/browser/ui/browser_ui_prefs.cc
+++ b/chrome/browser/ui/browser_ui_prefs.cc
@@ -14,6 +14,7 @@
@@ -299,7 +299,7 @@
#include "components/policy/core/common/policy_pref_names.h"
#include "components/pref_registry/pref_registry_syncable.h"
#include "components/prefs/pref_registry_simple.h"
@@ -201,6 +202,11 @@ void RegisterBrowserUserPrefs(user_prefs
@@ -204,6 +205,11 @@ void RegisterBrowserUserPrefs(user_prefs
false);
#endif
@@ -321,7 +321,7 @@
#include "components/language/core/browser/pref_names.h"
#include "components/live_caption/pref_names.h"
#include "components/media_router/common/pref_names.h"
@@ -351,6 +352,12 @@ const PrefsUtil::TypedPrefMap& PrefsUtil
@@ -354,6 +355,12 @@ const PrefsUtil::TypedPrefMap& PrefsUtil
settings_api::PrefType::kString;
#endif
+41 -71
View File
@@ -1,6 +1,6 @@
--- a/chrome/browser/ui/ui_features.cc
+++ b/chrome/browser/ui/ui_features.cc
@@ -107,14 +107,14 @@ BASE_FEATURE(kReloadSelectionModel, base
@@ -104,14 +104,14 @@ BASE_FEATURE(kReloadSelectionModel, base
// Enforces close tab hotkey to only close the active view of a split tab,
// when it is the only tab in selection model.
BASE_FEATURE(kCloseActiveTabInSplitViewViaHotkey,
@@ -17,7 +17,7 @@
// The delay before showing the drop target for the side-by-side drag-and-drop
// entrypoint.
@@ -132,17 +132,17 @@ BASE_FEATURE_PARAM(int,
@@ -149,17 +149,17 @@ BASE_FEATURE_PARAM(int,
kSideBySideDropTargetMinWidth,
&kSideBySide,
"drop_target_min_width",
@@ -36,9 +36,9 @@
- 30);
+ 10);
BASE_FEATURE_PARAM(int,
kSideBySideDropTargetHideForOSWidth,
kSideBySideDropTargetForLinkTargetWidthPercentage,
&kSideBySide,
@@ -243,7 +243,7 @@ BASE_FEATURE_PARAM(int,
@@ -265,7 +265,7 @@ BASE_FEATURE_PARAM(int,
// When enabled along with SideBySide flag, split tabs will be restored on
// startup.
@@ -47,7 +47,7 @@
bool IsRestoringSplitViewEnabled() {
return base::FeatureList::IsEnabled(features::kSideBySide) &&
@@ -252,7 +252,7 @@ bool IsRestoringSplitViewEnabled() {
@@ -274,7 +274,7 @@ bool IsRestoringSplitViewEnabled() {
BASE_FEATURE(kSideBySideLinkMenuNewBadge, base::FEATURE_DISABLED_BY_DEFAULT);
@@ -181,7 +181,7 @@
} else {
CHECK(!contents_container_views_[1]->GetVisible());
widths.start_width = available_space.width();
@@ -686,10 +675,6 @@ void MultiContentsView::SetShouldShowTop
@@ -675,10 +664,6 @@ void MultiContentsView::SetShouldShowTop
return;
}
contents_separators_.should_show_top = should_show;
@@ -192,7 +192,7 @@
InvalidateLayout();
}
@@ -699,8 +684,6 @@ void MultiContentsView::SetShouldShowLea
@@ -688,8 +673,6 @@ void MultiContentsView::SetShouldShowLea
return;
}
contents_separators_.should_show_leading = should_show;
@@ -201,7 +201,7 @@
InvalidateLayout();
}
@@ -710,8 +693,6 @@ void MultiContentsView::SetShouldShowTra
@@ -699,8 +682,6 @@ void MultiContentsView::SetShouldShowTra
return;
}
contents_separators_.should_show_trailing = should_show;
@@ -220,7 +220,7 @@
#include "chrome/browser/ui/views/frame/scrim_view.h"
#include "chrome/browser/ui/views/frame/tab_modal_dialog_host.h"
#include "chrome/browser/ui/views/frame/top_container_view.h"
@@ -51,10 +50,6 @@
@@ -52,10 +51,6 @@
#endif
namespace {
@@ -231,7 +231,7 @@
constexpr int kNewTabFooterSeparatorHeight = 1;
constexpr int kNewTabFooterHeight = 56;
} // namespace
@@ -122,14 +117,6 @@ ContentsContainerView::ContentsContainer
@@ -133,14 +128,6 @@ ContentsContainerView::ContentsContainer
}
#endif
@@ -246,7 +246,7 @@
view_bounds_observer_.Observe(contents_view_);
}
@@ -152,110 +139,11 @@ std::vector<views::View*> ContentsContai
@@ -163,120 +150,11 @@ std::vector<views::View*> ContentsContai
void ContentsContainerView::UpdateBorderAndOverlay(bool is_in_split,
bool is_active,
bool is_highlighted) {
@@ -320,6 +320,12 @@
- content_lower_rounded_corners);
- }
-
- if (actor_overlay_web_view_) {
- // ActorOverlayWebView should use the same radii as the contents view since
- // it acts as a full transparent layer directly over the main web content.
- actor_overlay_web_view_->holder()->SetCornerRadii(radii);
- }
-
-#if BUILDFLAG(ENABLE_GLIC)
- if (glic_border_) {
- glic_border_->SetRoundedCorners(content_rounded_corners);
@@ -342,6 +348,10 @@
-
- contents_scrim_view_->SetRoundedCorners(kNoRoundedCorners);
-
- if (actor_overlay_web_view_) {
- actor_overlay_web_view_->holder()->SetCornerRadii(kNoRoundedCorners);
- }
-
-#if BUILDFLAG(ENABLE_GLIC)
- if (glic_border_) {
- glic_border_->SetRoundedCorners(kNoRoundedCorners);
@@ -359,7 +369,7 @@
}
void ContentsContainerView::Layout(PassKey pass_key) {
@@ -269,9 +157,6 @@ void ContentsContainerView::Layout(PassK
@@ -290,9 +168,6 @@ void ContentsContainerView::Layout(PassK
void ContentsContainerView::OnViewBoundsChanged(View* observed_view) {
if (observed_view == contents_view_) {
UpdateDevToolsDockedPlacement();
@@ -369,7 +379,7 @@
}
}
@@ -523,30 +408,6 @@ views::ProposedLayout ContentsContainerV
@@ -559,30 +434,6 @@ views::ProposedLayout ContentsContainerV
non_devtools_contents_bounds, size_bounds);
}
@@ -410,7 +420,7 @@
ScrimView* contents_scrim_view() { return contents_scrim_view_; }
views::WebView* devtools_web_view() { return devtools_web_view_; }
ScrimView* devtools_scrim_view() { return devtools_scrim_view_; }
@@ -91,9 +90,6 @@ class ContentsContainerView : public vie
@@ -94,9 +93,6 @@ class ContentsContainerView : public vie
enterprise_watermark::WatermarkView* watermark_view() {
return watermark_view_;
}
@@ -420,7 +430,7 @@
TabModalDialogHost* web_contents_modal_dialog_host() {
return &web_contents_modal_dialog_host_;
}
@@ -131,9 +127,6 @@ class ContentsContainerView : public vie
@@ -134,9 +130,6 @@ class ContentsContainerView : public vie
// container that holds both contents_webview and devtools_webview.
void UpdateDevToolsDockedPlacement();
@@ -430,9 +440,9 @@
// views::View:
void ChildVisibilityChanged(View* child) override;
void Layout(PassKey) override;
@@ -180,10 +173,6 @@ class ContentsContainerView : public vie
@@ -187,10 +180,6 @@ class ContentsContainerView : public vie
// The glic browser view that renders around the web contents area.
raw_ptr<glic::GlicBorderView> glic_border_ = nullptr;
raw_ptr<glic::ContextSharingBorderView> glic_border_ = nullptr;
- raw_ptr<MultiContentsViewMiniToolbar> mini_toolbar_ = nullptr;
-
@@ -457,7 +467,7 @@
} // namespace
@@ -61,19 +59,12 @@ MultiContentsDropTargetView::MultiConten
@@ -61,17 +59,12 @@ MultiContentsDropTargetView::MultiConten
->SetOrientation(views::LayoutOrientation::kVertical)
.SetMainAxisAlignment(views::LayoutAlignment::kCenter)
.SetCrossAxisAlignment(views::LayoutAlignment::kCenter)
@@ -468,16 +478,14 @@
views::MaximumFlexSizeRule::kUnbounded));
auto inner_container = std::make_unique<views::View>();
- inner_container->SetPaintToLayer(ui::LAYER_SOLID_COLOR);
- inner_container->layer()->SetName(
- inner_container->SetBackground(views::CreateLayerBasedRoundedBackground(
- ui::kColorSysSurface3, gfx::RoundedCornersF(kInnerCornerRadius)));
- inner_container->background()->SetInternalName(
- "MultiContentsDropTargetView/InnerContainer");
- inner_container->layer()->SetRoundedCornerRadius(
- gfx::RoundedCornersF(kInnerCornerRadius));
- inner_container->layer()->SetIsFastRoundedCorner(true);
inner_container_layout_ =
&inner_container->SetLayoutManager(std::make_unique<views::FlexLayout>())
@@ -92,13 +83,13 @@ MultiContentsDropTargetView::MultiConten
@@ -90,13 +83,13 @@ MultiContentsDropTargetView::MultiConten
icon_view_->SetPaintToLayer(ui::LAYER_TEXTURED);
icon_view_->layer()->SetFillsBoundsOpaquely(false);
icon_view_->SetImage(ui::ImageModel::FromVectorIcon(
@@ -493,48 +501,9 @@
label_->SetElideBehavior(gfx::NO_ELIDE);
label_->SetSubpixelRenderingEnabled(false);
@@ -279,8 +270,6 @@ void MultiContentsDropTargetView::Disabl
void MultiContentsDropTargetView::OnThemeChanged() {
views::View::OnThemeChanged();
- inner_container_->layer()->SetColor(
- GetColorProvider()->GetColor(ui::kColorSysSurface3));
}
bool MultiContentsDropTargetView::GetDropFormats(
--- a/chrome/browser/ui/views/frame/browser_view_layout.cc
+++ b/chrome/browser/ui/views/frame/browser_view_layout.cc
@@ -874,27 +874,6 @@ void BrowserViewLayout::LayoutContentsCo
!layout_result.side_panel_right_aligned);
left_aligned_side_panel_separator_->SetBoundsRect(
layout_result.separator_bounds);
-
- SetViewVisibility(side_panel_rounded_corner_,
- layout_result.side_panel_visible);
- if (layout_result.side_panel_visible) {
- // Adjust the rounded corner bounds based on the side panel bounds.
- const int corner_size =
- side_panel_rounded_corner_->GetPreferredSize().width();
-
- const int top_separator_height = views::Separator::kThickness;
- if (layout_result.contents_container_after_side_panel) {
- side_panel_rounded_corner_->SetBounds(
- layout_result.side_panel_bounds.right(),
- layout_result.side_panel_bounds.y() - top_separator_height,
- corner_size, corner_size);
- } else {
- side_panel_rounded_corner_->SetBounds(
- layout_result.side_panel_bounds.x() - corner_size,
- layout_result.side_panel_bounds.y() - top_separator_height,
- corner_size, corner_size);
- }
- }
}
}
--- a/chrome/browser/ui/views/frame/browser_view.cc
+++ b/chrome/browser/ui/views/frame/browser_view.cc
@@ -136,7 +136,6 @@
@@ -141,7 +141,6 @@
#include "chrome/browser/ui/views/frame/multi_contents_view.h"
#include "chrome/browser/ui/views/frame/multi_contents_view_delegate.h"
#include "chrome/browser/ui/views/frame/multi_contents_view_drop_target_controller.h"
@@ -542,7 +511,7 @@
#include "chrome/browser/ui/views/frame/scrim_view.h"
#include "chrome/browser/ui/views/frame/tab_modal_dialog_host.h"
#include "chrome/browser/ui/views/frame/tab_strip_region_view.h"
@@ -2290,12 +2289,6 @@ void BrowserView::UpdateToolbar(content:
@@ -2281,12 +2280,6 @@ void BrowserView::UpdateToolbar(content:
if (toolbar_) {
toolbar_->Update(contents);
}
@@ -565,7 +534,7 @@
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/browser_list.h"
@@ -125,16 +124,6 @@ SplitTabMenuModel::SplitTabMenuModel(Tab
@@ -130,16 +129,6 @@ SplitTabMenuModel::SplitTabMenuModel(Tab
SetElementIdentifierAt(
GetIndexOfCommandId(GetCommandIdInt(CommandId::kExitSplit)).value(),
kExitSplitMenuItem);
@@ -582,7 +551,7 @@
}
SplitTabMenuModel::~SplitTabMenuModel() = default;
@@ -216,9 +205,6 @@ void SplitTabMenuModel::ExecuteCommand(i
@@ -221,9 +210,6 @@ void SplitTabMenuModel::ExecuteCommand(i
case CommandId::kExitSplit:
tab_strip_model_->RemoveSplit(split_id);
break;
@@ -592,13 +561,14 @@
}
base::UmaHistogramEnumeration(
@@ -260,10 +246,3 @@ void SplitTabMenuModel::CloseTabAtIndex(
@@ -265,11 +251,3 @@ void SplitTabMenuModel::CloseTabAtIndex(
index, TabCloseTypes::CLOSE_USER_GESTURE |
TabCloseTypes::CLOSE_CREATE_HISTORICAL_TAB);
}
-
-void SplitTabMenuModel::SendFeedback() {
- Browser* const browser = GetBrowserWithTabStripModel(tab_strip_model_);
- BrowserWindowInterface* const browser =
- GetBrowserWithTabStripModel(tab_strip_model_);
- CHECK(browser);
- chrome::ShowFeedbackPage(browser, feedback::kFeedbackSourceSplitView, "", "",
- "split_view", "");
@@ -625,7 +595,7 @@
--- a/chrome/browser/ui/browser_commands.cc
+++ b/chrome/browser/ui/browser_commands.cc
@@ -500,8 +500,12 @@ void ReloadInternal(BrowserWindowInterfa
@@ -574,8 +574,12 @@ void ReloadInternal(BrowserWindowInterfa
WebContents* const active_contents = tab_strip_model->GetActiveWebContents();
std::vector<WebContents*> tabs_to_reload;
@@ -641,7 +611,7 @@
// Reloading a tab may change the selection (see crbug.com/339061099), so
--- a/chrome/browser/renderer_context_menu/render_view_context_menu.cc
+++ b/chrome/browser/renderer_context_menu/render_view_context_menu.cc
@@ -4944,8 +4944,8 @@ void RenderViewContextMenu::OpenLinkInSp
@@ -4983,8 +4983,8 @@ void RenderViewContextMenu::OpenLinkInSp
TabStripModel* const tab_strip_model = browser->tab_strip_model();
tabs::TabInterface* const source_tab =
@@ -52,7 +52,7 @@
if (command_line->HasSwitch(extensions::kSwitchTestRequestParam)) {
--- a/chrome/browser/extensions/webstore_installer.cc
+++ b/chrome/browser/extensions/webstore_installer.cc
@@ -212,7 +212,7 @@ GURL WebstoreInstaller::GetWebstoreInsta
@@ -213,7 +213,7 @@ GURL WebstoreInstaller::GetWebstoreInsta
GURL url(
url_string + "?response=redirect&" +
update_client::UpdateQueryParams::Get(
+7 -7
View File
@@ -13,7 +13,7 @@
inline constexpr char kShowHomeButton[] = "browser.show_home_button";
--- a/chrome/browser/ui/browser_ui_prefs.cc
+++ b/chrome/browser/ui/browser_ui_prefs.cc
@@ -112,6 +112,8 @@ void RegisterBrowserUserPrefs(user_prefs
@@ -115,6 +115,8 @@ void RegisterBrowserUserPrefs(user_prefs
registry->RegisterBooleanPref(prefs::kNewTabNextToActive, false);
@@ -24,7 +24,7 @@
registry->RegisterBooleanPref(prefs::kShowHomeButton, false,
--- a/chrome/browser/ui/tabs/tab_strip_model.cc
+++ b/chrome/browser/ui/tabs/tab_strip_model.cc
@@ -1648,11 +1648,11 @@ void TabStripModel::CloseSelectedTabs()
@@ -1704,11 +1704,11 @@ void TabStripModel::CloseSelectedTabs()
}
void TabStripModel::SelectNextTab(TabStripUserGestureDetails detail) {
@@ -38,7 +38,7 @@
}
void TabStripModel::SelectLastTab(TabStripUserGestureDetails detail) {
@@ -3665,6 +3665,18 @@ TabStripSelectionChange TabStripModel::S
@@ -3710,6 +3710,18 @@ TabStripSelectionChange TabStripModel::S
return selection;
}
@@ -59,7 +59,7 @@
if (mru_cycle_list_.empty()) {
--- a/chrome/browser/ui/tabs/tab_strip_model.h
+++ b/chrome/browser/ui/tabs/tab_strip_model.h
@@ -1136,6 +1136,11 @@ class TabStripModel {
@@ -1143,6 +1143,11 @@ class TabStripModel {
kPrevious,
};
@@ -73,7 +73,7 @@
void SelectMRUTab(TabRelativeDirection direction,
--- a/chrome/browser/extensions/api/settings_private/prefs_util.cc
+++ b/chrome/browser/extensions/api/settings_private/prefs_util.cc
@@ -225,6 +225,8 @@ const PrefsUtil::TypedPrefMap& PrefsUtil
@@ -228,6 +228,8 @@ const PrefsUtil::TypedPrefMap& PrefsUtil
(*s_allowlist)[::prefs::kNewTabNextToActive] =
settings_api::PrefType::kBoolean;
@@ -84,7 +84,7 @@
(*s_allowlist)[::prefs::kShowForwardButton] =
--- a/chrome/app/settings_strings.grdp
+++ b/chrome/app/settings_strings.grdp
@@ -276,6 +276,9 @@
@@ -273,6 +273,9 @@
<message name="IDS_SETTINGS_NEW_TAB_NEXT_TO_ACTIVE_BUTTON" desc="Label for the checkbox which enables or disables behaviour of opening new tabs next to current active tab.">
Open new tabs next to the active tab
</message>
@@ -96,7 +96,7 @@
</message>
--- a/chrome/browser/ui/webui/settings/settings_localized_strings_provider.cc
+++ b/chrome/browser/ui/webui/settings/settings_localized_strings_provider.cc
@@ -516,6 +516,7 @@ void AddAppearanceStrings(content::WebUI
@@ -522,6 +522,7 @@ void AddAppearanceStrings(content::WebUI
{"darkMode", IDS_NTP_CUSTOMIZE_CHROME_COLOR_SCHEME_MODE_DARK_LABEL},
{"systemMode", IDS_NTP_CUSTOMIZE_CHROME_COLOR_SCHEME_MODE_SYSTEM_LABEL},
{"openNewTabNextToActive", IDS_SETTINGS_NEW_TAB_NEXT_TO_ACTIVE_BUTTON},
@@ -57,7 +57,7 @@
#endif // COMPONENTS_HELIUM_SERVICES_PREF_NAMES_H_
--- a/chrome/browser/extensions/api/settings_private/prefs_util.cc
+++ b/chrome/browser/extensions/api/settings_private/prefs_util.cc
@@ -363,6 +363,8 @@ const PrefsUtil::TypedPrefMap& PrefsUtil
@@ -366,6 +366,8 @@ const PrefsUtil::TypedPrefMap& PrefsUtil
settings_api::PrefType::kBoolean;
(*s_allowlist)[::prefs::kHeliumUpdateFetchingEnabled] =
settings_api::PrefType::kBoolean;
@@ -68,7 +68,7 @@
(*s_allowlist)[::prefs::kHeliumServicesConsented] =
--- a/chrome/browser/ui/browser_ui_prefs.cc
+++ b/chrome/browser/ui/browser_ui_prefs.cc
@@ -215,6 +215,7 @@ void RegisterBrowserUserPrefs(user_prefs
@@ -218,6 +218,7 @@ void RegisterBrowserUserPrefs(user_prefs
registry->RegisterBooleanPref(prefs::kHeliumDidOnboarding, false);
registry->RegisterBooleanPref(prefs::kHeliumServicesConsented, false);
registry->RegisterBooleanPref(prefs::kHeliumUpdateFetchingEnabled, true);
@@ -96,7 +96,7 @@
#include "components/policy/core/common/policy_pref_names.h"
#include "components/supervised_user/core/browser/supervised_user_preferences.h"
#include "content/public/browser/browser_thread.h"
@@ -205,6 +209,7 @@ ExtensionService::ExtensionService(
@@ -206,6 +210,7 @@ ExtensionService::ExtensionService(
ready_(ready),
updater_(ExtensionUpdater::Get(profile)),
component_loader_(ComponentLoader::Get(profile_)),
@@ -104,7 +104,7 @@
error_controller_(error_controller),
external_install_manager_(ExternalInstallManager::Get(profile)),
extension_registrar_delegate_(
@@ -278,6 +283,33 @@ ExtensionService::ExtensionService(
@@ -279,6 +284,33 @@ ExtensionService::ExtensionService(
prefs::kExtensionsUIDeveloperMode,
base::BindRepeating(&ExtensionService::OnDeveloperModePrefChanged,
base::Unretained(this)));
@@ -217,7 +217,7 @@
if ( bin.assetSourceRegistry instanceof Object ) {
--- a/chrome/app/settings_strings.grdp
+++ b/chrome/app/settings_strings.grdp
@@ -1969,6 +1969,12 @@
@@ -2002,6 +2002,12 @@
<message name="IDS_SETTINGS_HELIUM_SERVICES_UPDATE_DESCRIPTION" desc="Description of the toggle for automatic update downloads">
Helium will automatically download and install browser updates as they become available. We recommend keeping this setting enabled to ensure you get the latest security patches and features.
</message>
@@ -246,7 +246,7 @@
</template>
--- a/chrome/browser/ui/webui/settings/settings_localized_strings_provider.cc
+++ b/chrome/browser/ui/webui/settings/settings_localized_strings_provider.cc
@@ -1989,6 +1989,10 @@ void AddPrivacyStrings(content::WebUIDat
@@ -2139,6 +2139,10 @@ void AddPrivacyStrings(content::WebUIDat
IDS_SETTINGS_HELIUM_SERVICES_UPDATE},
{"heliumUpdatesToggleDescription",
IDS_SETTINGS_HELIUM_SERVICES_UPDATE_DESCRIPTION},
@@ -18,7 +18,7 @@
#include "extensions/browser/delayed_install_manager.h"
#include "extensions/browser/disable_reason.h"
#include "extensions/browser/extension_file_task_runner.h"
@@ -251,7 +255,85 @@ void ChromeExtensionRegistrarDelegate::P
@@ -254,7 +258,85 @@ void ChromeExtensionRegistrarDelegate::P
}
}
@@ -21,7 +21,7 @@
location <= mojom::ManifestLocation::kMaxValue;
--- a/chrome/browser/chrome_content_browser_client.cc
+++ b/chrome/browser/chrome_content_browser_client.cc
@@ -6264,7 +6264,8 @@ void AddChromeSchemeFactories(
@@ -6194,7 +6194,8 @@ void AddChromeSchemeFactories(
std::vector<std::string> allowed_webui_hosts;
// Support for chrome:// scheme if appropriate.
if ((extension->is_extension() || extension->is_platform_app()) &&
@@ -82,7 +82,7 @@
IsPolicyBlockedHostUnsafe(origin_url)) {
if (error)
*error = extension_misc::kPolicyBlockedScripting;
@@ -617,7 +619,8 @@ PermissionsData::PageAccess PermissionsD
@@ -618,7 +620,8 @@ PermissionsData::PageAccess PermissionsD
const URLPatternSet* tab_url_patterns,
std::string* error) const {
runtime_lock_.AssertAcquired();
@@ -92,7 +92,7 @@
IsPolicyBlockedHostUnsafe(document_url)) {
if (error)
*error = extension_misc::kPolicyBlockedScripting;
@@ -629,7 +632,8 @@ PermissionsData::PageAccess PermissionsD
@@ -630,7 +633,8 @@ PermissionsData::PageAccess PermissionsD
if (base::FeatureList::IsEnabled(
extensions_features::kExtensionsMenuAccessControl) &&
@@ -104,7 +104,7 @@
auto& context_permissions = GetContextPermissions(*context_id_);
--- a/chrome/browser/extensions/extension_util.cc
+++ b/chrome/browser/extensions/extension_util.cc
@@ -189,7 +189,8 @@ void SetIsIncognitoEnabled(const std::st
@@ -184,7 +184,8 @@ void SetIsIncognitoEnabled(const std::st
#if !BUILDFLAG(IS_ANDROID)
// TODO(treib,kalman): Should this be Manifest::IsComponentLocation(..)?
// (which also checks for kExternalComponent).
@@ -205,7 +205,7 @@
user_prefs::PrefRegistrySyncable::SYNCABLE_PREF);
registry->RegisterListPref(pref_names::kDeletedComponentExtensions);
registry->RegisterDictionaryPref(kExtensionsBlocklistUpdate);
@@ -2295,14 +2307,14 @@ bool ExtensionPrefs::GetUserExtensionPre
@@ -2299,14 +2311,14 @@ bool ExtensionPrefs::GetUserExtensionPre
ExtensionIdContainer* id_container_out) const {
DCHECK(id_container_out->empty());
@@ -93,7 +93,7 @@
+ ))
--- a/tools/gritsettings/resource_ids.spec
+++ b/tools/gritsettings/resource_ids.spec
@@ -202,7 +202,7 @@
@@ -206,7 +206,7 @@
"META": {"sizes": {"includes": [500]}},
"includes": [2850],
},
+3 -3
View File
@@ -1,8 +1,8 @@
--- a/tools/licenses/licenses.py
+++ b/tools/licenses/licenses.py
@@ -1072,8 +1072,8 @@ def GenerateCredits(file_template_file,
reciprocal_template = codecs.open(reciprocal_template_file,
encoding='utf-8').read()
@@ -1093,8 +1093,8 @@ def GenerateCredits(args, metadatas):
entries_contents = '\n'.join([entry['content'] for entry in entries])
reciprocal_contents = EvaluateTemplate(reciprocal_template, {
- 'opensource_project': 'ungoogled-chromium',
- 'opensource_link': 'https://github.com/ungoogled-software/ungoogled-chromium'
@@ -1,6 +1,6 @@
--- a/chrome/browser/ui/browser_ui_prefs.cc
+++ b/chrome/browser/ui/browser_ui_prefs.cc
@@ -66,7 +66,7 @@ void RegisterBrowserPrefs(PrefRegistrySi
@@ -69,7 +69,7 @@ void RegisterBrowserPrefs(PrefRegistrySi
registry->RegisterBooleanPref(prefs::kHoverCardImagesEnabled, true);
@@ -9,7 +9,7 @@
#if defined(USE_AURA)
registry->RegisterBooleanPref(prefs::kOverscrollHistoryNavigationEnabled,
@@ -150,7 +150,7 @@ void RegisterBrowserUserPrefs(user_prefs
@@ -153,7 +153,7 @@ void RegisterBrowserUserPrefs(user_prefs
// We need to register the type of these preferences in order to query
// them even though they're only typically controlled via policy.
@@ -1,6 +1,6 @@
--- a/chrome/browser/ui/browser_ui_prefs.cc
+++ b/chrome/browser/ui/browser_ui_prefs.cc
@@ -142,7 +142,7 @@ void RegisterBrowserUserPrefs(user_prefs
@@ -145,7 +145,7 @@ void RegisterBrowserUserPrefs(user_prefs
false);
#endif
registry->RegisterStringPref(prefs::kWebRTCIPHandlingPolicy,
+2 -2
View File
@@ -46,7 +46,7 @@
std::unique_ptr<LocalTestPolicyProvider> local_test_provider_;
--- a/chrome/browser/policy/profile_policy_connector.cc
+++ b/chrome/browser/policy/profile_policy_connector.cc
@@ -378,6 +378,10 @@ void ProfilePolicyConnector::Init(
@@ -384,6 +384,10 @@ void ProfilePolicyConnector::Init(
if (connector->command_line_policy_provider()) {
policy_providers_.push_back(connector->command_line_policy_provider());
}
@@ -59,7 +59,7 @@
local_test_policy_provider_ = connector->local_test_policy_provider();
--- a/components/policy/core/common/BUILD.gn
+++ b/components/policy/core/common/BUILD.gn
@@ -154,6 +154,8 @@ source_set("internal") {
@@ -153,6 +153,8 @@ source_set("internal") {
"external_data_manager.h",
"features.cc",
"features.h",
@@ -1,6 +1,6 @@
--- a/chrome/app/settings_strings.grdp
+++ b/chrome/app/settings_strings.grdp
@@ -256,7 +256,7 @@
@@ -253,7 +253,7 @@
<message name="IDS_SETTINGS_RESET_TO_DEFAULT" desc="Name of the control which resets a browser setting back to the default value">
Reset to default
</message>
@@ -9,7 +9,7 @@
<message name="IDS_SETTINGS_RESET_TO_DEFAULT_THEME" desc="Accessibility label of the button which resets the browser theme back to the default value">
Reset to default theme
</message>
@@ -294,6 +294,9 @@
@@ -291,6 +291,9 @@
<message name="IDS_SETTINGS_AUTO_PIN_NEW_TAB_GROUPS" desc="Label for the checkbox which enables or disables auto pin new tab groups.">
Automatically pin new tab groups created on any device to the bookmarks bar
</message>
@@ -21,7 +21,7 @@
</message>
--- a/chrome/browser/ui/webui/settings/settings_localized_strings_provider.cc
+++ b/chrome/browser/ui/webui/settings/settings_localized_strings_provider.cc
@@ -523,7 +523,7 @@ void AddAppearanceStrings(content::WebUI
@@ -529,7 +529,7 @@ void AddAppearanceStrings(content::WebUI
IDS_SETTINGS_ALLOW_SPLIT_VIEW_DRAG_AND_DROP},
{"showTabGroupsInBookmarksBar",
IDS_SETTINGS_SHOW_TAB_GROUPS_IN_BOOKMARKS_BAR},
@@ -30,7 +30,7 @@
{"hoverCardTitle", IDS_SETTINGS_HOVER_CARD_TITLE},
{"showHoverCardImages", IDS_SETTINGS_SHOW_HOVER_CARD_IMAGES},
{"showHoverCardMemoryUsage", IDS_SETTINGS_SHOW_HOVER_CARD_MEMORY_USAGE},
@@ -555,9 +555,7 @@ void AddAppearanceStrings(content::WebUI
@@ -561,9 +561,7 @@ void AddAppearanceStrings(content::WebUI
{"classicTheme", IDS_SETTINGS_CLASSIC_THEME},
{"useClassicTheme", IDS_SETTINGS_USE_CLASSIC_THEME},
#endif
+1 -1
View File
@@ -11,7 +11,7 @@
{"loading", IDS_HISTORY_LOADING},
--- a/chrome/browser/ui/webui/settings/settings_localized_strings_provider.cc
+++ b/chrome/browser/ui/webui/settings/settings_localized_strings_provider.cc
@@ -1814,7 +1814,7 @@ void AddSyncControlsStrings(content::Web
@@ -1965,7 +1965,7 @@ void AddSyncControlsStrings(content::Web
void AddPeopleStrings(content::WebUIDataSource* html_source, Profile* profile) {
static constexpr webui::LocalizedString kLocalizedStrings[] = {
// Top level people strings:
@@ -1,6 +1,6 @@
--- a/chrome/app/settings_strings.grdp
+++ b/chrome/app/settings_strings.grdp
@@ -1917,6 +1917,9 @@
@@ -1950,6 +1950,9 @@
<message name="IDS_SETTINGS_ENABLE_DO_NOT_TRACK_DIALOG_TEXT" desc="The text of a confirmation dialog that confirms that the user want to send the 'Do Not Track' header">
Enabling "Do Not Track" means that a request will be included with your browsing traffic. Any effect depends on whether a website responds to the request, and how the request is interpreted. For example, some websites may respond to this request by showing you ads that aren't based on other websites you've visited. Many websites will still collect and use your browsing data - for example to improve security, to provide content, services, ads and recommendations on their websites, and to generate reporting statistics.
</message>
@@ -10,7 +10,7 @@
<message name="IDS_SETTINGS_ENABLE_DO_NOT_TRACK_DIALOG_LEARN_MORE_ACCESSIBILITY_LABEL" desc="The accessibility label for a link to learn more about Do Not Track">
Learn more about Do Not Track
</message>
@@ -3153,6 +3156,9 @@
@@ -3207,6 +3210,9 @@
<message name="IDS_SETTINGS_TRACKING_PROTECTION_SITES_ALLOWED_COOKIES_DESCRIPTION" desc="Description of the section on the Tracking Protection settings page that lets users manage which sites are allowed to use third-party cookies. Explains how to use a wildcard to create an exception for an entire domain.">
Affects the sites listed here. Inserting “[*.]” before a domain name creates an exception for the entire domain. For example, adding “[*.]google.com” means that third-party cookies can also be active for mail.google.com, because it’s part of google.com.
</message>
@@ -22,7 +22,7 @@
</message>
--- a/chrome/browser/ui/webui/settings/settings_localized_strings_provider.cc
+++ b/chrome/browser/ui/webui/settings/settings_localized_strings_provider.cc
@@ -1962,7 +1962,7 @@ void AddPrivacyStrings(content::WebUIDat
@@ -2112,7 +2112,7 @@ void AddPrivacyStrings(content::WebUIDat
{"privacyPageMore", IDS_SETTINGS_PRIVACY_MORE},
{"doNotTrack", IDS_SETTINGS_ENABLE_DO_NOT_TRACK},
{"doNotTrackDialogTitle", IDS_SETTINGS_ENABLE_DO_NOT_TRACK_DIALOG_TITLE},
@@ -31,7 +31,7 @@
{"doNotTrackDialogLearnMoreA11yLabel",
IDS_SETTINGS_ENABLE_DO_NOT_TRACK_DIALOG_LEARN_MORE_ACCESSIBILITY_LABEL},
// TODO(crbug.com/40122957): This string is no longer used. Remove.
@@ -2671,7 +2671,7 @@ void AddSiteSettingsStrings(content::Web
@@ -2829,7 +2829,7 @@ void AddSiteSettingsStrings(content::Web
{"trackingProtectionSitesAllowedCookiesTitle",
IDS_SETTINGS_TRACKING_PROTECTION_SITES_ALLOWED_COOKIES_TITLE},
{"trackingProtectionSitesAllowedCookiesDescription",
@@ -1,8 +1,8 @@
--- a/chrome/browser/resources/settings/people_page/people_page.html
+++ b/chrome/browser/resources/settings/people_page/people_page.html
@@ -124,12 +124,6 @@
</template>
</template> <!-- if="[[!shouldShowSyncAccountControl_()]]" -->
@@ -123,12 +123,6 @@
</div>
</cr-link-row>
- <cr-link-row id="sync-setup"
- label="$i18n{syncAndNonPersonalizedServices}"
@@ -10,9 +10,9 @@
- role-description="$i18n{subpageArrowRoleDescription}"
- hidden="[[shouldHideSyncSetupLinkRow_(syncStatus)]]">
- </cr-link-row>
<template is="dom-if" if="[[shouldHideSyncSetupLinkRow_(syncStatus)]]"
restamp>
<cr-link-row id="google-services"
<cr-link-row id="google-services"
label="$i18n{googleServicesPageTitle}"
on-click="onGoogleServicesClick_"
--- a/chrome/browser/resources/settings/privacy_page/personalization_options.html
+++ b/chrome/browser/resources/settings/privacy_page/personalization_options.html
@@ -113,15 +113,6 @@
@@ -1,6 +1,6 @@
--- a/chrome/app/settings_strings.grdp
+++ b/chrome/app/settings_strings.grdp
@@ -1930,6 +1930,12 @@
@@ -1963,6 +1963,12 @@
users to manage security settings">
Security
</message>
@@ -15,12 +15,12 @@
</message>
--- a/chrome/browser/ui/webui/settings/settings_localized_strings_provider.cc
+++ b/chrome/browser/ui/webui/settings/settings_localized_strings_provider.cc
@@ -1967,9 +1967,9 @@ void AddPrivacyStrings(content::WebUIDat
@@ -2117,9 +2117,9 @@ void AddPrivacyStrings(content::WebUIDat
IDS_SETTINGS_ENABLE_DO_NOT_TRACK_DIALOG_LEARN_MORE_ACCESSIBILITY_LABEL},
// TODO(crbug.com/40122957): This string is no longer used. Remove.
{"permissionsPageTitle", IDS_SETTINGS_PERMISSIONS},
- {"permissionsPageDescription", IDS_SETTINGS_PERMISSIONS_DESCRIPTION},
+ {"permissionsPageDescription", IDS_SETTINGS_PERMISSIONS_DESCRIPTION_NORMAL},
- {"siteSettingsSublabel", IDS_SETTINGS_PERMISSIONS_DESCRIPTION},
+ {"siteSettingsSublabel", IDS_SETTINGS_PERMISSIONS_DESCRIPTION_NORMAL},
{"securityPageTitle", IDS_SETTINGS_SECURITY},
- {"securityPageDescription", IDS_SETTINGS_SECURITY_DESCRIPTION},
+ {"securityPageDescription", IDS_SETTINGS_SECURITY_DESCRIPTION_NORMAL},
@@ -54,10 +54,10 @@
- sub-label="$i18n{securityPageDescription}"
- on-click="onSecurityPageClick_"
- role-description="$i18n{subpageArrowRoleDescription}"></cr-link-row>
<cr-link-row id="permissionsLinkRow" start-icon="privacy:page-info"
<cr-link-row id="siteSettingsLinkRow" start-icon="privacy:page-info"
class="hr" label="$i18n{siteSettings}"
sub-label="$i18n{permissionsPageDescription}"
on-click="onPermissionsPageClick_"
sub-label="$i18n{siteSettingsSublabel}"
on-click="onSiteSettingsLinkRowClick_"
role-description="$i18n{subpageArrowRoleDescription}"></cr-link-row>
+ <cr-link-row id="securityLinkRow" start-icon="privacy:lock"
+ class="hr" label="$i18n{securityPageTitle}"
@@ -9,7 +9,7 @@
- enableYourSavedInfoSettingsPage_,
- pageVisibility_.yourSavedInfo)]]"
- class="cr-nav-menu-item">
- <cr-icon icon="settings:assignment"></cr-icon>
- <cr-icon icon="settings20:saved-info"></cr-icon>
- $i18n{yourSavedInfoPageTitle}
- <cr-ripple></cr-ripple>
- </a>
@@ -19,7 +19,7 @@
- pageVisibility_.autofill)]]"
- on-click="onAutofillClick_"
- class="cr-nav-menu-item">
- <cr-icon icon="settings:assignment"></cr-icon>
- <cr-icon icon="[[autofillIcon_]]"></cr-icon>
- $i18n{autofillPageTitle}
- <cr-ripple></cr-ripple>
- </a>
@@ -28,12 +28,12 @@
class="cr-nav-menu-item">
--- a/chrome/browser/resources/settings/route.ts
+++ b/chrome/browser/resources/settings/route.ts
@@ -223,7 +223,7 @@ function createRoutes(): SettingsRoutes
r.FONTS = r.APPEARANCE.createChild('/fonts');
}
- if (visibility.autofill !== false) {
+ if (visibility.autofill = false) {
@@ -239,7 +239,7 @@ function createRoutes(): SettingsRoutes
r.PASSKEYS = r.YOUR_SAVED_INFO.createChild('/passkeys');
// </if>
}
- } else if (visibility.autofill !== false) {
+ } else if (visibility.autofill = false) {
r.AUTOFILL = r.BASIC.createSection(
'/autofill', 'autofill', loadTimeData.getString('autofillPageTitle'));
r.PAYMENTS = r.AUTOFILL.createChild('/payments');
@@ -43,7 +43,7 @@
</div>
</template>
- <template is="dom-if" if="[[showPage_(pageVisibility_.autofill)]]">
- <template is="dom-if" if="[[showAutofillPage_(pageVisibility_.autofill)]]">
+ <template is="dom-if" if="[[false]]">
<div slot="view" id="autofill">
<template is="dom-if" if="[[renderPlugin_(
@@ -17,25 +17,26 @@
// <if expr="not is_chromeos">
import './clear_browsing_data_dialog/clear_browsing_data_account_indicator.js';
// </if>
@@ -21,17 +12,8 @@ import './clear_browsing_data_dialog/cle
@@ -20,18 +11,10 @@ import './clear_browsing_data_dialog/cle
import './clear_browsing_data_dialog/clear_browsing_data_dialog_v2.js';
import './clear_browsing_data_dialog/clear_browsing_data_time_picker.js';
import './search_page/search_engines_page.js';
import './simple_confirmation_dialog.js';
-import './clear_browsing_data_dialog/other_google_data_dialog.js';
import './privacy_page/anti_abuse_page.js';
import './privacy_page/incognito_tracking_protections_page.js';
-import './privacy_page/privacy_guide/privacy_guide_dialog.js';
-import './privacy_page/privacy_guide/privacy_guide_page.js';
import './privacy_page/security/security_keys_subpage.js';
import './privacy_page/security/security_page_v2.js';
import './privacy_page/security/security_page.js';
import './privacy_page/services_page.js';
-import './privacy_sandbox/privacy_sandbox_ad_measurement_subpage.js';
-import './privacy_sandbox/privacy_sandbox_fledge_subpage.js';
-import './privacy_sandbox/privacy_sandbox_interest_item.js';
-import './privacy_sandbox/privacy_sandbox_page.js';
import './privacy_page/incognito_tracking_protections_page.js';
-import './privacy_sandbox/privacy_sandbox_manage_topics_subpage.js';
-import './privacy_sandbox/privacy_sandbox_page.js';
-import './privacy_sandbox/privacy_sandbox_topics_subpage.js';
import './privacy_page/security_keys_subpage.js';
import './privacy_page/security_page_v2.js';
import './privacy_page/security_page.js';
@@ -93,15 +75,10 @@ import './site_settings/web_printing_pag
import './safety_hub/safety_hub_entry_point.js';
import './safety_hub/safety_hub_page.js';
import './search_page/search_engines_page.js';
@@ -92,15 +75,10 @@ import './site_settings/web_printing_pag
import './site_settings/window_management_page.js';
import './site_settings/zoom_levels.js';
// <if expr="not is_chromeos">
@@ -51,7 +52,7 @@
// Sections
import './a11y_page/a11y_page_index.js';
import './downloads_page/downloads_page.js';
@@ -144,39 +121,8 @@ export {SettingsA11yPageElement, ToastAl
@@ -143,40 +121,8 @@ export {SettingsA11yPageElement, ToastAl
// <if expr="is_win or is_linux or is_macosx">
export {SettingsAxAnnotationsSectionElement} from './a11y_page/ax_annotations_section.js';
// </if>
@@ -70,6 +71,7 @@
-export {SettingsAddressEditDialogElement} from './autofill_page/address_edit_dialog.js';
-export {SettingsAddressRemoveConfirmationDialogElement} from './autofill_page/address_remove_confirmation_dialog.js';
-export {SettingsAutofillAiAddOrEditDialogElement} from './autofill_page/autofill_ai_add_or_edit_dialog.js';
-export {SettingsAutofillAiEntriesListElement} from './autofill_page/autofill_ai_entries_list.js';
-export {SettingsAutofillAiSectionElement} from './autofill_page/autofill_ai_section.js';
-export {AutofillManagerImpl, AutofillManagerProxy, PersonalDataChangedListener} from './autofill_page/autofill_manager_proxy.js';
-export {AutofillAddressOptInChange, SettingsAutofillSectionElement} from './autofill_page/autofill_section.js';
@@ -97,9 +99,9 @@
export {SettingsHistoryDeletionDialogElement} from './clear_browsing_data_dialog/history_deletion_dialog.js';
-export {SettingsOtherGoogleDataDialogElement} from './clear_browsing_data_dialog/other_google_data_dialog.js';
export {SettingsPasswordsDeletionDialogElement} from './clear_browsing_data_dialog/passwords_deletion_dialog.js';
export {SettingsCollapseRadioButtonElement} from './controls/collapse_radio_button.js';
export {ControlledButtonElement} from './controls/controlled_button.js';
export {SettingsCheckboxElement} from './controls/settings_checkbox.js';
@@ -205,17 +150,12 @@ export {kMenuCloseDelay, SettingsLanguag
@@ -206,32 +151,17 @@ export {kMenuCloseDelay, SettingsLanguag
export {LanguageSettingsActionType, LanguageSettingsMetricsProxy, LanguageSettingsMetricsProxyImpl, LanguageSettingsPageImpressionType} from './languages_page/languages_settings_metrics_proxy.js';
export {LanguageHelper, LanguagesModel} from './languages_page/languages_types.js';
export {SettingsSpellCheckPageElement} from './languages_page/spell_check_page.js';
@@ -115,10 +117,8 @@
-export {SettingsSyncEncryptionOptionsElement} from './people_page/sync_encryption_options.js';
-export {SettingsSyncPageElement} from './people_page/sync_page.js';
export {NetworkPredictionOptions} from './performance_page/constants.js';
export {SettingsAntiAbusePageElement} from './privacy_page/anti_abuse_page.js';
export {SettingsCollapseRadioButtonElement} from './privacy_page/collapse_radio_button.js';
@@ -225,16 +165,6 @@ export {SettingsDoNotTrackToggleElement}
export {FINGERPRINT_CHECK_DARK_URL, FINGERPRINT_CHECK_LIGHT_URL, FINGERPRINT_SCANNED_ICON_DARK, FINGERPRINT_SCANNED_ICON_LIGHT, FingerprintProgressArcElement, PROGRESS_CIRCLE_BACKGROUND_COLOR_DARK, PROGRESS_CIRCLE_BACKGROUND_COLOR_LIGHT, PROGRESS_CIRCLE_FILL_COLOR_DARK, PROGRESS_CIRCLE_FILL_COLOR_LIGHT} from './privacy_page/fingerprint_progress_arc.js';
export {SettingsCookiesPageElement} from './privacy_page/cookies_page.js';
export {SettingsDoNotTrackToggleElement} from './privacy_page/do_not_track_toggle.js';
export {IncognitoTrackingProtectionsPageElement} from './privacy_page/incognito_tracking_protections_page.js';
export {SettingsPersonalizationOptionsElement} from './privacy_page/personalization_options.js';
-export {PrivacyGuideStep} from './privacy_page/privacy_guide/constants.js';
@@ -131,13 +131,13 @@
-export {SettingsPrivacyGuidePageElement} from './privacy_page/privacy_guide/privacy_guide_page.js';
-export {PrivacyGuideSafeBrowsingFragmentElement} from './privacy_page/privacy_guide/privacy_guide_safe_browsing_fragment.js';
-export {PrivacyGuideWelcomeFragmentElement} from './privacy_page/privacy_guide/privacy_guide_welcome_fragment.js';
export {SecureDnsResolverType, SettingsSecureDnsElement} from './privacy_page/secure_dns.js';
export {SecureDnsInputElement} from './privacy_page/secure_dns_input.js';
export {BioEnrollDialogPage, SettingsSecurityKeysBioEnrollDialogElement} from './privacy_page/security_keys_bio_enroll_dialog.js';
@@ -246,12 +176,6 @@ export {SecurityKeysSubpageElement} from
export {HttpsFirstModeSetting, SafeBrowsingSetting, SettingsSecurityPageElement} from './privacy_page/security_page.js';
export {CrLottieElement} from './privacy_page/security/cr_lottie.js';
export {FINGERPRINT_CHECK_DARK_URL, FINGERPRINT_CHECK_LIGHT_URL, FINGERPRINT_SCANNED_ICON_DARK, FINGERPRINT_SCANNED_ICON_LIGHT, FingerprintProgressArcElement, PROGRESS_CIRCLE_BACKGROUND_COLOR_DARK, PROGRESS_CIRCLE_BACKGROUND_COLOR_LIGHT, PROGRESS_CIRCLE_FILL_COLOR_DARK, PROGRESS_CIRCLE_FILL_COLOR_LIGHT} from './privacy_page/security/fingerprint_progress_arc.js';
export {SecureDnsResolverType, SettingsSecureDnsElement} from './privacy_page/security/secure_dns.js';
@@ -246,12 +176,6 @@ export {HttpsFirstModeSetting, SafeBrows
export {SecurityPageFeatureRowElement} from './privacy_page/security/security_page_feature_row.js';
export {SecuritySettingsBundleSetting, SettingsSecurityPageV2Element} from './privacy_page/security/security_page_v2.js';
export {SettingsHeliumServicesPageElement} from './privacy_page/services_page.js';
export {SecuritySettingsBundleSetting, SettingsSecurityPageV2Element} from './privacy_page/security_page_v2.js';
-export {SettingsPrivacySandboxAdMeasurementSubpageElement} from './privacy_sandbox/privacy_sandbox_ad_measurement_subpage.js';
-export {SettingsPrivacySandboxFledgeSubpageElement} from './privacy_sandbox/privacy_sandbox_fledge_subpage.js';
-export {PrivacySandboxInterestItemElement} from './privacy_sandbox/privacy_sandbox_interest_item.js';
@@ -0,0 +1,77 @@
--- a/chrome/browser/resources/settings/people_page/people_page.html
+++ b/chrome/browser/resources/settings/people_page/people_page.html
@@ -69,20 +69,6 @@
<div>
<if expr="not is_chromeos">
- <template is="dom-if" if="[[shouldShowSyncAccountControl_(
- syncStatus.syncSystemEnabled, syncStatus.signedInStatus)]]" restamp>
- <settings-sync-account-control
- sync-status="[[syncStatus]]"
- prefs="{{prefs}}"
- promo-label-with-account="$i18n{peopleSignInPrompt}"
- promo-label-with-no-account="$i18n{peopleSignInPrompt}"
- promo-secondary-label-with-account=
- "$i18n{peopleSignInPromptSecondaryWithAccount}"
- promo-secondary-label-with-no-account=
- "$i18n{peopleSignInPromptSecondaryWithNoAccount}">
- </settings-sync-account-control>
- </template>
-
<template is="dom-if" if="[[shouldLinkToProfileRow_(
syncStatus.syncSystemEnabled, signinAllowed_,
syncStatus.signedInState)]]" restamp>
@@ -106,53 +92,9 @@
</div>
</template>
- <cr-link-row id="account-subpage-row" on-click="onAccountClick_"
- hidden="[[!shouldLinkToAccountSettingsPage_(
- syncStatus.signedInState)]]">
- <div id="profile-icon"
- style="background-image: [[getIconImageSet_(
- primaryAccountIconUrl_)]]">
- </div>
- <div class="cr-row-gap cr-padded-text flex no-min-width">
- <div id="account-name" class="text-elide">
- [[primaryAccountName_]]
- </div>
- <div id="account-subtitle" class="secondary">
- [[getAccountRowSubtitle_(primaryAccountEmail_, syncStatus)]]
- </div>
- </div>
- </cr-link-row>
-
- <cr-link-row id="google-services"
- label="$i18n{googleServicesPageTitle}"
- on-click="onGoogleServicesClick_"
- role-description="$i18n{subpageArrowRoleDescription}"
- hidden="[[!shouldHideSyncSetupLinkRow_(syncStatus)]]">
- </cr-link-row>
-
- <template is="dom-if" if="[[signinAllowed_]]">
- <cr-link-row id="manage-google-account"
- label="$i18n{manageGoogleAccount}"
- hidden="[[!shouldShowGoogleAccount_]]"
- on-click="openGoogleAccount_" external></cr-link-row>
-
- <cr-link-row id="edit-profile"
- label="$i18n{profileNameAndPicture}"
- on-click="onProfileClick_" ></cr-link-row>
- </template>
-
<cr-link-row id="importDataDialogTrigger"
label="$i18n{importTitle}"
on-click="onImportDataClick_"></cr-link-row>
-
- <template is="dom-if" if="[[isDasherlessProfile_]]">
- <div id="sync-not-allowed" class="cr-row continuation">
- <cr-icon id="info-icon" icon="cr:info-outline"></cr-icon>
- <div id="sync-not-allowed-text" class="flex cr-padded-text">
- $i18n{syncUnavailableForNonGoogleAccount}
- </div>
- </div>
- </template>
</if>
<if expr="is_chromeos">
@@ -16,8 +16,8 @@
</settings-safety-hub-module>
</template>
</template>
--- a/chrome/browser/resources/settings/site_settings_page/site_settings_page.html
+++ b/chrome/browser/resources/settings/site_settings_page/site_settings_page.html
--- a/chrome/browser/resources/settings/site_settings/site_settings_page.html
+++ b/chrome/browser/resources/settings/site_settings/site_settings_page.html
@@ -11,17 +11,10 @@
learn-more-url="$i18n{exceptionsLearnMoreURL}"
route-path$="[[routePath]]">
@@ -38,19 +38,20 @@
<div class="cr-row first">
--- a/chrome/browser/resources/settings/privacy_page/privacy_page_index.html
+++ b/chrome/browser/resources/settings/privacy_page/privacy_page_index.html
@@ -22,23 +22,6 @@
@@ -22,24 +22,6 @@
</settings-section>
</template>
- <template is="dom-if" if="[[showPage_(pageVisibility_.safetyHub)]]">
- <template is="dom-if" if="[[renderView_(
- routes_.PRIVACY, currentRoute, inSearchMode)]]">
- routes_.PRIVACY, currentRoute, inSearchMode)]]" update-when-false>
- <settings-safety-hub-entry-point slot="view" id="safetyHubEntryPoint">
- </settings-safety-hub-entry-point>
- </template>
-
- <template is="dom-if" if="[[renderView_(
- routes_.SAFETY_HUB, currentRoute, inSearchMode)]]">
- routes_.SAFETY_HUB, currentRoute, inSearchMode)]]"
- update-when-false>
- <!-- TODO(crbug.com/40267370): Make the page searchable.-->
- <settings-safety-hub-page slot="view" id="safetyHub" no-search
- data-parent-view-id="safetyHubEntryPoint" prefs="{{prefs}}"
@@ -59,6 +60,6 @@
- </template>
- </template>
-
<template is="dom-if" if="[[renderPrivacyView_(currentRoute, inSearchMode)]]">
<template is="dom-if" if="[[renderPrivacyView_(currentRoute, inSearchMode)]]"
update-when-false>
<settings-privacy-page slot="view" id="privacy" prefs="{{prefs}}"
route-path$="[[routes_.PRIVACY.path]]">
@@ -1,6 +1,6 @@
--- a/chrome/browser/resources/settings/route.ts
+++ b/chrome/browser/resources/settings/route.ts
@@ -348,7 +348,7 @@ export let routes: SettingsRoutes = Rout
@@ -357,7 +357,7 @@ export let routes: SettingsRoutes = Rout
// Returns the "effective" route when at chrome://settings/.
export function getTopLevelRoute(): Route {
if (!loadTimeData.getBoolean('isGuest')) {
@@ -1,15 +1,15 @@
--- a/chrome/browser/resources/settings/icons.html
+++ b/chrome/browser/resources/settings/icons.html
@@ -74,7 +74,7 @@ NOTE: Chrome OS icons go in ./chromeos/o
<g id="router-off"><path d="m12.105 6.855-1.062-1.062c.289-.277.629-.48 1.02-.606a3.868 3.868 0 0 1 2.374 0c.391.125.731.329 1.02.606l-1.062 1.062a1.042 1.042 0 0 0-.532-.293 2.917 2.917 0 0 0-.613-.062c-.207 0-.414.02-.613.063-.203.042-.38.14-.532.292ZM10 4.75 8.918 3.668a5.052 5.052 0 0 1 1.988-1.273A7.132 7.132 0 0 1 13.25 2c.805 0 1.586.133 2.344.395a5.052 5.052 0 0 1 1.988 1.273L16.5 4.75a4.007 4.007 0 0 0-1.488-.95 5.25 5.25 0 0 0-1.762-.3c-.61 0-1.2.102-1.762.3A4.007 4.007 0 0 0 10 4.75Zm7 10.125-4.5-4.508V8H14v3h1.5c.426 0 .785.145 1.09.438.3.292.437.644.41 1.062ZM4.5 15.5h8.875l-3-3H4.5ZM16 18.125 14.875 17H4.5c-.414 0-.766-.148-1.059-.441A1.449 1.449 0 0 1 3 15.5v-3.004c0-.414.148-.766.441-1.059A1.439 1.439 0 0 1 4.5 11h4.375l-7-7 1.063-1.063 14.124 14.126ZM6.254 14.75c-.211 0-.39-.07-.535-.215a.716.716 0 0 1-.219-.531c0-.211.07-.39.215-.535a.716.716 0 0 1 .531-.219c.211 0 .39.07.535.215.145.14.219.32.219.531 0 .211-.07.39-.215.535a.716.716 0 0 1-.531.219Zm2.75 0c-.211 0-.39-.07-.535-.215a.716.716 0 0 1-.219-.531c0-.211.07-.39.215-.535a.716.716 0 0 1 .531-.219c.211 0 .39.07.535.215.145.14.219.32.219.531 0 .211-.07.39-.215.535a.716.716 0 0 1-.531.219Zm2.75 0c-.211 0-.39-.07-.535-.215a.716.716 0 0 1-.219-.531c0-.211.07-.39.215-.535a.716.716 0 0 1 .531-.219c.211 0 .39.07.535.215.145.14.219.32.219.531 0 .211-.07.39-.215.535a.716.716 0 0 1-.531.219ZM4.5 15.5v-3Zm0 0"></path></g>
@@ -82,7 +82,7 @@ NOTE: Chrome OS icons go in ./chromeos/o
<g id="rule-folder" viewBox="0 -960 960 960"><path d="m313-305 198-198-57-57-141 142-57-57-56 57 113 113Zm263 0 64-64 64 64 56-56-64-64 64-64-56-56-64 64-64-64-56 56 64 64-64 64 56 56ZM160-160q-33 0-56.5-23.5T80-240v-480q0-33 23.5-56.5T160-800h240l80 80h320q33 0 56.5 23.5T880-640v400q0 33-23.5 56.5T800-160H160Zm0-80h640v-400H447l-80-80H160v480Zm0 0v-480 480Z"></path></g>
<g id="saved-info"><path d="M7 13C7.93333 13 8.81706 13.1163 9.65039 13.3496C10.5002 13.5662 11.3 13.8998 12.0498 14.3496C12.3497 14.5329 12.5833 14.7831 12.75 15.0996C12.9166 15.4162 12.9999 15.7498 13 16.0996V18H1V16.0996C1.00006 15.7498 1.0834 15.4162 1.25 15.0996C1.41666 14.7831 1.65029 14.5329 1.9502 14.3496C2.7001 13.8997 3.49198 13.5662 4.3252 13.3496C5.17511 13.1163 6.06677 13 7 13ZM7 15C6.31667 15 5.65 15.0833 5 15.25C4.35011 15.4166 3.73364 15.6668 3.15039 16H10.8496C10.2664 15.6668 9.64989 15.4166 9 15.25C8.35 15.0833 7.68333 15 7 15ZM23 18H16V16H23V18ZM23 13H14V11H23V13ZM7 6C7.83333 6 8.54167 6.29167 9.125 6.875C9.70833 7.45833 10 8.16667 10 9C10 9.83333 9.70833 10.5417 9.125 11.125C8.54167 11.7083 7.83333 12 7 12C6.16667 12 5.45833 11.7083 4.875 11.125C4.29167 10.5417 4 9.83333 4 9C4 8.16667 4.29167 7.45833 4.875 6.875C5.45833 6.29167 6.16667 6 7 6ZM7 8C6.71681 8 6.47533 8.1 6.27539 8.2998C6.09206 8.48314 6 8.71667 6 9C6 9.28332 6.09207 9.52461 6.27539 9.72461C6.47539 9.90793 6.71668 10 7 10C7.28333 10 7.51686 9.90794 7.7002 9.72461C7.9 9.52467 8 9.28319 8 9C8 8.71667 7.90019 8.48314 7.7002 8.2998C7.51686 8.09981 7.28333 8 7 8ZM23 8H12V6H23V8Z"></path></g>
<g id="search-spark"><path d="M15.9375 17L10.9583 12.0208C10.5417 12.3264 10.0833 12.5694 9.58333 12.75C9.08333 12.9167 8.55556 13 8 13C6.61111 13 5.43056 12.5139 4.45833 11.5417C3.48611 10.5694 3 9.38889 3 8C3 6.61111 3.48611 5.43055 4.45833 4.45833C5.43056 3.48611 6.61111 3 8 3C8.36111 3 8.70139 3.03472 9.02083 3.10417C9.35417 3.17361 9.67361 3.27778 9.97917 3.41667L8.79167 4.58333C8.66667 4.55555 8.53472 4.53472 8.39583 4.52083C8.27083 4.50694 8.13889 4.5 8 4.5C7.02778 4.5 6.20139 4.84028 5.52083 5.52083C4.84028 6.20139 4.5 7.02778 4.5 8C4.5 8.97222 4.84028 9.79861 5.52083 10.4792C6.20139 11.1597 7.02778 11.5 8 11.5C8.80556 11.5 9.51389 11.2708 10.125 10.8125C10.7361 10.3403 11.1458 9.73611 11.3542 9H12.8958C12.8264 9.36111 12.7153 9.70833 12.5625 10.0417C12.4097 10.3611 12.2292 10.6667 12.0208 10.9583L17 15.9375L15.9375 17ZM14.5 10C14.5 8.75 14.0625 7.6875 13.1875 6.8125C12.3125 5.9375 11.25 5.5 10 5.5C11.25 5.5 12.3125 5.0625 13.1875 4.1875C14.0625 3.3125 14.5 2.25 14.5 0.999999C14.5 2.25 14.9375 3.3125 15.8125 4.1875C16.6875 5.0625 17.75 5.5 19 5.5C17.75 5.5 16.6875 5.9375 15.8125 6.8125C14.9375 7.6875 14.5 8.75 14.5 10Z"></path></g>
- <g id="security"><path fill-rule="evenodd" clip-rule="evenodd" d="M3.183 4.7L10 1.667 16.816 4.7v4.542c0 4.208-2.908 8.133-6.816 9.091-3.909-.958-6.817-4.883-6.817-9.091V4.7zM15.3 9.992H10V3.325L4.7 5.683V10l5.3-.008v6.775c2.816-.875 4.9-3.65 5.3-6.775z"></path></g>
+ <g id="security"><path d="M420-360h120l-23-129q20-10 31.5-29t11.5-42q0-33-23.5-56.5T480-640q-33 0-56.5 23.5T400-560q0 23 11.5 42t31.5 29l-23 129Zm60 280q-139-35-229.5-159.5T160-516v-244l320-120 320 120v244q0 152-90.5 276.5T480-80Zm0-84q104-33 172-132t68-220v-189l-240-90-240 90v189q0 121 68 220t172 132Zm0-316Z"/></g>
<g id="select-window"><path d="M17.5 0.833344H6.66671C5.75004 0.833344 5.00004 1.58334 5.00004 2.50001V7.50001H2.50004C1.58337 7.50001 0.833374 8.25001 0.833374 9.16668V17.5C0.833374 18.4167 1.58337 19.1667 2.50004 19.1667H13.3334C14.25 19.1667 15 18.4167 15 17.5V12.5H17.5C18.4167 12.5 19.1667 11.75 19.1667 10.8333V2.50001C19.1667 1.58334 18.4167 0.833344 17.5 0.833344ZM13.3334 17.5H2.50004V10.8333H13.3334V17.5ZM17.5 10.8333H15V9.16668C15 8.25001 14.25 7.50001 13.3334 7.50001H6.66671V4.16668H17.5V10.8333Z"></path></g>
<g id="shield" viewBox="0 -960 960 960"><path d="M480-80q-139-35-229.5-159.5T160-516v-244l320-120 320 120v244q0 152-90.5 276.5T480-80Zm0-84q104-33 172-132t68-220v-189l-240-90-240 90v189q0 121 68 220t172 132Zm0-316Z"></path></g>
<g id="spam"><path d="M15.0714 6.66667V3.5H16.5V7.38889H15.0714V6.66667ZM15.0714 9.83333H16.5V8.38889H15.0714V9.83333ZM9.71429 10.9444C11.6214 10.9444 15.4286 11.9122 15.4286 13.8333V16H4V13.8333C4 11.9122 7.80714 10.9444 9.71429 10.9444ZM9.71429 4.44444C10.472 4.44444 11.1988 4.74881 11.7346 5.29058C12.2704 5.83235 12.5714 6.56715 12.5714 7.33333C12.5714 8.09951 12.2704 8.83431 11.7346 9.37609C11.1988 9.91786 10.472 10.2222 9.71429 10.2222C8.95652 10.2222 8.2298 9.91786 7.69398 9.37609C7.15816 8.83431 6.85714 8.09951 6.85714 7.33333C6.85714 6.56715 7.15816 5.83235 7.69398 5.29058C8.2298 4.74881 8.95652 4.44444 9.71429 4.44444ZM9.71429 12.3167C7.59286 12.3167 5.35714 13.3711 5.35714 13.8333V14.6278H14.0714V13.8333C14.0714 13.3711 11.8357 12.3167 9.71429 12.3167ZM9.71429 5.81667C9.31646 5.81667 8.93493 5.97646 8.65363 6.26089C8.37232 6.54532 8.21429 6.93109 8.21429 7.33333C8.21429 7.73558 8.37232 8.12135 8.65363 8.40578C8.93493 8.69021 9.31646 8.85 9.71429 8.85C10.1121 8.85 10.4936 8.69021 10.7749 8.40578C11.0563 8.12135 11.2143 7.73558 11.2143 7.33333C11.2143 6.93109 11.0563 6.54532 10.7749 6.26089C10.4936 5.97646 10.1121 5.81667 9.71429 5.81667Z"></path></g>
<g id="sync-saved-locally"><path d="M 9.105469 11.707031 L 13.832031 7 L 12.644531 5.8125 L 9.105469 9.355469 L 7.332031 7.582031 L 6.167969 8.75 Z M 0.832031 17.5 L 0.832031 15.832031 L 19.167969 15.832031 L 19.167969 17.5 Z M 3.332031 15 C 2.875 15 2.484375 14.835938 2.15625 14.511719 C 1.828125 14.183594 1.667969 13.792969 1.667969 13.332031 L 1.667969 4.167969 C 1.667969 3.707031 1.828125 3.316406 2.15625 2.988281 C 2.484375 2.664062 2.875 2.5 3.332031 2.5 L 16.667969 2.5 C 17.125 2.5 17.515625 2.664062 17.84375 2.988281 C 18.171875 3.316406 18.332031 3.707031 18.332031 4.167969 L 18.332031 13.332031 C 18.332031 13.792969 18.171875 14.183594 17.84375 14.511719 C 17.515625 14.835938 17.125 15 16.667969 15 Z M 3.332031 13.332031 L 16.667969 13.332031 L 16.667969 4.167969 L 3.332031 4.167969 Z M 3.332031 13.332031 L 3.332031 4.167969 Z M 3.332031 13.332031 "></path></g>
@@ -190,7 +190,7 @@ NOTE: Chrome OS icons go in ./chromeos/o
@@ -200,7 +200,7 @@ NOTE: Chrome OS icons go in ./chromeos/o
<!-- Navigation: Security GM3 icon -->
<g id="security" viewBox="0 -960 960 960">
@@ -10,7 +10,7 @@
"appearance_page/appearance_page.ts",
--- a/chrome/browser/ui/webui/settings/settings_localized_strings_provider.cc
+++ b/chrome/browser/ui/webui/settings/settings_localized_strings_provider.cc
@@ -502,6 +502,8 @@ void AddAppearanceStrings(content::WebUI
@@ -508,6 +508,8 @@ void AddAppearanceStrings(content::WebUI
Profile* profile) {
static constexpr webui::LocalizedString kLocalizedStrings[] = {
{"appearancePageTitle", IDS_SETTINGS_APPEARANCE},
@@ -21,7 +21,7 @@
{"homeButtonDisabled", IDS_SETTINGS_HOME_BUTTON_DISABLED},
--- a/chrome/app/settings_strings.grdp
+++ b/chrome/app/settings_strings.grdp
@@ -198,6 +198,12 @@
@@ -195,6 +195,12 @@
<message name="IDS_SETTINGS_APPEARANCE" desc="Name of the settings page which displays appearance preferences.">
Appearance
</message>
@@ -228,7 +228,7 @@
<a role="menuitem" href="/search" class="cr-nav-menu-item">
--- a/chrome/browser/resources/settings/icons.html
+++ b/chrome/browser/resources/settings/icons.html
@@ -103,6 +103,11 @@ NOTE: Chrome OS icons go in ./chromeos/o
@@ -113,6 +113,11 @@ NOTE: Chrome OS icons go in ./chromeos/o
<cr-iconset name="settings" size="24">
<svg>
<defs>
@@ -24,7 +24,7 @@
Signed in to <ph name="EMAIL">$1<ex>abcd@google.com</ex></ph>
--- a/chrome/browser/ui/webui/settings/settings_localized_strings_provider.cc
+++ b/chrome/browser/ui/webui/settings/settings_localized_strings_provider.cc
@@ -1670,8 +1670,8 @@ void AddPersonalizationOptionsStrings(co
@@ -1822,8 +1822,8 @@ void AddPersonalizationOptionsStrings(co
{"enablePersonalizationLoggingDesc",
IDS_SETTINGS_ENABLE_LOGGING_PREF_DESC},
{"spellingDescription", IDS_SETTINGS_SPELLING_PREF_DESC},
@@ -34,4 +34,4 @@
+ {"searchSuggestPrefDesc", IDS_SETTINGS_SUGGEST_PREF_DESC_HELIUM},
{"searchAggregatorSuggestPref", IDS_SETTINGS_SEARCH_AGGREGATOR_PREF},
{"searchAggregatorSuggestPrefDesc",
IDS_SETTINGS_SEARCH_AGGREGATOR_PREF_DESC},
IDS_SETTINGS_SEARCH_AGGREGATOR_PREF_DESC},
@@ -1,6 +1,6 @@
--- a/chrome/browser/search/search.cc
+++ b/chrome/browser/search/search.cc
@@ -175,37 +175,9 @@ struct NewTabURLDetails {
@@ -174,37 +174,9 @@ struct NewTabURLDetails {
#if BUILDFLAG(IS_ANDROID)
const GURL local_url;
#else
+6 -6
View File
@@ -33,7 +33,7 @@
@@ -197,23 +184,7 @@ void BrowserAppMenuButton::UpdateTextAnd
} else if (type_and_severity_.type ==
AppMenuIconController::IconType::UPGRADE_NOTIFICATION) {
AppMenuIconController::IconType::kUpgradeNotification) {
tooltip_message_id = IDS_APPMENU_TOOLTIP_UPDATE_AVAILABLE;
-#if BUILDFLAG(GOOGLE_CHROME_BRANDING) && \
- (BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX))
@@ -52,10 +52,10 @@
-#else
text = l10n_util::GetStringUTF16(IDS_APP_MENU_BUTTON_UPDATE);
-#endif
} else if (type_and_severity_.type ==
AppMenuIconController::IconType::DEFAULT_BROWSER_PROMPT) {
#if !BUILDFLAG(IS_ANDROID) && !BUILDFLAG(IS_CHROMEOS)
@@ -236,37 +207,19 @@ void BrowserAppMenuButton::UpdateTextAnd
} else {
tooltip_message_id = IDS_APPMENU_TOOLTIP_ALERT;
const int text_id =
@@ -228,37 +199,19 @@ void BrowserAppMenuButton::UpdateTextAnd
}
bool BrowserAppMenuButton::ShouldPaintBorder() const {
@@ -85,7 +85,7 @@
std::optional<SkColor> BrowserAppMenuButton::GetHighlightColor() const {
- const auto* const color_provider = GetColorProvider();
- if (type_and_severity_.severity == AppMenuIconController::Severity::NONE) {
- if (type_and_severity_.severity == AppMenuIconController::Severity::kNone) {
- return std::nullopt;
- } else {
- return color_provider->GetColor(type_and_severity_.use_primary_colors
+37 -21
View File
@@ -1,6 +1,6 @@
--- a/chrome/browser/ui/toolbar/app_menu_model.cc
+++ b/chrome/browser/ui/toolbar/app_menu_model.cc
@@ -736,9 +736,6 @@ SaveAndShareSubMenuModel::SaveAndShareSu
@@ -739,9 +739,6 @@ SaveAndShareSubMenuModel::SaveAndShareSu
if (!sharing_hub::SharingIsDisabledByPolicy(browser->profile())) {
AddItemWithStringIdAndVectorIcon(
this, IDC_COPY_URL, IDS_APP_MENU_COPY_LINK, kLinkChromeRefreshIcon);
@@ -10,7 +10,7 @@
AddItemWithStringIdAndVectorIcon(this, IDC_QRCODE_GENERATOR,
IDS_APP_MENU_CREATE_QR_CODE,
kQrCodeChromeRefreshIcon);
@@ -882,23 +879,8 @@ void ToolsMenuModel::Build(Browser* brow
@@ -885,14 +882,6 @@ void ToolsMenuModel::Build(Browser* brow
AddItemWithStringIdAndVectorIcon(this, IDC_NAME_WINDOW, IDS_NAME_WINDOW,
kNameWindowIcon);
@@ -22,6 +22,11 @@
- kEditChromeRefreshIcon);
- }
-
if (base::FeatureList::IsEnabled(contextual_tasks::kContextualTasks)) {
AddItemWithStringIdAndVectorIcon(
this, IDC_SHOW_CONTEXTUAL_TASKS_SIDE_PANEL,
@@ -901,15 +890,6 @@ void ToolsMenuModel::Build(Browser* brow
AddSeparator(ui::NORMAL_SEPARATOR);
- AddItemWithStringIdAndVectorIcon(this, IDC_SHOW_READING_MODE_SIDE_PANEL,
@@ -31,16 +36,18 @@
- GetIndexOfCommandId(IDC_SHOW_READING_MODE_SIDE_PANEL).value(),
- kReadingModeMenuItem);
-
AddSeparator(ui::NORMAL_SEPARATOR);
- AddSeparator(ui::NORMAL_SEPARATOR);
-
AddItemWithStringIdAndVectorIcon(this, IDC_PERFORMANCE, IDS_SHOW_PERFORMANCE,
@@ -1751,22 +1733,8 @@ void AppMenuModel::Build() {
kPerformanceIcon);
SetElementIdentifierAt(GetIndexOfCommandId(IDC_PERFORMANCE).value(),
@@ -1760,22 +1740,8 @@ void AppMenuModel::Build() {
// Build (and, by extension, Init) should only be called once.
DCHECK_EQ(0u, GetItemCount());
- if (app_menu_icon_controller_ &&
- app_menu_icon_controller_->GetTypeAndSeverity().type ==
- AppMenuIconController::IconType::UPGRADE_NOTIFICATION) {
- AppMenuIconController::IconType::kUpgradeNotification) {
- AddSeparator(ui::SPACING_SEPARATOR);
- const auto update_icon = ui::ImageModel::FromVectorIcon(
- kBrowserToolsUpdateChromeRefreshIcon,
@@ -59,7 +66,7 @@
AddSeparator(ui::NORMAL_SEPARATOR);
}
@@ -1803,32 +1771,6 @@ void AppMenuModel::Build() {
@@ -1812,43 +1778,6 @@ void AppMenuModel::Build() {
AddSeparator(ui::NORMAL_SEPARATOR);
@@ -81,9 +88,20 @@
- if (!browser_->profile()->IsGuestSession()) {
- sub_menus_.push_back(
- std::make_unique<PasswordsAndAutofillSubMenuModel>(this));
- AddSubMenuWithStringIdAndVectorIcon(
- this, IDC_PASSWORDS_AND_AUTOFILL_MENU, IDS_PASSWORDS_AND_AUTOFILL_MENU,
- sub_menus_.back().get(), vector_icons::kPasswordManagerIcon);
- bool use_your_saved_info_branding =
- base::FeatureList::IsEnabled(
- autofill::features::kYourSavedInfoSettingsPage) ||
- base::FeatureList::IsEnabled(
- autofill::features::kYourSavedInfoBrandingInSettings);
- int string_id = use_your_saved_info_branding
- ? IDS_SETTINGS_YOUR_SAVED_INFO
- : IDS_PASSWORDS_AND_AUTOFILL_MENU;
- const gfx::VectorIcon& vector_icon =
- use_your_saved_info_branding ? vector_icons::kPersonTextIcon
- : vector_icons::kPasswordManagerIcon;
- AddSubMenuWithStringIdAndVectorIcon(this, IDC_PASSWORDS_AND_AUTOFILL_MENU,
- string_id, sub_menus_.back().get(),
- vector_icon);
- SetElementIdentifierAt(
- GetIndexOfCommandId(IDC_PASSWORDS_AND_AUTOFILL_MENU).value(),
- kPasswordAndAutofillMenuItem);
@@ -92,7 +110,7 @@
if (!browser_->profile()->IsOffTheRecord()) {
auto recent_tabs_sub_menu =
std::make_unique<RecentTabsSubMenuModel>(provider_, browser_);
@@ -1850,7 +1792,7 @@ void AppMenuModel::Build() {
@@ -1870,7 +1799,7 @@ void AppMenuModel::Build() {
std::make_unique<BookmarkSubMenuModel>(this, browser_);
AddSubMenuWithStringIdAndVectorIcon(
@@ -101,7 +119,7 @@
bookmark_sub_menu_model_.get(), kBookmarksListsMenuIcon);
SetElementIdentifierAt(GetIndexOfCommandId(IDC_BOOKMARKS_MENU).value(),
kBookmarksMenuItem);
@@ -1867,23 +1809,10 @@ void AppMenuModel::Build() {
@@ -1887,23 +1816,10 @@ void AppMenuModel::Build() {
kTabGroupsMenuItem);
}
@@ -129,7 +147,7 @@
AddItemWithStringIdAndVectorIcon(this, IDC_CLEAR_BROWSING_DATA,
IDS_CLEAR_BROWSING_DATA,
@@ -1930,9 +1859,6 @@ void AppMenuModel::Build() {
@@ -1950,9 +1866,6 @@ void AppMenuModel::Build() {
lens::features::kLensOverlay));
}
@@ -139,7 +157,7 @@
CreateFindAndEditSubMenu();
sub_menus_.push_back(
@@ -1981,6 +1907,12 @@ void AppMenuModel::Build() {
@@ -2001,6 +1914,12 @@ void AppMenuModel::Build() {
#endif
#endif
@@ -152,7 +170,7 @@
AddItemWithStringIdAndVectorIcon(this, IDC_OPTIONS, IDS_SETTINGS,
kSettingsMenuIcon);
@@ -2079,35 +2011,22 @@ bool AppMenuModel::AddDefaultBrowserMenu
@@ -2096,34 +2015,21 @@ bool AppMenuModel::AddDefaultBrowserMenu
return false;
}
@@ -163,23 +181,21 @@
- if (!safety_hub_menu_notification_service) {
- return false;
- }
- safety_hub_menu_notification_service->MaybeTriggerControlSurvey();
+bool AppMenuModel::AddUpgradeMenuItem() {
+ if (app_menu_icon_controller_ &&
+ app_menu_icon_controller_->GetTypeAndSeverity().type ==
+ AppMenuIconController::IconType::UPGRADE_NOTIFICATION &&
+ AppMenuIconController::IconType::kUpgradeNotification &&
+ browser_defaults::kShowUpgradeMenuItem) {
+ const auto update_icon = ui::ImageModel::FromVectorIcon(
+ kBrowserToolsUpdateChromeRefreshIcon,
+ ui::kColorMenuIcon, kDefaultIconSize);
+ AddItemWithIcon(IDC_UPGRADE_DIALOG, GetUpgradeDialogTitleText(),
+ update_icon);
- std::optional<MenuNotificationEntry> notification =
- safety_hub_menu_notification_service->GetNotificationToShow();
- if (!notification.has_value()) {
- return false;
+ AddItemWithIcon(IDC_UPGRADE_DIALOG, GetUpgradeDialogTitleText(),
+ update_icon);
+
+ return true;
}
- base::UmaHistogramEnumeration("Settings.SafetyHub.Impression",
@@ -204,7 +220,7 @@
#if BUILDFLAG(IS_CHROMEOS)
--- a/chrome/browser/ui/toolbar/app_menu_model.h
+++ b/chrome/browser/ui/toolbar/app_menu_model.h
@@ -280,6 +280,9 @@ class AppMenuModel : public ui::SimpleMe
@@ -281,6 +281,9 @@ class AppMenuModel : public ui::SimpleMe
// boolean indicating whether any menu items were added.
bool AddDefaultBrowserMenuItems();
+4 -4
View File
@@ -1,6 +1,6 @@
--- a/chrome/browser/ui/views/toolbar/app_menu.cc
+++ b/chrome/browser/ui/views/toolbar/app_menu.cc
@@ -250,7 +250,7 @@ class InMenuButtonBackground : public vi
@@ -252,7 +252,7 @@ class InMenuButtonBackground : public vi
constexpr int kCircularButtonSize = 28;
bounds_rect.ClampToCenteredSize(
gfx::Size(kCircularButtonSize, kCircularButtonSize));
@@ -9,7 +9,7 @@
}
const auto* const color_provider = view->GetColorProvider();
cc::PaintFlags flags;
@@ -1460,21 +1460,8 @@ void AppMenu::PopulateMenu(MenuItemView*
@@ -1476,21 +1476,8 @@ void AppMenu::PopulateMenu(MenuItemView*
PopulateMenu(item, model->GetSubmenuModelAt(i));
}
@@ -31,7 +31,7 @@
ProfileAttributesEntry* profile_attributes =
GetProfileAttributesFromProfile(browser_->profile());
if (profile_attributes &&
@@ -1488,7 +1475,6 @@ void AppMenu::PopulateMenu(MenuItemView*
@@ -1504,7 +1491,6 @@ void AppMenu::PopulateMenu(MenuItemView*
break;
}
case IDC_UPGRADE_DIALOG: {
@@ -39,7 +39,7 @@
if (const auto upgrade_substring_text = GetUpgradeDialogSubstringText();
!upgrade_substring_text.empty()) {
item->AddChildView(
@@ -1508,18 +1494,6 @@ void AppMenu::PopulateMenu(MenuItemView*
@@ -1524,18 +1510,6 @@ void AppMenu::PopulateMenu(MenuItemView*
break;
}
case IDC_WEB_APP_UPGRADE_DIALOG: {
+12 -13
View File
@@ -32,26 +32,25 @@
"//printing/buildflags",
--- a/components/omnibox/browser/autocomplete_controller.h
+++ b/components/omnibox/browser/autocomplete_controller.h
@@ -36,6 +36,7 @@
#include "components/omnibox/browser/open_tab_provider.h"
#include "components/omnibox/browser/tab_group_provider.h"
@@ -33,6 +33,7 @@
#include "components/omnibox/browser/autocomplete_result.h"
#include "components/omnibox/browser/autocomplete_scoring_signals_annotator.h"
#include "components/optimization_guide/machine_learning_tflite_buildflags.h"
+#include "components/search_engines/template_url_bang_manager.h"
#include "third_party/omnibox_proto/types.pb.h"
class ClipboardProvider;
@@ -556,6 +557,8 @@ class AutocompleteController : public Au
class BookmarkProvider;
@@ -515,6 +516,7 @@ class AutocompleteController : public Au
// A list of all providers.
Providers providers_;
+ raw_ptr<Bangs::BangManager> bang_manager_ = Bangs::BangManager::GetInstance();
+
raw_ptr<BookmarkProvider> bookmark_provider_;
raw_ptr<HistoryQuickProvider> history_quick_provider_;
raw_ptr<BookmarkProvider> bookmark_provider_ = nullptr;
raw_ptr<HistoryQuickProvider> history_quick_provider_ = nullptr;
raw_ptr<DocumentProvider> document_provider_ = nullptr;
--- a/components/omnibox/browser/autocomplete_controller.cc
+++ b/components/omnibox/browser/autocomplete_controller.cc
@@ -93,6 +93,7 @@
@@ -94,6 +94,7 @@
#include "components/optimization_guide/machine_learning_tflite_buildflags.h"
#include "components/search_engines/search_engine_type.h"
#include "components/search_engines/template_url.h"
@@ -59,7 +58,7 @@
#include "components/search_engines/template_url_service.h"
#include "components/search_engines/template_url_starter_pack_data.h"
#include "components/strings/grit/components_strings.h"
@@ -1945,7 +1946,21 @@ void AutocompleteController::UpdateKeywo
@@ -1944,7 +1945,21 @@ void AutocompleteController::UpdateKeywo
// - For contextual search matches, the description indicates the
// alternative UX because they're opened in the side panel.
i->description = template_url->AdjustedShortNameForLocaleDirection();
@@ -186,7 +185,7 @@
#include "components/strings/grit/components_strings.h"
#include "components/vector_icons/vector_icons.h"
#include "third_party/metrics_proto/omnibox_event.pb.h"
@@ -520,6 +522,26 @@ void OmniboxSuggestionButtonRowView::Upd
@@ -516,6 +518,26 @@ void OmniboxSuggestionButtonRowView::Upd
const auto names = SelectedKeywordView::GetKeywordLabelNames(
match().associated_keyword,
popup_view_->controller()->client()->GetTemplateURLService());
@@ -9,7 +9,7 @@
gfx::ImageSkia* GetImageSkiaNamed(int id) {
return ui::ResourceBundle::GetSharedInstance().GetImageSkiaNamed(id);
@@ -351,8 +351,8 @@ class BookmarkBarView::ButtonSeparatorVi
@@ -353,8 +353,8 @@ class BookmarkBarView::ButtonSeparatorVi
public:
ButtonSeparatorView() {
@@ -20,7 +20,7 @@
separator_thickness_ = kBookmarkBarSeparatorThickness;
const gfx::Insets border_insets =
gfx::Insets::TLBR(0, leading_padding, 0, trailing_padding);
@@ -698,7 +698,7 @@ void BookmarkBarView::Layout(PassKey) {
@@ -700,7 +700,7 @@ void BookmarkBarView::Layout(PassKey) {
}
int x = GetLeadingMargin();
@@ -29,7 +29,7 @@
int width = View::width() - x - kBookmarkBarTrailingMargin;
const int button_height = GetLayoutConstant(BOOKMARK_BAR_BUTTON_HEIGHT);
@@ -819,7 +819,7 @@ void BookmarkBarView::Layout(PassKey) {
@@ -821,7 +821,7 @@ void BookmarkBarView::Layout(PassKey) {
// the bookmark buttons.
if (saved_tab_group_bar_width > 0) {
// Possibly update the paddings of the separator
+16 -10
View File
@@ -10,7 +10,7 @@
padding-top: var(--ntp-one-google-bar-height);
--- a/chrome/browser/resources/new_tab_page/app.html
+++ b/chrome/browser/resources/new_tab_page/app.html
@@ -1,140 +1,11 @@
@@ -1,91 +1,4 @@
-<!-- #html_wrapper_imports_start
-import {nothing} from '//resources/lit/v3_0/lit.rollup.js';
-#html_wrapper_imports_end -->
@@ -64,21 +64,20 @@
- ?can-show-secondary-side="${this.realboxCanShowSecondarySide}"
- ?compose-button-enabled="${this.composeButtonEnabled}"
- ?composebox-enabled="${this.composeboxEnabled}"
- realbox-layout-mode="${this.realboxLayoutMode_}"
- searchbox-layout-mode="${this.realboxLayoutMode_}"
- ?ntp-realbox-next-enabled="${this.ntpRealboxNextEnabled_}"
- ?cycling-placeholders="${this.searchboxCyclingPlaceholders_}"
- @dropdown-visible-changed="${this.onDropdownVisibleChanged_}"
- @searchbox-input-focus-changed="${this.onInputFocusChanged_}">
- @searchbox-input-focus-changed="${this.onInputFocusChanged_}"
- ?ntp-next-features-enabled="${this.ntpNextFeaturesEnabled_}">
- </cr-searchbox>
- ${this.showComposebox_ ? html`
- <ntp-composebox id="composebox" ?is_collapsible="false"
- <cr-composebox id="composebox"
- ?ntp-realbox-next-enabled="${this.ntpRealboxNextEnabled_}"
- @composebox-initialized="${this.onComposeboxInitialized_}"
- @close-composebox="${this.closeComposebox_}"
- @composebox-dropdown-visible-changed="${this.onDropdownVisibleChanged_}"
- @composebox-input-focus-changed="${this.onInputFocusChanged_}"
- realbox-layout-mode="${this.realboxLayoutMode_}">
- </ntp-composebox>
- searchbox-layout-mode="${this.realboxLayoutMode_}">
- </cr-composebox>
- ` : ''}
- ${this.showLensUploadDialog_ ? html`
- <ntp-lens-upload-dialog id="lensUploadDialog"
@@ -86,6 +85,12 @@
- </ntp-lens-upload-dialog>
- ` : ''}
- </div>
- ${this.lazyRender_
- && this.ntpNextFeaturesEnabled_ && this.isActionChipsVisible_ ? html`
- <ntp-action-chips
- @action-chip-click="${this.openComposebox_}">
- </ntp-action-chips>
- ` : ''}
- ${this.lazyRender_ ? html`
- <cr-toast id="webstoreToast" duration="10000" hidden>
- <div>$i18n{webstoreThemesToastMessage}</div>
@@ -97,7 +102,8 @@
${this.lazyRender_ ? html`
${this.shortcutsEnabled_ ? html`
<cr-most-visited id="mostVisited" .theme="${this.theme_?.mostVisited || null}"
single-row reflow-on-overflow>
@@ -93,54 +6,7 @@ import {nothing} from '//resources/lit/v
?expandable-tiles-enabled="${this.ntpNextFeaturesEnabled_}">
</cr-most-visited>
` : ''}
- ${this.middleSlotPromoEnabled_ ? html`
@@ -151,7 +157,7 @@
<ntp-customize-buttons id="customizeButtons"
?modules-shown-to-user="${this.modulesShownToUser}"
?show-background-image="${this.showBackgroundImage_}"
@@ -156,23 +27,3 @@ import {nothing} from '//resources/lit/v
@@ -162,23 +28,3 @@ import {nothing} from '//resources/lit/v
` : ''}
<div id="contentBottomSpacer"></div>
</div>
@@ -27,7 +27,7 @@
#endif /* CHROME_BROWSER_HELIUM_FLAG_ENTRIES_H_ */
--- a/chrome/browser/ui/ui_features.cc
+++ b/chrome/browser/ui/ui_features.cc
@@ -17,6 +17,22 @@
@@ -18,6 +18,22 @@
namespace features {
@@ -66,22 +66,24 @@
BASE_DECLARE_FEATURE(kAllowWindowDragUsingSystemDragDrop);
--- a/chrome/browser/ui/views/frame/browser_view.cc
+++ b/chrome/browser/ui/views/frame/browser_view.cc
@@ -873,8 +873,12 @@ BrowserView::BrowserView(Browser* browse
top_container_ = AddChildView(std::make_unique<TopContainerView>(this));
@@ -969,9 +969,13 @@ BrowserView::BrowserView(Browser* browse
top_container_ =
main_container_->AddChildView(std::make_unique<TopContainerView>(this));
- tab_strip_region_view_ =
- top_container_->AddChildView(std::make_unique<TabStripRegionView>(this));
- AddChildView(std::make_unique<TabStripRegionView>(this));
- tab_strip_region_insertion_index_ = GetIndexOf(tab_strip_region_view_.get());
+ // When the CAT feature is enabled, tab strip is in the toolbar.
+ // We shouldn't create a duplicate tab strip.
+ if (!features::IsHeliumCatEnabled() || !GetIsNormalType()) {
+ tab_strip_region_view_ =
+ top_container_->AddChildView(std::make_unique<TabStripRegionView>(this));
+ AddChildView(std::make_unique<TabStripRegionView>(this));
+ tab_strip_region_insertion_index_ = GetIndexOf(tab_strip_region_view_.get());
+ }
if (tabs::IsVerticalTabsFeatureEnabled()) {
auto vertical_tab_strip_container =
@@ -1236,7 +1240,8 @@ bool BrowserView::ShouldDrawTabStrip() c
@@ -1351,7 +1355,8 @@ bool BrowserView::ShouldDrawTabStrip() c
// since callers may otherwise try to access it. Note that we can't just check
// this alone, as the tabstrip is created unconditionally even for windows
// that won't display it.
@@ -91,7 +93,21 @@
}
bool BrowserView::GetIncognito() const {
@@ -5178,6 +5183,12 @@ void BrowserView::AddedToWidget() {
@@ -4139,9 +4144,10 @@ void BrowserView::ReparentTopContainerFo
// The TabStrip must be placed in the same position before the reparenting to
// maintain the correct Z-order to ensure it can receive mouse events. See
// crbug.com/454852658.
- DCHECK(tab_strip_region_insertion_index_);
- AddChildViewAt(tab_strip_region_view_.get(),
- tab_strip_region_insertion_index_.value());
+ if (tab_strip_region_insertion_index_) {
+ AddChildViewAt(tab_strip_region_view_.get(),
+ tab_strip_region_insertion_index_.value());
+ }
// Reparent PWA views that were moved for immersive mode.
if (web_app_frame_toolbar_) {
@@ -5196,6 +5202,12 @@ void BrowserView::AddedToWidget() {
toolbar_->Init();
@@ -101,14 +117,14 @@
+ static_cast<TabStripRegionView*>(toolbar_->GetTabStripRegionView());
+ }
+
if (!base::CommandLine::ForCurrentProcess()->HasSwitch("remove-tabsearch-button"))
if (GetIsNormalType()) {
if (features::HasTabSearchToolbarButton()) {
--- a/chrome/browser/ui/views/frame/browser_view_layout.cc
+++ b/chrome/browser/ui/views/frame/browser_view_layout.cc
@@ -535,11 +535,19 @@ void BrowserViewLayout::LayoutVerticalTa
UpdateTabSearchBubbleHost();
void BrowserViewLayout::LayoutTabStripRegion(gfx::Rect& available_bounds) {
// TODO(pbos): Investigate whether the side panels should be creatable when
--- a/chrome/browser/ui/views/frame/layout/browser_view_layout_impl_old.cc
+++ b/chrome/browser/ui/views/frame/layout/browser_view_layout_impl_old.cc
@@ -406,6 +406,12 @@ void BrowserViewLayoutImplOld::LayoutVer
void BrowserViewLayoutImplOld::LayoutTabStripRegion(
gfx::Rect& available_bounds) {
TRACE_EVENT0("ui", "BrowserViewLayout::LayoutTabStripRegion");
+
+ // If the CAT feature is enabled, then the tab strip is in the toolbar.
@@ -116,32 +132,25 @@
+ if (features::IsHeliumCatEnabled()) {
+ return;
+ }
+
if (!delegate_->ShouldDrawTabStrip()) {
SetViewVisibility(tab_strip_region_view_, false);
tab_strip_region_view_->SetBounds(0, 0, 0, 0);
return;
}
+
// This retrieves the bounds for the tab strip based on whether or not we show
// anything to the left of it, like the incognito avatar.
gfx::Rect tab_strip_region_bounds(
@@ -587,6 +595,15 @@ void BrowserViewLayout::LayoutToolbar(gf
toolbar_bounds.set_width(toolbar_bounds.width() -
BrowserView::kVerticalTabStripWidth);
toolbar_->SetBoundsRect(toolbar_bounds);
+ } else if (features::IsHeliumCatEnabled() && delegate_->ShouldDrawTabStrip()) {
if (!delegate().ShouldDrawTabStrip()) {
SetViewVisibility(views().tab_strip_region_view, false);
views().tab_strip_region_view->SetBounds(0, 0, 0, 0);
@@ -458,6 +464,15 @@ void BrowserViewLayoutImplOld::LayoutToo
toolbar_bounds.set_x(available_bounds.x());
toolbar_bounds.set_width(toolbar_bounds.width() - kVerticalTabStripWidth);
views().toolbar->SetBoundsRect(toolbar_bounds);
+ } else if (features::IsHeliumCatEnabled() && delegate().ShouldDrawTabStrip()) {
+ // If CAT is enabled and the tab strip should be drawn, then we're most
+ // likely layered under window controls, so we accommodate space for
+ // them like a tab strip would.
+ gfx::Rect tab_strip_region_bounds(
+ delegate_->GetBoundsForToolbarInVerticalTabBrowserView());
+ int height = toolbar_visible ? toolbar_->GetPreferredSize().height() : 0;
+ toolbar_->SetBounds(tab_strip_region_bounds.x(), available_bounds.y(),
+ delegate().GetBoundsForTabStripRegionInBrowserView());
+ int height = toolbar_visible ? views().toolbar->GetPreferredSize().height() : 0;
+ views().toolbar->SetBounds(tab_strip_region_bounds.x(), available_bounds.y(),
+ tab_strip_region_bounds.width(), height);
} else {
int height = toolbar_visible ? toolbar_->GetPreferredSize().height() : 0;
int width = available_bounds.width();
int height =
toolbar_visible ? views().toolbar->GetPreferredSize().height() : 0;
--- a/chrome/browser/ui/views/toolbar/toolbar_view.cc
+++ b/chrome/browser/ui/views/toolbar/toolbar_view.cc
@@ -57,6 +57,7 @@
@@ -152,7 +161,7 @@
#include "chrome/browser/ui/views/frame/top_container_background.h"
#include "chrome/browser/ui/views/global_media_controls/media_toolbar_button_contextual_menu.h"
#include "chrome/browser/ui/views/global_media_controls/media_toolbar_button_view.h"
@@ -144,6 +145,8 @@ DEFINE_UI_CLASS_PROPERTY_KEY(bool, kActi
@@ -148,6 +149,8 @@ DEFINE_UI_CLASS_PROPERTY_KEY(bool, kActi
namespace {
@@ -161,7 +170,7 @@
// Gets the display mode for a given browser.
ToolbarView::DisplayMode GetDisplayMode(Browser* browser) {
#if BUILDFLAG(IS_CHROMEOS)
@@ -534,6 +537,26 @@ void ToolbarView::Init() {
@@ -543,6 +546,26 @@ void ToolbarView::Init() {
reload_->SetVisible(show_reload_button_.GetValue());
@@ -188,7 +197,7 @@
show_avatar_button_.Init(
prefs::kShowAvatarButton, prefs,
base::BindRepeating(&ToolbarView::OnShowAvatarButtonChanged,
@@ -564,12 +587,24 @@ void ToolbarView::Init() {
@@ -573,12 +596,27 @@ void ToolbarView::Init() {
InitLayout();
@@ -204,16 +213,19 @@
}
}
+
+ // Pinned actions (including downloads) should not shrink in CAT layout.
+ // Pinned actions (including downloads) and extensions
+ // should not shrink in CAT layout.
+ if (features::IsHeliumCatEnabled()) {
+ pinned_toolbar_actions_container_->SetProperty(
+ views::kFlexBehaviorKey, flex_preferred);
+ extensions_container_->SetProperty(
+ views::kFlexBehaviorKey, flex_preferred);
+ }
+
if (browser_view_->GetSupportsTabStrip()) {
browser()->GetTabStripModel()->AddObserver(this);
}
@@ -700,6 +735,24 @@ bool ToolbarView::IsRectInWindowCaption(
@@ -703,6 +741,24 @@ bool ToolbarView::IsRectInWindowCaption(
return gfx::ToEnclosingRect(rect_in_target_coords_f);
};
@@ -238,7 +250,7 @@
// Check each child view in container_view_ to see if the rect intersects with
// any clickable elements. If it does, check if the click is actually on that
// element. False if on a clickable element, true if not on a clickable element.
@@ -981,8 +1034,12 @@ void ToolbarView::InitLayout() {
@@ -982,8 +1038,12 @@ void ToolbarView::InitLayout() {
constexpr int kToolbarActionsFlexOrder = kOrderOffset + 2;
constexpr int kExtensionsFlexOrder = kOrderOffset + 3;
@@ -252,7 +264,7 @@
views::MaximumFlexSizeRule::kUnbounded)
.WithOrder(kLocationBarFlexOrder);
@@ -998,6 +1055,12 @@ void ToolbarView::InitLayout() {
@@ -999,6 +1059,12 @@ void ToolbarView::InitLayout() {
location_bar_->SetProperty(views::kMarginsKey,
gfx::Insets::VH(0, location_bar_margin));
@@ -267,7 +279,7 @@
views::FlexSpecification(
--- a/chrome/browser/ui/views/toolbar/toolbar_view.h
+++ b/chrome/browser/ui/views/toolbar/toolbar_view.h
@@ -146,6 +146,9 @@ class ToolbarView : public views::Access
@@ -147,6 +147,9 @@ class ToolbarView : public views::Access
// Shows a bookmark bubble and anchors it appropriately.
void ShowBookmarkBubble(const GURL& url, bool already_bookmarked);
@@ -277,7 +289,7 @@
// Accessors.
Browser* browser() const { return browser_; }
views::Button* GetChromeLabsButton() const;
@@ -322,6 +325,7 @@ class ToolbarView : public views::Access
@@ -324,6 +327,7 @@ class ToolbarView : public views::Access
raw_ptr<BrowserAppMenuButton> app_menu_button_ = nullptr;
raw_ptr<views::View> new_tab_button_ = nullptr;
raw_ptr<PinnedActionToolbarButton> tab_search_button_ = nullptr;
@@ -287,13 +299,13 @@
const raw_ptr<BrowserView> browser_view_;
--- a/chrome/browser/ui/layout_constants.cc
+++ b/chrome/browser/ui/layout_constants.cc
@@ -187,6 +187,11 @@ gfx::Insets GetLayoutInsets(LayoutInset
@@ -189,6 +189,11 @@ gfx::Insets GetLayoutInsets(LayoutInset
case TOOLBAR_INTERIOR_MARGIN: {
const int vert = GetLayoutConstant(TOP_BAR_VERTICAL_PADDING);
const int horiz = vert * 2;
+
+ if (features::IsHeliumCatEnabled()) {
+ return gfx::Insets::VH(vert, horiz + vert);
+ return gfx::Insets::VH(vert, horiz);
+ }
+
return touch_ui ? gfx::Insets() :
@@ -301,7 +313,7 @@
}
--- a/chrome/browser/ui/views/omnibox/omnibox_view_views.cc
+++ b/chrome/browser/ui/views/omnibox/omnibox_view_views.cc
@@ -616,7 +616,7 @@ int OmniboxViewViews::GetUnelidedTextWid
@@ -638,7 +638,7 @@ int OmniboxViewViews::GetUnelidedTextWid
}
gfx::Size OmniboxViewViews::GetMinimumSize() const {
@@ -329,3 +341,20 @@
}
return !location_bar_model->GetSecureDisplayText().empty();
--- a/chrome/browser/ui/views/frame/tab_strip_region_view.cc
+++ b/chrome/browser/ui/views/frame/tab_strip_region_view.cc
@@ -85,6 +85,14 @@ class FrameGrabHandle : public views::Vi
// is full.
// TODO(tbergquist): Define this relative to the NTB insets again.
if (base::CommandLine::ForCurrentProcess()->HasSwitch("remove-grab-handle")) return gfx::Size(0, 0);
+
+ // In CAT layout the horizontal space is very tight and toolbar padding
+ // partially makes up for the drag handle area, so we don't reserve extra
+ // space for an additional grab handle here.
+ if (features::IsHeliumCatEnabled()) {
+ return gfx::Size(0, 0);
+ }
+
return gfx::Size(27, 0);
}
};
+8 -8
View File
@@ -1,6 +1,6 @@
--- a/chrome/browser/ui/views/toolbar/toolbar_view.cc
+++ b/chrome/browser/ui/views/toolbar/toolbar_view.cc
@@ -1162,18 +1162,7 @@ AppMenuButton* ToolbarView::GetAppMenuBu
@@ -1163,18 +1163,7 @@ AppMenuButton* ToolbarView::GetAppMenuBu
}
gfx::Rect ToolbarView::GetFindBarBoundingBox(int contents_bottom) {
@@ -22,7 +22,7 @@
void ToolbarView::FocusToolbar() {
--- a/chrome/browser/ui/views/location_bar/location_bar_view.cc
+++ b/chrome/browser/ui/views/location_bar/location_bar_view.cc
@@ -428,7 +428,6 @@ void LocationBarView::Init() {
@@ -476,7 +476,6 @@ void LocationBarView::Init() {
params.types_enabled.push_back(PageActionIconType::kIntentPicker);
}
params.types_enabled.push_back(PageActionIconType::kPwaInstall);
@@ -77,9 +77,9 @@
// When we get Find results back, we specify a selection rect, which we
--- a/chrome/browser/ui/views/find_bar_view.cc
+++ b/chrome/browser/ui/views/find_bar_view.cc
@@ -65,6 +65,10 @@ void SetCommonButtonAttributes(views::Im
views::ConfigureVectorImageButton(button);
views::InstallCircleHighlightPathGenerator(button);
@@ -74,6 +74,10 @@ content::WebContents* GetWebContentsFrom
}
return host->GetFindBarController()->web_contents();
}
+
+constexpr int kBasePadding = 4;
@@ -88,7 +88,7 @@
} // namespace
DEFINE_CLASS_ELEMENT_IDENTIFIER_VALUE(FindBarView, kElementId);
@@ -164,18 +168,14 @@ FindBarView::FindBarView(FindBarHost* ho
@@ -173,18 +177,14 @@ FindBarView::FindBarView(FindBarHost* ho
ChromeLayoutProvider* layout_provider = ChromeLayoutProvider::Get();
const auto horizontal_margin =
@@ -110,7 +110,7 @@
const auto image_button_margins =
toast_control_vertical_margin + vector_button_horizontal_margin;
@@ -197,8 +197,7 @@ FindBarView::FindBarView(FindBarHost* ho
@@ -206,8 +206,7 @@ FindBarView::FindBarView(FindBarHost* ho
views::Builder<views::BoxLayoutView>()
.SetOrientation(views::BoxLayout::Orientation::kHorizontal)
.SetInsideBorderInsets(
@@ -120,7 +120,7 @@
.AddChildren(
views::Builder<views::Textfield>()
.CopyAddressTo(&find_text_)
@@ -292,8 +291,7 @@ FindBarView::FindBarView(FindBarHost* ho
@@ -301,8 +300,7 @@ FindBarView::FindBarView(FindBarHost* ho
auto border = std::make_unique<views::BubbleBorder>(
views::BubbleBorder::NONE, views::BubbleBorder::STANDARD_SHADOW);
border->SetColor(kColorFindBarBackground);
@@ -0,0 +1,55 @@
--- a/chrome/browser/ui/views/frame/layout/browser_view_layout_delegate_impl.cc
+++ b/chrome/browser/ui/views/frame/layout/browser_view_layout_delegate_impl.cc
@@ -258,7 +258,7 @@ BrowserViewLayoutDelegateImpl::GetBounds
layout.trailing_exclusion.vertical_padding);
bounds_f.set_height(
std::max(max_bound, static_cast<float>(tabstrip_minimum_size.height())));
- const int tab_margin = TabStyle::Get()->GetBottomCornerRadius();
+ const int tab_margin = TabStyle::Get()->GetBottomCornerRadius() / 2;
bounds_f.Inset(gfx::InsetsF::TLBR(
0.0f,
layout.leading_exclusion.content.width() +
--- a/components/remote_cocoa/app_shim/browser_native_widget_window_mac.mm
+++ b/components/remote_cocoa/app_shim/browser_native_widget_window_mac.mm
@@ -63,13 +63,10 @@ const double kThinControllerHeight = 0.5
}
- (CGFloat)_minXTitlebarWidgetInset {
- if (@available(macOS 26, *)) {
- // On macOS 26, position the leading window widget the same distance from
- // the leading edge of the window as it is from the top of the window. That
- // way the window corner can be adjusted to make the widget concentric.
- return 13.0;
- }
- return [super _minXTitlebarWidgetInset];
+ // Both macOS 15- and macOS 26+ use the same inset here, but
+ // 1px is invisible on macOS 15- for some reason. Ideally it should be 11px here,
+ // but since it appears visually to be 11, we just use 10 here for both styles.
+ return 10.0;
}
// Override -_getCachedWindowCornerRadius rather than -_cornerRadius because the
@@ -78,7 +75,7 @@ const double kThinControllerHeight = 0.5
// _getCachedWindowCornerRadius.
- (CGFloat)_getCachedWindowCornerRadius {
if (@available(macOS 26, *)) {
- return 13.0 /* widget position from top and left */ +
+ return 10.0 /* widget position from top and left */ +
7.0 /* widget radius */;
}
// Don't mess with the window radius before macOS 26, as concentricity was not
--- a/chrome/browser/ui/views/frame/browser_frame_view_mac.mm
+++ b/chrome/browser/ui/views/frame/browser_frame_view_mac.mm
@@ -465,10 +465,10 @@ BrowserFrameViewMac::GetCaptionButtonBou
// not precise.
if (@available(macOS 26, *)) {
result.bounds = gfx::RectF(12, 10, 62, 18);
- result.margins = gfx::OutsetsF::VH(10, 12);
+ result.margins = gfx::OutsetsF::VH(0, 6);
} else {
result.bounds = gfx::RectF(20, 11, 54, 16);
- result.margins = gfx::OutsetsF::VH(11, 20);
+ result.margins = gfx::OutsetsF::VH(0, 14);
}
// Mirror for when caption buttons are on the "wrong" side.
@@ -1,29 +0,0 @@
--- a/chrome/browser/ui/views/frame/browser_frame_view_mac.mm
+++ b/chrome/browser/ui/views/frame/browser_frame_view_mac.mm
@@ -186,7 +186,7 @@ gfx::Rect BrowserFrameViewMac::GetBounds
// The bottom curve of the first/last tab swoops into the caption button
// region, so account for this when calculating insets.
const gfx::Insets insets = GetCaptionButtonInsets(
- /*visual_overlap=*/TabStyle::Get()->GetBottomCornerRadius());
+ /*visual_overlap=*/TabStyle::Get()->GetBottomCornerRadius() / 2);
bounds.Inset(insets);
}
--- a/chrome/browser/ui/views/frame/browser_frame_view_win.cc
+++ b/chrome/browser/ui/views/frame/browser_frame_view_win.cc
@@ -234,10 +234,13 @@ bool BrowserFrameViewWin::CaptionButtons
gfx::Rect BrowserFrameViewWin::GetBoundsForTabStripRegion(
const gfx::Size& tabstrip_minimum_size) const {
- const int x = CaptionButtonsOnLeadingEdge() ? CaptionButtonsRegionWidth() : 0;
+ const int x = CaptionButtonsOnLeadingEdge() ?
+ CaptionButtonsRegionWidth() :
+ GetLayoutConstant(TOOLBAR_CORNER_RADIUS);
int end_x = width();
if (!CaptionButtonsOnLeadingEdge()) {
- end_x = std::min(width() - CaptionButtonsRegionWidth(), end_x);
+ end_x = std::min(width() - CaptionButtonsRegionWidth() -
+ GetLayoutConstant(TOOLBAR_CORNER_RADIUS), end_x);
}
return gfx::Rect(x, TopAreaHeight(false), std::max(0, end_x - x),
tabstrip_minimum_size.height());
@@ -1,6 +1,6 @@
--- a/chrome/browser/resources/side_panel/customize_chrome/app.ts
+++ b/chrome/browser/resources/side_panel/customize_chrome/app.ts
@@ -148,23 +148,6 @@ export class AppElement extends AppEleme
@@ -155,23 +155,6 @@ export class AppElement extends AppEleme
element.scrollIntoView({behavior: 'auto'});
});
@@ -24,7 +24,7 @@
this.pageHandler_.updateAttachedTabState();
this.setThemeEditableId_ = CustomizeChromeApiProxy.getInstance()
@@ -341,10 +324,6 @@ export class AppElement extends AppEleme
@@ -346,10 +329,6 @@ export class AppElement extends AppEleme
await this.updateComplete;
page.focusOnBackButton();
}
@@ -1,45 +0,0 @@
--- a/components/omnibox/browser/autocomplete_match.cc
+++ b/components/omnibox/browser/autocomplete_match.cc
@@ -647,7 +647,7 @@ const gfx::VectorIcon& AutocompleteMatch
case KEYWORD_MODE_STARTER_PACK_HISTORY:
return vector_icons::kHistoryChromeRefreshIcon;
case KEYWORD_MODE_STARTER_PACK_TABS:
- return omnibox::kProductChromeRefreshIcon;
+ return omnibox::kTabIcon;
case KEYWORD_MODE_STARTER_PACK_GEMINI:
return omnibox::kSparkIcon;
case KEYWORD_MODE_STARTER_PACK_AI_MODE:
--- a/components/omnibox/browser/vector_icons/tab.icon
+++ b/components/omnibox/browser/vector_icons/tab.icon
@@ -2,14 +2,21 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-CANVAS_DIMENSIONS, 32,
-MOVE_TO, 3, 26,
-LINE_TO, 7, 12,
-LINE_TO, 24, 12,
-LINE_TO, 28, 26,
-LINE_TO, 24, 26,
-LINE_TO, 22, 16,
-LINE_TO, 9, 16,
-LINE_TO, 7, 26,
-LINE_TO, 3, 26,
+MOVE_TO, 42, 6,
+H_LINE_TO, 6,
+R_CUBIC_TO, -2.21, 0, -4, 1.79, -4, 4,
+R_V_LINE_TO, 28,
+R_CUBIC_TO, 0, 2.21, 1.79, 4, 4, 4,
+R_H_LINE_TO, 36,
+R_CUBIC_TO, 2.21, 0, 4, -1.79, 4, -4,
+V_LINE_TO, 10,
+R_CUBIC_TO, 0, -2.21, -1.79, -4, -4, -4,
+CLOSE,
+R_MOVE_TO, 0, 32,
+H_LINE_TO, 6,
+V_LINE_TO, 10,
+R_H_LINE_TO, 20,
+R_V_LINE_TO, 8,
+R_H_LINE_TO, 16,
+R_V_LINE_TO, 20,
CLOSE
+4 -4
View File
@@ -119,8 +119,8 @@
+ return 2;
case VERTICAL_TAB_STRIP_HORIZONTAL_PADDING:
return 12;
default:
@@ -152,13 +150,13 @@ gfx::Insets GetLayoutInsets(LayoutInset
case VERTICAL_TAB_STRIP_BOTTOM_BUTTON_PADDING:
@@ -154,13 +152,13 @@ gfx::Insets GetLayoutInsets(LayoutInset
return gfx::Insets::VH(8, 20);
case LOCATION_BAR_ICON_INTERIOR_PADDING:
@@ -136,7 +136,7 @@
case TOOLBAR_ACTION_VIEW: {
// TODO(afakhry): Unify all toolbar button sizes on all platforms.
@@ -167,7 +165,7 @@ gfx::Insets GetLayoutInsets(LayoutInset
@@ -169,7 +167,7 @@ gfx::Insets GetLayoutInsets(LayoutInset
}
case TOOLBAR_BUTTON:
@@ -145,7 +145,7 @@
case BROWSER_APP_MENU_CHIP_PADDING:
if (touch_ui) {
@@ -183,11 +181,15 @@ gfx::Insets GetLayoutInsets(LayoutInset
@@ -185,11 +183,15 @@ gfx::Insets GetLayoutInsets(LayoutInset
if (touch_ui) {
return GetLayoutInsets(TOOLBAR_BUTTON);
} else {
+53 -37
View File
@@ -76,7 +76,7 @@
--- a/chrome/browser/ui/views/location_bar/location_bar_view.cc
+++ b/chrome/browser/ui/views/location_bar/location_bar_view.cc
@@ -194,10 +194,10 @@ int IncrementalMinimumWidth(const views:
@@ -204,10 +204,10 @@ int IncrementalMinimumWidth(const views:
}
// The padding between the intent chip and the other trailing decorations.
@@ -89,8 +89,8 @@
} // namespace
@@ -231,7 +231,10 @@ LocationBarView::LocationBarView(Browser
!v->GetOmniboxPopupView()->IsOpen();
@@ -245,7 +245,10 @@ LocationBarView::LocationBarView(Browser
!v->GetOmniboxController()->IsPopupOpen();
}));
views::FocusRing::Get(this)->SetOutsetFocusRingDisabled(true);
- views::InstallPillHighlightPathGenerator(this);
@@ -101,7 +101,7 @@
#if BUILDFLAG(OS_LEVEL_GEOLOCATION_PERMISSION_SUPPORTED)
if (features::IsOsLevelGeolocationPermissionSupportEnabled()) {
@@ -281,9 +284,9 @@ void LocationBarView::Init() {
@@ -303,9 +306,9 @@ void LocationBarView::Init() {
CONTEXT_OMNIBOX_PRIMARY, views::style::STYLE_PRIMARY);
const gfx::FontList& omnibox_chip_font_list = typography_provider.GetFont(
@@ -113,7 +113,7 @@
auto location_icon_view =
std::make_unique<LocationIconView>(omnibox_chip_font_list, this, this);
@@ -395,7 +398,7 @@ void LocationBarView::Init() {
@@ -443,7 +446,7 @@ void LocationBarView::Init() {
}
}
@@ -122,7 +122,7 @@
const page_actions::PageActionViewParams page_action_params{
.icon_size = GetLayoutConstant(LOCATION_BAR_TRAILING_ICON_SIZE),
.icon_insets = GetLayoutInsets(LOCATION_BAR_PAGE_ACTION_ICON_PADDING),
@@ -416,21 +419,11 @@ void LocationBarView::Init() {
@@ -464,21 +467,11 @@ void LocationBarView::Init() {
// first so that they appear on the left side of the icon container.
// TODO(crbug.com/40835681): Improve the ordering heuristics for page action
// icons and determine a way to handle simultaneous icon animations.
@@ -144,7 +144,7 @@
if (!apps::features::ShouldShowLinkCapturingUX()) {
params.types_enabled.push_back(PageActionIconType::kIntentPicker);
}
@@ -440,66 +433,8 @@ void LocationBarView::Init() {
@@ -488,64 +481,8 @@ void LocationBarView::Init() {
params.types_enabled.push_back(PageActionIconType::kZoom);
params.types_enabled.push_back(PageActionIconType::kFileSystemAccess);
@@ -159,29 +159,6 @@
- params.types_enabled.push_back(PageActionIconType::kVirtualCardEnroll);
- params.types_enabled.push_back(PageActionIconType::kMandatoryReauth);
-
- // The state of the AIM eligibility service can change during runtime but the
- // construction of the location bar happens only once, at window creation. In
- // order to accommodate changing eligibility, the AIM entrypoint is always
- // added here and whether it's enabled or not only affects its visibility.
- // Unless the main AIM omnibox entrypoint Feature is explicitly disabled,
- // which can be used as a kill switch in case of any unanticipated issues with
- // this approach.
- auto* feature_list = base::FeatureList::GetInstance();
- bool aim_omnibox_entrypoint_explicitly_disabled =
- feature_list &&
- feature_list->IsFeatureOverridden(
- omnibox::kAiModeOmniboxEntryPoint.name) &&
- !base::FeatureList::IsEnabled(omnibox::kAiModeOmniboxEntryPoint);
- if (!aim_omnibox_entrypoint_explicitly_disabled) {
- // Position in the leading position, like the entrypoint for
- // kLensOverlayHomework below. While both chips may be enabled, they will
- // not appear at the same time due to different focus behavior. The
- // visibility of this entrypoint is dependent on whether or not the user
- // meets AIM eligibility criteria (checked elsewhere).
- params.types_enabled.insert(params.types_enabled.begin(),
- PageActionIconType::kAiMode);
- }
-
- if (browser_ && lens::features::IsOmniboxEntryPointEnabled()) {
- // The persistent compact entrypoint should be positioned directly before
- // the star icon and the prominent expanding entrypoint should be
@@ -205,13 +182,52 @@
- PageActionIconType::kLensOverlayHomework);
- }
-
- // Because the AIM eligibility service might not be ready on startup,
- // the AI Mode page action type is always added. Unless the main AIM
- // omnibox entrypoint Feature is explicitly disabled, which can be used
- // as a kill switch in case of any unanticipated issues with this
- // approach.
- auto* feature_list = base::FeatureList::GetInstance();
- bool aim_omnibox_entrypoint_explicitly_disabled =
- feature_list &&
- feature_list->IsFeatureOverridden(
- omnibox::kAiModeOmniboxEntryPoint.name) &&
- !base::FeatureList::IsEnabled(omnibox::kAiModeOmniboxEntryPoint);
- if (!aim_omnibox_entrypoint_explicitly_disabled) {
- // Position in the leading position, like the entrypoint for
- // kLensOverlayHomework above. While both chips may be enabled, they will
- // not appear at the same time due to different focus behavior. The
- // visibility of this entrypoint is dependent on whether or not the user
- // meets AIM eligibility criteria.
- params.types_enabled.insert(params.types_enabled.begin(),
- PageActionIconType::kAiMode);
- }
-
- if (browser_ && tab_groups::SavedTabGroupUtils::SupportsSharedTabGroups()) {
- params.types_enabled.push_back(PageActionIconType::kCollaborationMessaging);
- }
if (browser_ && !is_popup_mode_) {
params.types_enabled.push_back(PageActionIconType::kBookmarkStar);
@@ -550,7 +485,7 @@ void LocationBarView::OnPopupOpened() {
@@ -562,17 +499,6 @@ void LocationBarView::Init() {
AddChildView(std::make_unique<PageActionIconContainerView>(params));
page_action_icon_controller_ = page_action_icon_container_->controller();
- if (!page_action_icon_container_->children().empty() &&
- !aim_omnibox_entrypoint_explicitly_disabled &&
- !IsPageActionMigrated(PageActionIconType::kAiMode)) {
- auto* first_page_action_icon_view = static_cast<PageActionIconView*>(
- page_action_icon_container_->children().front());
- DCHECK(first_page_action_icon_view->action_id() == kActionAiMode)
- << "kActionAiMode must be the first child in "
- "PageActionIconContainerView to ensure it's the left-most page "
- "action.";
- }
-
auto clear_all_button = views::CreateVectorImageButton(base::BindRepeating(
static_cast<void (OmniboxView::*)(const std::u16string&)>(
&OmniboxView::SetUserText),
@@ -597,7 +523,7 @@ bool LocationBarView::IsInitialized() co
int LocationBarView::GetBorderRadius() const {
return ChromeLayoutProvider::Get()->GetCornerRadiusMetric(
@@ -220,7 +236,7 @@
}
std::unique_ptr<views::Background> LocationBarView::CreateRoundRectBackground(
@@ -750,9 +685,9 @@ void LocationBarView::Layout(PassKey) {
@@ -805,9 +731,9 @@ void LocationBarView::Layout(PassKey) {
// TODO(manukh): Move constants to layout_constants.cc.
// The padding between the left edges of the location bar and the LHS icon,
// e.g. the page info icon, the google G icon, the selected suggestion icon.
@@ -232,7 +248,7 @@
// Apply indentation to align the omnibox input icon and the text with those
// of the suggestions in the popup. However, there are two exceptions where
@@ -771,22 +706,22 @@ void LocationBarView::Layout(PassKey) {
@@ -826,22 +752,22 @@ void LocationBarView::Layout(PassKey) {
!location_icon_view_->ShouldShowLabel() &&
!ShouldShowKeywordBubble();
if (should_indent) {
@@ -249,8 +265,8 @@
} else if (ShouldShowKeywordBubble()) {
// Otherwise, if in keyword mode, adjust indentation to align the icon and
// the text with the suggestion icons & texts.
- icon_left += 9; /*icon_indent_keyword_mode*/
+ icon_left += 0; /*icon_indent_keyword_mode*/
- icon_left += 9; /*icon_indent_keyword_mode*/
+ icon_left += 0; /*icon_indent_keyword_mode*/
icon_left += omnibox_feature_configs::AdjustOmniboxIndent()
.Get()
.input_icon_indent_offset;
@@ -259,7 +275,7 @@
}
LocationBarLayout leading_decorations(LocationBarLayout::Position::kLeftEdge,
@@ -1284,7 +1219,7 @@ int LocationBarView::GetMinimumTrailingW
@@ -1438,7 +1364,7 @@ int LocationBarView::GetMinimumTrailingW
}
gfx::Rect LocationBarView::GetLocalBoundsWithoutEndcaps() const {
@@ -268,7 +284,7 @@
gfx::Rect bounds_without_endcaps(GetLocalBounds());
bounds_without_endcaps.Inset(gfx::Insets::VH(0, border_radius));
return bounds_without_endcaps;
@@ -1299,9 +1234,9 @@ void LocationBarView::RefreshBackground(
@@ -1454,9 +1380,9 @@ void LocationBarView::RefreshBackground(
ui::NativeTheme::PreferredContrast::kMore;
const auto* const color_provider = GetColorProvider();
+13 -13
View File
@@ -1,6 +1,6 @@
--- a/chrome/browser/ui/views/omnibox/rounded_omnibox_results_frame.cc
+++ b/chrome/browser/ui/views/omnibox/rounded_omnibox_results_frame.cc
@@ -42,7 +42,7 @@
@@ -43,7 +43,7 @@
namespace {
// Value from the spec controlling appearance of the shadow.
@@ -9,17 +9,17 @@
#if !defined(USE_AURA)
@@ -230,8 +230,7 @@ RoundedOmniboxResultsFrame::RoundedOmnib
@@ -231,8 +231,7 @@ RoundedOmniboxResultsFrame::RoundedOmnib
LocationBarView* location_bar,
bool include_cutout)
: contents_(contents), include_cutout_(include_cutout) {
bool forward_mouse_events)
: contents_(contents), forward_mouse_events_(forward_mouse_events) {
- const int corner_radius = views::LayoutProvider::Get()->GetCornerRadiusMetric(
- views::ShapeContextTokens::kOmniboxExpandedRadius);
+ const int corner_radius = 12;
// Host the contents in its own View to simplify layout and customization.
auto contents_host_builder =
views::Builder<views::View>()
@@ -300,10 +299,10 @@ int RoundedOmniboxResultsFrame::GetNonRe
@@ -299,10 +298,10 @@ int RoundedOmniboxResultsFrame::GetNonRe
// static
gfx::Insets RoundedOmniboxResultsFrame::GetLocationBarAlignmentInsets() {
@@ -34,7 +34,7 @@
// static
--- a/chrome/browser/ui/views/omnibox/omnibox_result_view.cc
+++ b/chrome/browser/ui/views/omnibox/omnibox_result_view.cc
@@ -198,9 +198,6 @@ OmniboxResultView::OmniboxResultView(Omn
@@ -199,9 +199,6 @@ OmniboxResultView::OmniboxResultView(Omn
SetLayoutManager(std::make_unique<views::FillLayout>());
@@ -44,7 +44,7 @@
local_answer_header_and_suggestion_and_buttons_ =
AddChildView(std::make_unique<views::View>());
local_answer_header_and_suggestion_and_buttons_
@@ -301,8 +298,9 @@ OmniboxResultView::OmniboxResultView(Omn
@@ -302,8 +299,9 @@ OmniboxResultView::OmniboxResultView(Omn
&OmniboxResultView::ButtonPressed, base::Unretained(this),
OmniboxPopupSelection::FOCUSED_BUTTON_REMOVE_SUGGESTION)));
remove_suggestion_button_->SetProperty(views::kMarginsKey,
@@ -56,7 +56,7 @@
auto* const remove_focus_ring =
views::FocusRing::Get(remove_suggestion_button_);
remove_focus_ring->SetHasFocusPredicate(base::BindRepeating(
@@ -355,10 +353,9 @@ std::unique_ptr<views::Background> Omnib
@@ -356,10 +354,9 @@ std::unique_ptr<views::Background> Omnib
/*for_border_thickness=*/0);
}
@@ -69,7 +69,7 @@
}
void OmniboxResultView::SetMatch(const AutocompleteMatch& match) {
@@ -509,14 +506,6 @@ void OmniboxResultView::ApplyThemeAndRef
@@ -510,14 +507,6 @@ void OmniboxResultView::ApplyThemeAndRef
popup_view_->controller()->client()->GetTemplateURLService())) {
const OmniboxPopupSelection::LineState line_state =
popup_view_->GetSelection().state;
@@ -155,7 +155,7 @@
// smaller than this bounds; they'll be centered within the bounds.
--- a/chrome/browser/ui/views/omnibox/omnibox_popup_view_views.cc
+++ b/chrome/browser/ui/views/omnibox/omnibox_popup_view_views.cc
@@ -638,14 +638,7 @@ gfx::Rect OmniboxPopupViewViews::GetTarg
@@ -679,14 +679,7 @@ gfx::Rect OmniboxPopupViewViews::GetTarg
// added if the results section has no height (result set is empty or all
// results are hidden). See https://crbug.com/1076646 for additional context.
if (popup_height != 0) {
@@ -182,15 +182,15 @@
SetCornerRadius(100); // Large number to ensure 100% rounded.
views::InkDrop::Get(this)->GetInkDrop()->SetShowHighlightOnHover(false);
@@ -268,7 +268,7 @@ class OmniboxSuggestionButtonRowLayout :
@@ -266,7 +266,7 @@ class OmniboxSuggestionButtonRowLayout :
// the suggestion text/view. Additionally, the values here were selected to
// produce the designed layout, but they should either be explained further
// here or specified with `ChromeLayoutProvider`.
- gfx::Insets row_insets_ = gfx::Insets::TLBR(6, 4, 6, 0);
+ gfx::Insets row_insets_ = gfx::Insets::TLBR(1, 4, 0, 0);
gfx::Insets button_insets_ =
gfx::Insets::TLBR(0, 0, 0,
ChromeLayoutProvider::Get()->GetDistanceMetric(
gfx::Insets::TLBR(0,
0,
@@ -299,10 +299,9 @@ class OmniboxSuggestionRowButton : publi
ui::EF_MIDDLE_MOUSE_BUTTON);
views::InstallPillHighlightPathGenerator(this);
@@ -1,14 +1,14 @@
--- a/chrome/browser/ui/views/profiles/profile_menu_view.cc
+++ b/chrome/browser/ui/views/profiles/profile_menu_view.cc
@@ -897,6 +897,7 @@ void ProfileMenuView::MaybeBuildBatchUpl
@@ -894,6 +894,7 @@ void ProfileMenuView::MaybeBuildBatchUpl
}
void ProfileMenuView::BuildAutofillSettingsButton() {
+ return;
CHECK(!profile().IsGuestSession());
AddFeatureButton(
l10n_util::GetStringUTF16(IDS_PROFILE_MENU_AUTOFILL_SETTINGS_BUTTON),
@@ -981,6 +982,7 @@ void ProfileMenuView::MaybeBuildGoogleSe
int message_id = IDS_PROFILE_MENU_AUTOFILL_SETTINGS_BUTTON;
@@ -990,6 +991,7 @@ void ProfileMenuView::MaybeBuildGoogleSe
}
void ProfileMenuView::MaybeBuildManageGoogleAccountButton() {
@@ -1,15 +1,15 @@
--- a/chrome/browser/ui/browser_actions.cc
+++ b/chrome/browser/ui/browser_actions.cc
@@ -43,8 +43,6 @@
#include "chrome/browser/ui/passwords/passwords_model_delegate.h"
@@ -46,8 +46,6 @@
#include "chrome/browser/ui/performance_controls/memory_saver_bubble_controller.h"
#include "chrome/browser/ui/qrcode_generator/qrcode_generator_bubble_controller.h"
#include "chrome/browser/ui/search/omnibox_utils.h"
-#include "chrome/browser/ui/send_tab_to_self/send_tab_to_self_bubble.h"
-#include "chrome/browser/ui/send_tab_to_self/send_tab_to_self_toolbar_icon_controller.h"
#include "chrome/browser/ui/tabs/features.h"
#include "chrome/browser/ui/tabs/public/tab_features.h"
#include "chrome/browser/ui/tabs/saved_tab_groups/saved_tab_group_utils.h"
#include "chrome/browser/ui/toolbar/cast/cast_toolbar_button_util.h"
@@ -216,10 +214,6 @@ void BrowserActions::InitializeBrowserAc
@@ -223,10 +221,6 @@ void BrowserActions::InitializeBrowserAc
SidePanelEntryId::kBookmarks, IDS_BOOKMARK_MANAGER_TITLE,
IDS_BOOKMARK_MANAGER_TITLE, kBookmarksSidePanelRefreshIcon,
kActionSidePanelShowBookmarks, bwi, true),
@@ -20,7 +20,7 @@
SidePanelAction(SidePanelEntryId::kAboutThisSite,
IDS_PAGE_INFO_ABOUT_THIS_PAGE_TITLE,
IDS_PAGE_INFO_ABOUT_THIS_PAGE_TITLE,
@@ -229,17 +223,7 @@ void BrowserActions::InitializeBrowserAc
@@ -236,17 +230,7 @@ void BrowserActions::InitializeBrowserAc
IDS_SIDE_PANEL_CUSTOMIZE_CHROME_TITLE,
IDS_SIDE_PANEL_CUSTOMIZE_CHROME_TITLE,
vector_icons::kEditChromeRefreshIcon,
@@ -39,7 +39,7 @@
.Build());
if (side_panel::history_clusters::
@@ -268,40 +252,6 @@ void BrowserActions::InitializeBrowserAc
@@ -275,40 +259,6 @@ void BrowserActions::InitializeBrowserAc
kActionSidePanelShowReadAnything, bwi, true)
.Build());
@@ -80,7 +80,7 @@
root_action_item_->AddChild(
actions::ActionItem::Builder(
base::BindRepeating(
@@ -547,44 +497,6 @@ void BrowserActions::InitializeBrowserAc
@@ -591,44 +541,6 @@ void BrowserActions::InitializeBrowserAc
kActionDevTools, IDS_DEV_TOOLS, IDS_DEV_TOOLS, kDeveloperToolsIcon)
.Build());
@@ -123,9 +123,9 @@
- .Build());
-
root_action_item_->AddChild(
ChromeMenuAction(
actions::ActionItem::Builder(
base::BindRepeating(
@@ -599,56 +511,6 @@ void BrowserActions::InitializeBrowserAc
@@ -661,64 +573,6 @@ void BrowserActions::InitializeBrowserAc
.SetVisible(!sharing_hub::SharingIsDisabledByPolicy(profile))
.Build());
@@ -135,6 +135,14 @@
- [](BrowserWindowInterface* bwi, TabStripModel* tab_strip_model,
- actions::ActionItem* item,
- actions::ActionInvocationContext context) {
- auto page_action_trigger =
- context.GetProperty(page_actions::kPageActionTriggerKey);
- // If triggered by omnibox page action, do nothing.
- if (page_action_trigger !=
- page_actions::kInvalidPageActionTrigger) {
- return;
- }
-
- auto* controller = autofill::AddressBubblesIconController::Get(
- tab_strip_model->GetActiveWebContents());
- if (controller && controller->GetBubbleView()) {
@@ -182,7 +190,7 @@
// TODO(crbug.com/435220196): Ideally this action would have
// ChromeLabsCoordinator passed in as a dependency directly.
if (IsChromeLabsEnabled() && !bwi->GetAppBrowserController()) {
@@ -666,34 +528,6 @@ void BrowserActions::InitializeBrowserAc
@@ -736,35 +590,6 @@ void BrowserActions::InitializeBrowserAc
}
root_action_item_->AddChild(
@@ -201,7 +209,8 @@
- ManagePasswordsUIController::FromWebContents(
- web_contents);
- if (controller->IsShowingBubble()) {
- controller->HideBubble();
- controller->HideBubble(
- /*initiated_by_bubble_manager=*/false);
- } else {
- chrome::ManagePasswordsForPage(bwi);
- }
@@ -234,16 +243,16 @@
} // namespace
--- a/chrome/browser/ui/web_applications/app_browser_controller.cc
+++ b/chrome/browser/ui/web_applications/app_browser_controller.cc
@@ -380,7 +380,7 @@ std::vector<actions::ActionId> AppBrowse
#endif // BUILDFLAG(IS_CHROMEOS)
@@ -381,8 +381,6 @@ std::vector<actions::ActionId> AppBrowse
std::vector<actions::ActionId> types_enabled = {
- kActionFind, kActionShowPasswordsBubbleOrPage, kActionShowTranslate,
+ kActionFind,
kActionZoomNormal, kActionShowFileSystemAccess,
};
@@ -403,12 +403,8 @@ AppBrowserController::GetTitleBarPageAct
kActionFind,
- kActionShowPasswordsBubbleOrPage,
- kActionShowTranslate,
kActionZoomNormal,
kActionShowFileSystemAccess,
kActionShowCookieControls,
@@ -407,12 +405,8 @@ AppBrowserController::GetTitleBarPageAct
std::vector<PageActionIconType> types_enabled;
types_enabled.push_back(PageActionIconType::kFind);
@@ -22,7 +22,7 @@
import * as Main from '../main/main.js';
--- a/third_party/devtools-frontend/src/front_end/entrypoints/main/MainImpl.ts
+++ b/third_party/devtools-frontend/src/front_end/entrypoints/main/MainImpl.ts
@@ -977,8 +977,10 @@ export class MainMenuItem implements UI.
@@ -985,8 +985,10 @@ export class MainMenuItem implements UI.
}, {additionalElement, isPreviewFeature: viewExtension.isPreviewFeature(), jslogContext: id});
}
@@ -35,7 +35,7 @@
--- a/third_party/devtools-frontend/src/front_end/panels/settings/BUILD.gn
+++ b/third_party/devtools-frontend/src/front_end/panels/settings/BUILD.gn
@@ -51,7 +51,6 @@ devtools_module("settings") {
@@ -53,7 +53,6 @@ devtools_ui_module("settings") {
"../../ui/legacy/components/utils:bundle",
"../../ui/lit:bundle",
"../utils:bundle",
@@ -132,7 +132,7 @@
}
--- a/third_party/devtools-frontend/src/config/gni/devtools_grd_files.gni
+++ b/third_party/devtools-frontend/src/config/gni/devtools_grd_files.gni
@@ -707,7 +707,6 @@ grd_files_bundled_sources = [
@@ -709,7 +709,6 @@ grd_files_bundled_sources = [
"front_end/panels/security/security.js",
"front_end/panels/sensors/sensors-meta.js",
"front_end/panels/sensors/sensors.js",
@@ -146,6 +146,6 @@
"front_end/panels/settings/aiSettingsTab.css.js",
- "front_end/panels/settings/components/SyncSection.js",
- "front_end/panels/settings/components/syncSection.css.js",
"front_end/panels/settings/editFileSystemView.css.js",
"front_end/panels/settings/emulation/DevicesSettingsTab.js",
"front_end/panels/settings/emulation/components/UserAgentClientHintsForm.js",
"front_end/panels/settings/emulation/components/userAgentClientHintsForm.css.js",
+20 -18
View File
@@ -1,6 +1,6 @@
--- a/chrome/browser/ui/views/toolbar/toolbar_view.cc
+++ b/chrome/browser/ui/views/toolbar/toolbar_view.cc
@@ -280,18 +280,6 @@ void ToolbarView::Init() {
@@ -284,18 +284,6 @@ void ToolbarView::Init() {
aura::WindowOcclusionTracker::ScopedPause pause_occlusion;
#endif
@@ -19,7 +19,7 @@
auto location_bar = std::make_unique<LocationBarView>(
browser_, browser_->profile(), browser_->command_controller(), this,
display_mode_ != DisplayMode::NORMAL);
@@ -823,14 +811,6 @@ void ToolbarView::Layout(PassKey) {
@@ -826,14 +814,6 @@ void ToolbarView::Layout(PassKey) {
// The container view should be the exact same size/position as ToolbarView.
container_view_->SetSize(size());
@@ -34,7 +34,7 @@
if (display_mode_ == DisplayMode::CUSTOM_TAB) {
custom_tab_bar_->SetBounds(0, 0, width(),
custom_tab_bar_->GetPreferredSize().height());
@@ -840,7 +820,6 @@ void ToolbarView::Layout(PassKey) {
@@ -843,7 +823,6 @@ void ToolbarView::Layout(PassKey) {
if (display_mode_ == DisplayMode::NORMAL) {
LayoutCommon();
@@ -42,13 +42,12 @@
}
if (toolbar_controller_) {
@@ -878,38 +857,6 @@ void ToolbarView::OnThemeChanged() {
@@ -881,40 +860,6 @@ void ToolbarView::OnThemeChanged() {
SchedulePaint();
}
-void ToolbarView::UpdateClipPath() {
- const gfx::Rect local_bounds = GetLocalBounds();
- SkPath path;
- // The bottom of the toolbar may be clipped more than necessary in
- // certain scale factor so adds extra 2dp so that even if the origin
- // and the height are rounded down, we still can paint til the
@@ -59,17 +58,20 @@
- // TODO(crbug.com/41344902): Remove this hack once the pixel canvas is
- // enabled on all aura platforms.
- const int extended_height = local_bounds.height() + 2;
- path.moveTo(0, local_bounds.height());
- path.lineTo(0, receding_corner_radius_);
- path.arcTo(receding_corner_radius_, receding_corner_radius_, 0,
- SkPath::kSmall_ArcSize, SkPathDirection::kCW,
- receding_corner_radius_, 0);
- path.lineTo(local_bounds.width() - receding_corner_radius_, 0);
- path.arcTo(receding_corner_radius_, receding_corner_radius_, 0,
- SkPath::kSmall_ArcSize, SkPathDirection::kCW, local_bounds.width(),
- receding_corner_radius_);
- path.lineTo(local_bounds.width(), extended_height);
- path.lineTo(0, extended_height);
- const SkPath path =
- SkPathBuilder()
- .moveTo(0, local_bounds.height())
- .lineTo(0, receding_corner_radius_)
- .arcTo(SkVector(receding_corner_radius_, receding_corner_radius_), 0,
- SkPathBuilder::kSmall_ArcSize, SkPathDirection::kCW,
- SkPoint(receding_corner_radius_, 0))
- .lineTo(local_bounds.width() - receding_corner_radius_, 0)
- .arcTo(SkVector(receding_corner_radius_, receding_corner_radius_), 0,
- SkPathBuilder::kSmall_ArcSize, SkPathDirection::kCW,
- SkPoint(local_bounds.width(), receding_corner_radius_))
- .lineTo(local_bounds.width(), extended_height)
- .lineTo(0, extended_height)
- .detach();
- container_view_->SetClipPath(path);
-}
-
@@ -79,5 +81,5 @@
-}
-
void ToolbarView::NewTabButtonPressed(const ui::Event& event) {
chrome::ExecuteCommand(browser_view_->browser(), IDC_NEW_TAB);
UMA_HISTOGRAM_ENUMERATION("Tab.NewTab",
chrome::NewTab(browser_view_->browser(),
NewTabTypes::NEW_TAB_BUTTON_IN_TOOLBAR_FOR_TOUCH);
+2 -2
View File
@@ -1,6 +1,6 @@
--- a/chrome/browser/ui/views/location_bar/location_bar_view.cc
+++ b/chrome/browser/ui/views/location_bar/location_bar_view.cc
@@ -429,7 +429,6 @@ void LocationBarView::Init() {
@@ -477,7 +477,6 @@ void LocationBarView::Init() {
}
params.types_enabled.push_back(PageActionIconType::kPwaInstall);
params.types_enabled.push_back(PageActionIconType::kTranslate);
@@ -10,7 +10,7 @@
params.types_enabled.push_back(PageActionIconType::kMemorySaver);
--- a/chrome/browser/ui/web_applications/app_browser_controller.cc
+++ b/chrome/browser/ui/web_applications/app_browser_controller.cc
@@ -403,7 +403,6 @@ AppBrowserController::GetTitleBarPageAct
@@ -405,7 +405,6 @@ AppBrowserController::GetTitleBarPageAct
std::vector<PageActionIconType> types_enabled;
types_enabled.push_back(PageActionIconType::kFind);
+8 -8
View File
@@ -1,6 +1,6 @@
--- a/ui/webui/resources/cr_components/most_visited/most_visited.ts
+++ b/ui/webui/resources/cr_components/most_visited/most_visited.ts
@@ -591,7 +591,7 @@ export class MostVisitedElement extends
@@ -719,7 +719,7 @@ export class MostVisitedElement extends
protected getFaviconUrl_(url: Url): string {
const faviconUrl = new URL('chrome://favicon2/');
@@ -20,8 +20,8 @@
--managed-tile-background-color: var(--cr-fallback-color-neutral-container);
--tile-background-color: rgb(229, 231, 232);
--tile-hover-color: rgba(var(--google-grey-900-rgb), .1);
@@ -101,7 +101,7 @@
#addShortcut {
@@ -121,7 +121,7 @@
#showLess {
-webkit-tap-highlight-color: transparent;
align-items: center;
- border-radius: 4px;
@@ -29,7 +29,7 @@
box-sizing: border-box;
cursor: pointer;
display: flex;
@@ -119,7 +119,7 @@
@@ -139,7 +139,7 @@
}
.tile a {
@@ -38,7 +38,7 @@
display: inline-block;
height: 100%;
outline: none;
@@ -159,7 +159,7 @@
@@ -184,7 +184,7 @@
.tile-icon {
align-items: center;
background-color: var(--tile-background-color);
@@ -47,7 +47,7 @@
display: flex;
flex-shrink: 0;
height: var(--icon-size);
@@ -169,8 +169,8 @@
@@ -194,8 +194,8 @@
}
.tile-icon img {
@@ -58,7 +58,7 @@
}
.managed-tile-icon {
@@ -193,7 +193,6 @@ cr-policy-indicator {
@@ -218,7 +218,6 @@ cr-policy-indicator {
.tile-title {
align-items: center;
@@ -66,7 +66,7 @@
color: var(--most-visited-text-color);
display: flex;
height: var(--title-height);
@@ -238,7 +237,7 @@ cr-icon-button {
@@ -263,7 +262,7 @@ cr-icon-button {
--cr-icon-button-fill-color: var(--icon-button-color);
--cr-icon-button-size: 28px;
--cr-icon-button-transition: none;
+3 -3
View File
@@ -120,8 +120,8 @@
<h2 slot="heading">$i18n{appearanceHeader}</h2>
</sp-heading>
<customize-chrome-appearance @edit-theme-click="${this.onEditThemeClick_}"
@@ -35,9 +35,6 @@ export function getHtml(this: AppElement
</cr-button>
@@ -44,9 +44,6 @@ export function getHtml(this: AppElement
` : ''}
${this.isSourceTabFirstPartyNtp_() ? html`<hr class="sp-cards-separator">
<div id="shortcuts" class="section sp-card">
- <sp-heading hide-back-button>
@@ -303,7 +303,7 @@
- padding-inline-start: 32px;
}
.option:hover {
.sub-options .option {
--- a/chrome/browser/resources/side_panel/shared/sp_shared_style_lit.css
+++ b/chrome/browser/resources/side_panel/shared/sp_shared_style_lit.css
@@ -10,7 +10,7 @@
+29 -28
View File
@@ -1,11 +1,10 @@
--- a/chrome/browser/ui/views/side_panel/side_panel.cc
+++ b/chrome/browser/ui/views/side_panel/side_panel.cc
@@ -56,13 +56,12 @@ namespace {
@@ -58,12 +58,12 @@ namespace {
// This thickness includes the solid-color background and the inner round-rect
// border-color stroke. It does not include the outer-color separator.
int GetBorderThickness() {
- return (lens::features::IsLensOverlayEnabled() ? 8 : 16) +
- views::Separator::kThickness;
- return 8 + views::Separator::kThickness;
+ return 6;
}
@@ -35,31 +34,33 @@
SetProperty(views::kMarginsKey,
gfx::Insets().set_left(resize_handle_left_margin));
} else {
--- a/chrome/browser/ui/views/frame/contents_rounded_corner.cc
+++ b/chrome/browser/ui/views/frame/contents_rounded_corner.cc
@@ -50,8 +50,7 @@ void ContentsRoundedCorner::Layout(PassK
path.moveTo(0, 0);
path.lineTo(local_bounds.width(), 0);
path.lineTo(local_bounds.width(), local_bounds.height());
- path.lineTo(local_bounds.width() - views::Separator::kThickness,
- local_bounds.height());
+ path.lineTo(local_bounds.width(), local_bounds.height());
path.arcTo(corner_radius, corner_radius, 0, SkPath::kSmall_ArcSize,
SkPathDirection::kCCW, 0, views::Separator::kThickness);
path.lineTo(0, 0);
@@ -82,6 +81,7 @@ void ContentsRoundedCorner::OnPaint(gfx:
GetLayoutProvider()->GetCornerRadiusMetric(corner_radius_token_);
const gfx::Rect local_bounds = GetLocalBounds();
SkPath path;
+ if ((false)) {
if (is_right_aligned_callback_.Run()) {
path.moveTo(local_bounds.width() - views::Separator::kThickness,
local_bounds.height());
@@ -93,6 +93,7 @@ void ContentsRoundedCorner::OnPaint(gfx:
SkPathDirection::kCCW, views::Separator::kThickness,
local_bounds.height());
--- a/chrome/browser/ui/views/frame/layout/browser_view_layout_impl_old.cc
+++ b/chrome/browser/ui/views/frame/layout/browser_view_layout_impl_old.cc
@@ -634,27 +634,6 @@ void BrowserViewLayoutImplOld::LayoutCon
!layout_result.side_panel_right_aligned);
views().left_aligned_side_panel_separator->SetBoundsRect(
layout_result.separator_bounds);
-
- SetViewVisibility(views().side_panel_rounded_corner,
- layout_result.side_panel_visible);
- if (layout_result.side_panel_visible) {
- // Adjust the rounded corner bounds based on the side panel bounds.
- const int corner_size =
- views().side_panel_rounded_corner->GetPreferredSize().width();
-
- const int top_separator_height = views::Separator::kThickness;
- if (layout_result.contents_container_after_side_panel) {
- views().side_panel_rounded_corner->SetBounds(
- layout_result.side_panel_bounds.right(),
- layout_result.side_panel_bounds.y() - top_separator_height,
- corner_size, corner_size);
- } else {
- views().side_panel_rounded_corner->SetBounds(
- layout_result.side_panel_bounds.x() - corner_size,
- layout_result.side_panel_bounds.y() - top_separator_height,
- corner_size, corner_size);
- }
- }
}
+ }
canvas->DrawPath(path, flags);
}
@@ -5,7 +5,7 @@
// TODO(tbergquist): Define this relative to the NTB insets again.
if (base::CommandLine::ForCurrentProcess()->HasSwitch("remove-grab-handle")) return gfx::Size(0, 0);
- return gfx::Size(42, 0);
+ return gfx::Size(29, 0);
+ return gfx::Size(27, 0);
}
};
+18 -20
View File
@@ -1,6 +1,6 @@
--- a/chrome/browser/ui/views/status_bubble_views.cc
+++ b/chrome/browser/ui/views/status_bubble_views.cc
@@ -58,7 +58,7 @@
@@ -64,7 +64,7 @@
namespace {
// The roundedness of the edges of our bubble.
@@ -9,7 +9,7 @@
// How close the mouse can get to the infobubble before it starts sliding
// off-screen.
@@ -66,7 +66,10 @@ constexpr int kMousePadding = 20;
@@ -72,7 +72,10 @@ constexpr int kMousePadding = 20;
// The minimum horizontal space between the edges of the text and the edges of
// the status bubble, not including the outer shadow ring.
@@ -21,7 +21,7 @@
// Delays before we start hiding or showing the bubble after we receive a
// show or hide request.
@@ -258,7 +261,7 @@ StatusView::~StatusView() {
@@ -268,7 +271,7 @@ StatusView::~StatusView() {
}
gfx::Insets StatusView::GetInsets() const {
@@ -30,7 +30,7 @@
kShadowThickness + kTextHorizPadding);
}
@@ -433,16 +436,12 @@ void StatusView::StartShowing() {
@@ -470,16 +473,12 @@ void StatusView::CancelDestroyTimer() {
void StatusView::SetTextLabelColors(views::Label* text) {
const auto* color_provider = status_bubble_->base_view()->GetColorProvider();
@@ -49,20 +49,18 @@
}
void StatusView::OnPaint(gfx::Canvas* canvas) {
@@ -450,45 +449,13 @@ void StatusView::OnPaint(gfx::Canvas* ca
@@ -487,44 +486,12 @@ void StatusView::OnPaint(gfx::Canvas* ca
float scale = canvas->UndoDeviceScaleFactor();
const float radius = kBubbleCornerRadius * scale;
- std::array<SkScalar, 8> rad{};
- std::array<SkVector, 4> rad{};
- auto round_corner = [&rad, radius](gfx::RRectF::Corner c) {
- int index = base::to_underlying(c);
- rad[2 * index] = radius;
- rad[2 * index + 1] = radius;
+ std::array<SkScalar, 8> rad = {
+ radius, radius, // Upper-left
+ radius, radius, // Upper-right
+ radius, radius, // Lower-right
+ radius, radius // Lower-left
- rad[index] = {radius, radius};
+ const SkVector corner = {radius, radius};
+ std::array<SkVector, 4> rad = {
+ corner, corner,
+ corner, corner
};
- // Top Edges - if the bubble is in its bottom position (sticking downwards),
@@ -100,7 +98,7 @@
// Snap to pixels to avoid shadow blurriness.
gfx::Size scaled_size = gfx::ScaleToRoundedSize(size(), scale);
@@ -497,20 +464,7 @@ void StatusView::OnPaint(gfx::Canvas* ca
@@ -533,20 +500,7 @@ void StatusView::OnPaint(gfx::Canvas* ca
// where the web content is visible.
const int shadow_thickness_pixels = std::floor(kShadowThickness * scale);
@@ -121,7 +119,7 @@
canvas->ClipRect(clip_rect);
gfx::RectF bubble_rect{gfx::SizeF(scaled_size)};
@@ -520,13 +474,7 @@ void StatusView::OnPaint(gfx::Canvas* ca
@@ -556,13 +510,7 @@ void StatusView::OnPaint(gfx::Canvas* ca
// bubble bounds by 1 DIP minus 1 pixel. Failing to do this results in drawing
// further and further outside the window as the scale increases.
const int inset = shadow_thickness_pixels - 1;
@@ -134,9 +132,9 @@
- bubble_rect.Inset(0.5);
+ bubble_rect.Inset(gfx::InsetsF::VH(inset, inset));
SkPath path;
path.addRoundRect(gfx::RectFToSkRect(bubble_rect), rad);
@@ -545,15 +493,9 @@ void StatusView::OnPaint(gfx::Canvas* ca
const SkPath path = SkPath::RRect(
SkRRect::MakeRectRadii(gfx::RectFToSkRect(bubble_rect), rad.data()));
@@ -581,15 +529,9 @@ void StatusView::OnPaint(gfx::Canvas* ca
flags.setStyle(cc::PaintFlags::kFill_Style);
const auto* color_provider = status_bubble_->base_view()->GetColorProvider();
@@ -153,7 +151,7 @@
}
DEFINE_ENUM_CONVERTERS(StatusView::BubbleState,
@@ -767,7 +709,9 @@ void StatusBubbleViews::Reposition() {
@@ -805,7 +747,9 @@ void StatusBubbleViews::Reposition() {
int overlap = kShadowThickness;
int height = GetPreferredHeight();
int base_view_height = base_view_->bounds().height();
@@ -164,7 +162,7 @@
SetBounds(origin.x(), origin.y(), base_view_->bounds().width() / 3, height);
}
@@ -805,7 +749,7 @@ int StatusBubbleViews::GetWidthForURL(co
@@ -843,7 +787,7 @@ int StatusBubbleViews::GetWidthForURL(co
// Get the width of the elided url
int elided_url_width = gfx::GetStringWidth(url_string, GetFont());
// Add proper paddings
+1 -1
View File
@@ -1,6 +1,6 @@
--- a/chrome/browser/ui/views/tabs/tab_strip_control_button.cc
+++ b/chrome/browser/ui/views/tabs/tab_strip_control_button.cc
@@ -239,7 +239,7 @@ void TabStripControlButton::UpdateBackgr
@@ -240,7 +240,7 @@ void TabStripControlButton::UpdateBackgr
}
int TabStripControlButton::GetCornerRadius() const {
+22 -41
View File
@@ -50,16 +50,16 @@
int TabStyle::GetTabOverlap() const {
--- a/chrome/browser/ui/views/tabs/tab_style_views.cc
+++ b/chrome/browser/ui/views/tabs/tab_style_views.cc
@@ -205,8 +205,6 @@ SkPath TabStyleViewsImpl::GetPath(TabSty
@@ -210,8 +210,6 @@ SkPath TabStyleViewsImpl::GetPath(TabSty
CHECK(tab());
const int stroke_thickness = GetStrokeThickness(force_active);
const int stroke_thickness = GetStrokeThickness(flags.force_active);
- const TabStyle::TabSelectionState state = GetSelectionState();
-
// We'll do the entire path calculation in aligned pixels.
// TODO(dfried): determine if we actually want to use `stroke_thickness` as
// the inset in this case.
@@ -217,18 +215,14 @@ SkPath TabStyleViewsImpl::GetPath(TabSty
@@ -222,18 +220,14 @@ SkPath TabStyleViewsImpl::GetPath(TabSty
// tab width (in DIP), not our new, scaled-and-aligned bounds.
float content_corner_radius =
GetTopCornerRadiusForWidth(tab()->width()) * scale;
@@ -80,7 +80,7 @@
float top_left_corner_radius = content_corner_radius;
float top_right_corner_radius = content_corner_radius;
float bottom_left_corner_radius = content_corner_radius;
@@ -839,6 +833,8 @@ float TabStyleViewsImpl::GetHoverOpacity
@@ -849,6 +843,8 @@ float TabStyleViewsImpl::GetHoverOpacity
}
int TabStyleViewsImpl::GetStrokeThickness(bool should_paint_as_active) const {
@@ -131,9 +131,9 @@
alert_indicator_button_->SetBoundsRect(bounds);
+ alert_indicator_right = bounds.right();
}
alert_indicator_button_->UpdateAlertIndicatorAnimation();
alert_indicator_button_->SetVisible(showing_alert_indicator_);
@@ -458,7 +457,9 @@ void Tab::Layout(PassKey) {
@@ -459,7 +458,9 @@ void Tab::Layout(PassKey) {
bool show_title = ShouldRenderAsNormalTab();
if (show_title) {
int title_left = start;
@@ -144,7 +144,7 @@
// When computing the spacing from the favicon, don't count the actual
// icon view width (which will include extra room for the alert
// indicator), but rather the normal favicon width which is what it will
@@ -469,9 +470,7 @@ void Tab::Layout(PassKey) {
@@ -470,9 +471,7 @@ void Tab::Layout(PassKey) {
title_left = std::max(title_left, after_favicon);
}
int title_right = contents_rect.right();
@@ -155,7 +155,7 @@
// Allow the title to overlay the close button's empty border padding.
title_right = close_x - after_title_padding;
}
@@ -1164,7 +1163,7 @@ void Tab::UpdateIconVisibility() {
@@ -1165,7 +1164,7 @@ void Tab::UpdateIconVisibility() {
// left that needs to be considered.
const int close_button_width = GetLayoutConstant(TAB_CLOSE_BUTTON_SIZE) +
GetLayoutConstant(TAB_AFTER_TITLE_PADDING);
@@ -164,7 +164,7 @@
available_width >= (touch_ui ? kTouchMinimumContentsWidthForCloseButtons
: kMinimumContentsWidthForCloseButtons);
@@ -1212,6 +1211,10 @@ void Tab::UpdateIconVisibility() {
@@ -1213,6 +1212,10 @@ void Tab::UpdateIconVisibility() {
large_enough_for_close_button;
if (base::CommandLine::ForCurrentProcess()->HasSwitch("hide-tab-close-buttons"))
showing_close_button_ = false;
@@ -175,7 +175,7 @@
if (showing_close_button_) {
available_width -= close_button_width;
}
@@ -1229,10 +1232,6 @@ void Tab::UpdateIconVisibility() {
@@ -1230,10 +1233,6 @@ void Tab::UpdateIconVisibility() {
}
}
}
@@ -186,7 +186,7 @@
}
bool Tab::ShouldRenderAsNormalTab() const {
@@ -1253,15 +1252,25 @@ void Tab::UpdateTabIconNeedsAttentionBlo
@@ -1254,15 +1253,25 @@ void Tab::UpdateTabIconNeedsAttentionBlo
}
int Tab::GetWidthOfLargestSelectableRegion() const {
@@ -234,34 +234,15 @@
// Sets whether hover cards should appear on mouse hover. Used in browser
--- a/chrome/browser/ui/views/tabs/tab_group_highlight.cc
+++ b/chrome/browser/ui/views/tabs/tab_group_highlight.cc
@@ -53,27 +53,8 @@ SkPath TabGroupHighlight::GetPath() cons
// which is a well-scoped interaction. A dragging group doesn't nestle in with
// the tabs around it, so there are no special cases needed when determining
// its shape.
- const int corner_radius = TabStyle::Get()->GetBottomCornerRadius();
- const int top = GetLayoutConstant(TAB_STRIP_PADDING);
SkPath path;
- path.moveTo(0, bounds().height());
- path.arcTo(corner_radius, corner_radius, 0, SkPath::kSmall_ArcSize,
- SkPathDirection::kCCW, corner_radius,
- bounds().height() - corner_radius);
- path.lineTo(corner_radius, top + corner_radius);
- path.arcTo(corner_radius, corner_radius, 0, SkPath::kSmall_ArcSize,
- SkPathDirection::kCW, 2 * corner_radius, top);
- path.lineTo(bounds().width() - 2 * corner_radius, top);
- path.arcTo(corner_radius, corner_radius, 0, SkPath::kSmall_ArcSize,
- SkPathDirection::kCW, bounds().width() - corner_radius,
- top + corner_radius);
- path.lineTo(bounds().width() - corner_radius,
- bounds().height() - corner_radius);
- path.arcTo(corner_radius, corner_radius, 0, SkPath::kSmall_ArcSize,
- SkPathDirection::kCCW, bounds().width(), bounds().height());
- path.close();
-
return path;
@@ -48,6 +48,8 @@ void TabGroupHighlight::OnPaint(gfx::Can
}
SkPath TabGroupHighlight::GetPath() const {
+ return {};
+
// This path imitates the shape of a tab (see GM2TabStyle::GetPath()). It
// doesn't reuse the exact same GetPath() function because it doesn't need
// much of the complexity there. Group highlights only appear on group drag,
--- a/chrome/browser/ui/views/tabs/tab_close_button.cc
+++ b/chrome/browser/ui/views/tabs/tab_close_button.cc
@@ -41,6 +41,8 @@
@@ -295,7 +276,7 @@
--- a/chrome/browser/ui/views/tabs/tab_group_style.cc
+++ b/chrome/browser/ui/views/tabs/tab_group_style.cc
@@ -91,7 +91,7 @@ gfx::Point TabGroupStyle::GetTitleChipOf
@@ -92,7 +92,7 @@ gfx::Point TabGroupStyle::GetTitleChipOf
const int total_space = GetLayoutConstant(TAB_STRIP_HEIGHT) -
GetEmptyChipSize() -
GetLayoutConstant(TABSTRIP_TOOLBAR_OVERLAP);
@@ -435,7 +416,7 @@
const int start_of_sync_icon = title_chip_insets.left();
--- a/media/base/media_switches.cc
+++ b/media/base/media_switches.cc
@@ -324,7 +324,7 @@ BASE_FEATURE(kPictureInPictureShowWindow
@@ -323,7 +323,7 @@ BASE_FEATURE(kPictureInPictureShowWindow
#endif // !BUILDFLAG(IS_ANDROID)
// Enables user control over muting tab audio from the tab strip.
@@ -446,7 +427,7 @@
// Enables HEVC hardware accelerated decoding.
--- a/chrome/browser/ui/views/tabs/alert_indicator_button.cc
+++ b/chrome/browser/ui/views/tabs/alert_indicator_button.cc
@@ -160,27 +160,8 @@ void AlertIndicatorButton::TransitionToA
@@ -233,27 +233,8 @@ void AlertIndicatorButton::TransitionToA
UpdateIconForAlertState(next_state.value());
}
@@ -476,7 +457,7 @@
alert_state_ = next_state;
if (previous_alert_showing_state != showing_alert_state_) {
@@ -289,20 +270,7 @@ bool AlertIndicatorButton::IsTriggerable
@@ -367,20 +348,7 @@ bool AlertIndicatorButton::IsTriggerable
}
void AlertIndicatorButton::PaintButtonContents(gfx::Canvas* canvas) {
+14 -14
View File
@@ -29,7 +29,7 @@
inline constexpr char kGeminiSettings[] = "browser.gemini_settings";
--- a/chrome/browser/ui/browser_ui_prefs.cc
+++ b/chrome/browser/ui/browser_ui_prefs.cc
@@ -127,6 +127,12 @@ void RegisterBrowserUserPrefs(user_prefs
@@ -130,6 +130,12 @@ void RegisterBrowserUserPrefs(user_prefs
registry->RegisterBooleanPref(prefs::kPinSplitTabButton, false,
pref_registration_flags);
@@ -44,7 +44,7 @@
registry->RegisterBooleanPref(prefs::kWebAppCreateInAppsMenu, true);
--- a/chrome/browser/extensions/api/settings_private/prefs_util.cc
+++ b/chrome/browser/extensions/api/settings_private/prefs_util.cc
@@ -236,6 +236,18 @@ const PrefsUtil::TypedPrefMap& PrefsUtil
@@ -239,6 +239,18 @@ const PrefsUtil::TypedPrefMap& PrefsUtil
(*s_allowlist)[::prefs::kSplitViewDragAndDropEnabled] =
settings_api::PrefType::kBoolean;
@@ -65,7 +65,7 @@
(*s_allowlist)[::prefs::kPinnedActions] = settings_api::PrefType::kList;
--- a/chrome/browser/ui/actions/chrome_action_id.h
+++ b/chrome/browser/ui/actions/chrome_action_id.h
@@ -558,6 +558,8 @@
@@ -566,6 +566,8 @@
#define TOOLBAR_PINNABLE_ACTION_IDS \
E(kActionHome, IDC_HOME) \
E(kActionForward, IDC_FORWARD) \
@@ -116,7 +116,7 @@
void PinnedToolbarActionsModel::MaybeMigrateExistingPinnedStates() {
--- a/chrome/browser/ui/views/toolbar/toolbar_view.cc
+++ b/chrome/browser/ui/views/toolbar/toolbar_view.cc
@@ -451,8 +451,7 @@ void ToolbarView::Init() {
@@ -460,8 +460,7 @@ void ToolbarView::Init() {
#else
// DevTools profiles are OffTheRecord, so hide it there.
show_avatar_toolbar_button = browser_->profile()->IsIncognitoProfile() ||
@@ -126,7 +126,7 @@
#endif
const std::string sab_value = base::CommandLine::ForCurrentProcess()->
@@ -521,6 +520,48 @@ void ToolbarView::Init() {
@@ -530,6 +529,48 @@ void ToolbarView::Init() {
home_->SetVisible(show_home_button_.GetValue());
@@ -175,7 +175,7 @@
InitLayout();
for (auto* button : std::array<views::Button*, 5>{back_, forward_, reload_,
@@ -1234,10 +1275,33 @@ void ToolbarView::OnShowForwardButtonCha
@@ -1238,10 +1279,33 @@ void ToolbarView::OnShowForwardButtonCha
InvalidateLayout();
}
@@ -211,7 +211,7 @@
// Update the internal margins for touch layout.
--- a/chrome/browser/ui/views/toolbar/toolbar_view.h
+++ b/chrome/browser/ui/views/toolbar/toolbar_view.h
@@ -277,6 +277,16 @@ class ToolbarView : public views::Access
@@ -278,6 +278,16 @@ class ToolbarView : public views::Access
void OnShowHomeButtonChanged();
@@ -228,7 +228,7 @@
void OnTouchUiChanged();
void UpdateClipPath();
@@ -327,6 +337,16 @@ class ToolbarView : public views::Access
@@ -329,6 +339,16 @@ class ToolbarView : public views::Access
// Controls whether or not a home button should be shown on the toolbar.
BooleanPrefMember show_home_button_;
@@ -399,7 +399,7 @@
const auto add_action =
[&actions, this, &provider, scale_factor, bwi](
actions::ActionId id,
@@ -247,17 +347,16 @@ void CustomizeToolbarHandler::ListAction
@@ -258,17 +358,16 @@ void CustomizeToolbarHandler::ListAction
actions.push_back(std::move(mojo_action));
};
@@ -423,7 +423,7 @@
if (features::HasTabSearchToolbarButton()) {
add_action(kActionTabSearch,
@@ -323,6 +422,21 @@ void CustomizeToolbarHandler::PinAction(
@@ -334,6 +433,21 @@ void CustomizeToolbarHandler::PinAction(
case kActionSplitTab:
prefs()->SetBoolean(prefs::kPinSplitTabButton, pin);
break;
@@ -445,7 +445,7 @@
default:
model_->UpdatePinnedState(chrome_action.value(), pin);
const std::optional<std::string> metrics_name =
@@ -376,6 +490,31 @@ void CustomizeToolbarHandler::OnPinSplit
@@ -387,6 +501,31 @@ void CustomizeToolbarHandler::OnPinSplit
prefs()->GetBoolean(prefs::kPinSplitTabButton));
}
@@ -493,7 +493,7 @@
PrefService* prefs() const;
--- a/chrome/browser/ui/views/extensions/extensions_toolbar_container.cc
+++ b/chrome/browser/ui/views/extensions/extensions_toolbar_container.cc
@@ -552,7 +552,9 @@ void ExtensionsToolbarContainer::AnchorA
@@ -554,7 +554,9 @@ void ExtensionsToolbarContainer::AnchorA
// Fix the position of widgets. Without this fix, extension-installed-bubble
// and extension-uninstall-dialog may be out of the window border on Linux.
@@ -504,7 +504,7 @@
{
views::View* anchor_view = BrowserView::GetBrowserViewForBrowser(browser_)
->toolbar_button_provider()->GetAppMenuButton();
@@ -962,7 +964,9 @@ void ExtensionsToolbarContainer::UpdateC
@@ -966,7 +968,9 @@ void ExtensionsToolbarContainer::UpdateC
}
bool ExtensionsToolbarContainer::ShouldContainerBeVisible() const {
@@ -517,7 +517,7 @@
// The container (and extensions-menu button) should not be visible if we have
--- a/chrome/app/generated_resources.grd
+++ b/chrome/app/generated_resources.grd
@@ -10358,6 +10358,9 @@ Keep your key file in a safe place. You
@@ -10466,6 +10466,9 @@ Keep your key file in a safe place. You
<message name="IDS_ACCNAME_FIND" desc="The accessible name for the find button.">
Find
</message>

Some files were not shown because too many files have changed in this diff Show More