Compare commits

..

15 Commits

Author SHA1 Message Date
wukko f46cc85e7c revision: bump to 3 2025-10-07 20:34:30 +06:00
jj 6f6679d446 helium/search: move search patches into core subdir 2025-10-07 13:57:35 +00:00
jj 662041df27 helium: consolidate search engine patches
- move all search patches together in series
- extract google re-config into separate patch
- merge kagi + ddg patch into consolidated "search
  engine defaults" patch
2025-10-07 13:46:46 +00:00
wukko 86710deb6a helium/ui/tabs: fix tab groups ui
- tabs no longer have a stroke when they're in a tab group
- the line under the tab group no longer jumps in size depending on a selected tab and is properly aligned
2025-10-07 18:57:20 +06:00
thenhnn 8f51e9f904 helium/core: add an option to open new tabs next to active one (#210) 2025-10-07 18:56:27 +06:00
wukko f01e2d502a helium/ui/tabs: fix unexpected shifting on hover
fixes #127
2025-10-07 01:06:07 +06:00
wukko 5ed9e4cff3 helium/core: exclude broken/irrelevant flags 2025-10-07 00:29:23 +06:00
wukko 0fbca2dcbd helium/core: disable touch ui 2025-10-06 23:33:53 +06:00
wukko 1da4771ecd helium/hop/pwm: refactor 2025-10-06 23:32:56 +06:00
jj 7cc782cf18 helium/core: load managed storage manifests for component extensions
fixes #209
2025-10-06 16:17:53 +00:00
jj eff0437c87 helium/settings: re-enable fedcm settings page 2025-10-06 13:22:26 +00:00
jj 6eaf98d1c5 patches/ungoogled-chromium: re-enable fedcm requests
fixes #158
2025-10-06 13:22:26 +00:00
jj 739f2f2fd2 helium/ui: remove webstore link from theme side panel page
fixes #102
2025-10-06 13:22:26 +00:00
Joshua Higgins 1fd0941818 helium/settings: display Quad9 option in Secure DNS settings (#188) 2025-10-04 18:20:07 +02:00
wukko 12534c0398 ci/bump-platform: update bot user to helium-bot 2025-10-04 20:25:59 +06:00
29 changed files with 748 additions and 170 deletions
+2 -2
View File
@@ -83,8 +83,8 @@ runs:
# commit, push, make pr
TITLE="update: helium $version_after"
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config user.name "helium-bot"
git config user.email "helium-bot@imput.net"
git add -u patches helium-chromium revision.txt
if ! git status | tail -1 | grep -q 'nothing to commit'; then
git commit -m "$TITLE"
@@ -7464,37 +7464,3 @@
{tab_groups::prefs::kAutoPinNewTabGroups,
{syncable_prefs_ids::kAutoPinNewTabGroups, syncer::PREFERENCES,
PrefSensitivity::kNone, MergeBehavior::kNone}},
--- a/content/browser/webid/request_service.cc
+++ b/content/browser/webid/request_service.cc
@@ -192,31 +192,6 @@ RequestService::~RequestService() {
void RequestService::Create(
RenderFrameHost* host,
mojo::PendingReceiver<blink::mojom::FederatedAuthRequest> receiver) {
- CHECK(host);
-
- BrowserContext* browser_context = host->GetBrowserContext();
- raw_ptr<FederatedIdentityApiPermissionContextDelegate>
- api_permission_context =
- browser_context->GetFederatedIdentityApiPermissionContext();
- raw_ptr<FederatedIdentityAutoReauthnPermissionContextDelegate>
- auto_reauthn_permission_context =
- browser_context->GetFederatedIdentityAutoReauthnPermissionContext();
- raw_ptr<FederatedIdentityPermissionContextDelegate> permission_context =
- browser_context->GetFederatedIdentityPermissionContext();
- raw_ptr<IdentityRegistry> identity_registry =
- IdentityRegistry::FromWebContents(WebContents::FromRenderFrameHost(host));
-
- if (!api_permission_context || !auto_reauthn_permission_context ||
- !permission_context) {
- return;
- }
-
- // RequestService owns itself. It will self-destruct when a mojo
- // interface error occurs, the RenderFrameHost is deleted, or the
- // RenderFrameHost navigates to a new document.
- new RequestService(*host, api_permission_context,
- auto_reauthn_permission_context, permission_context,
- identity_registry, std::move(receiver));
}
RequestService& RequestService::CreateForTesting(
@@ -29,7 +29,7 @@
#endif // CHROME_BROWSER_UNGOOGLED_FLAG_ENTRIES_H_
--- a/components/webui/flags/flags_state.cc
+++ b/components/webui/flags/flags_state.cc
@@ -234,6 +234,7 @@ std::string GetCombinedOriginListValue(c
@@ -233,6 +233,7 @@ std::string GetCombinedOriginListValue(c
command_line.GetSwitchValueASCII(command_line_switch);
const std::string new_value =
flags_storage.GetOriginListFlag(internal_entry_name);
@@ -37,7 +37,7 @@
return CombineAndSanitizeOriginLists(existing_value, new_value);
}
@@ -484,6 +485,7 @@ void FlagsState::SetOriginListFlag(const
@@ -483,6 +484,7 @@ void FlagsState::SetOriginListFlag(const
const std::string& value,
FlagsStorage* flags_storage) {
const std::string new_value =
@@ -11,7 +11,7 @@
#endif // CHROME_BROWSER_UNGOOGLED_FLAG_ENTRIES_H_
--- a/components/webui/flags/flags_state.cc
+++ b/components/webui/flags/flags_state.cc
@@ -235,6 +235,7 @@ std::string GetCombinedOriginListValue(c
@@ -234,6 +234,7 @@ std::string GetCombinedOriginListValue(c
const std::string new_value =
flags_storage.GetOriginListFlag(internal_entry_name);
if (command_line_switch == "custom-ntp") return existing_value.empty() ? new_value : existing_value;
@@ -19,7 +19,7 @@
return CombineAndSanitizeOriginLists(existing_value, new_value);
}
@@ -486,6 +487,7 @@ void FlagsState::SetOriginListFlag(const
@@ -485,6 +486,7 @@ void FlagsState::SetOriginListFlag(const
FlagsStorage* flags_storage) {
const std::string new_value =
internal_name == "custom-ntp" ? value :
@@ -1,41 +0,0 @@
--- a/components/webui/flags/flags_state.cc
+++ b/components/webui/flags/flags_state.cc
@@ -31,6 +31,7 @@
#include "base/strings/utf_string_conversions.h"
#include "base/values.h"
#include "build/build_config.h"
+#include "chrome/browser/unexpire_flags.h"
#include "components/variations/field_trial_config/field_trial_util.h"
#include "components/variations/variations_associated_data.h"
#include "components/variations/variations_switches.h"
@@ -686,14 +687,19 @@ void FlagsState::GetFlagFeatureEntries(
int current_platform = GetCurrentPlatform();
for (const FeatureEntry& entry : feature_entries_) {
+ std::string desc = entry.visible_description;
if (skip_feature_entry.Run(entry)) {
+ if (flags::IsFlagExpired(flags_storage, entry.internal_name)) {
+ desc.insert(0, "!!! NOTE: THIS FLAG IS EXPIRED AND MAY STOP FUNCTIONING OR BE REMOVED SOON !!! ");
+ } else {
continue;
+ }
}
base::Value::Dict data;
data.Set("internal_name", entry.internal_name);
data.Set("name", entry.visible_name);
- data.Set("description", entry.visible_description);
+ data.Set("description", desc);
base::Value::List supported_platforms;
AddOsStrings(entry.supported_platforms, &supported_platforms);
@@ -1102,7 +1108,9 @@ bool FlagsState::IsSupportedFeature(cons
continue;
}
if (delegate_ && delegate_->ShouldExcludeFlag(storage, entry)) {
+ if (!flags::IsFlagExpired(storage, entry.internal_name)) {
continue;
+ }
}
return true;
}
@@ -558,15 +558,6 @@
html_source->AddString("discardRingTreatmentLearnMoreUrl",
chrome::kDiscardRingTreatmentLearnMoreUrl);
@@ -3533,7 +3508,7 @@ void AddSiteSettingsStrings(content::Web
base::FeatureList::IsEnabled(blink::features::kWebPrinting));
html_source->AddBoolean("enableFederatedIdentityApiContentSetting",
- base::FeatureList::IsEnabled(features::kFedCm));
+ false);
base::CommandLine& cmd = *base::CommandLine::ForCurrentProcess();
html_source->AddBoolean(
--- a/chrome/browser/ui/webui/settings/settings_ui.cc
+++ b/chrome/browser/ui/webui/settings/settings_ui.cc
@@ -576,27 +576,20 @@ SettingsUI::SettingsUI(content::WebUI* w
@@ -0,0 +1,144 @@
--- a/chrome/browser/extensions/api/storage/managed_value_store_cache.cc
+++ b/chrome/browser/extensions/api/storage/managed_value_store_cache.cc
@@ -94,9 +94,11 @@ class ManagedValueStoreCache::ExtensionT
// Loads the schemas of the |extensions| and passes a ComponentMap to
// Register().
+ void LoadSchemasOnUIThread(ExtensionSet extensions);
static void LoadSchemasOnFileTaskRunner(ExtensionSet extensions,
base::WeakPtr<ExtensionTracker> self);
- void Register(const policy::ComponentMap* components);
+ void Register(const policy::ComponentMap* components,
+ ExtensionSet extensions);
raw_ptr<Profile> profile_;
policy::PolicyDomain policy_domain_;
@@ -175,6 +177,22 @@ bool ManagedValueStoreCache::ExtensionTr
return extension->manifest()->FindPath(manifest_keys::kStorageManagedSchema);
}
+void ManagedValueStoreCache::ExtensionTracker::LoadSchemasOnUIThread(ExtensionSet extensions) {
+ auto components = std::make_unique<policy::ComponentMap>();
+
+ for (const auto& extension : extensions) {
+ if (!Manifest::IsComponentLocation(extension->location())) {
+ continue;
+ }
+
+ (*components)[extension->id()] =
+ StorageSchemaManifestHandler::GetComponentSchema(extension.get())
+ .value_or(policy::Schema());
+ }
+
+ schema_registry_->RegisterComponents(policy_domain_, *components);
+}
+
// static
void ManagedValueStoreCache::ExtensionTracker::LoadSchemasOnFileTaskRunner(
ExtensionSet extensions,
@@ -199,14 +217,21 @@ void ManagedValueStoreCache::ExtensionTr
content::GetUIThreadTaskRunner({})->PostTask(
FROM_HERE, base::BindOnce(&ExtensionTracker::Register, self,
- base::Owned(components.release())));
+ base::Owned(components.release()),
+ std::move(extensions)));
}
void ManagedValueStoreCache::ExtensionTracker::Register(
- const policy::ComponentMap* components) {
+ const policy::ComponentMap* components,
+ ExtensionSet extensions) {
DCHECK_CURRENTLY_ON(BrowserThread::UI);
schema_registry_->RegisterComponents(policy_domain_, *components);
+ // Our uBlock Origin component has a policy schema, but is
+ // not anywhere on the actual filesystem - so we need to pull
+ // it out on the UI thread from resources.
+ LoadSchemasOnUIThread(std::move(extensions));
+
// The first SetExtensionsDomainsReady() call is performed after the
// ExtensionSystem is ready, even if there are no managed extensions. It will
// trigger a loading of the initial policy for any managed extensions, and
--- a/chrome/common/extensions/api/storage/storage_schema_manifest_handler.cc
+++ b/chrome/common/extensions/api/storage/storage_schema_manifest_handler.cc
@@ -15,6 +15,8 @@
#include "base/types/expected.h"
#include "base/types/expected_macros.h"
#include "components/policy/core/common/schema.h"
+#include "extensions/browser/extensions_browser_client.h"
+#include "extensions/browser/component_extension_resource_manager.h"
#include "extensions/common/extension.h"
#include "extensions/common/install_warning.h"
#include "extensions/common/manifest.h"
@@ -23,6 +25,7 @@
#include "extensions/common/permissions/api_permission.h"
#include "extensions/common/permissions/api_permission_set.h"
#include "extensions/common/permissions/permissions_info.h"
+#include "ui/base/resource/resource_bundle.h"
using extensions::manifest_keys::kStorageManagedSchema;
@@ -34,6 +37,33 @@ StorageSchemaManifestHandler::~StorageSc
// static
base::expected<policy::Schema, std::string>
+StorageSchemaManifestHandler::GetComponentSchema(const Extension* extension) {
+ auto* manager =
+ extensions::ExtensionsBrowserClient::Get()->GetComponentExtensionResourceManager();
+ const ui::ResourceBundle& rb = ui::ResourceBundle::GetSharedInstance();
+
+ int resource_id;
+ std::string path;
+ if (const std::string* temp =
+ extension->manifest()->FindStringPath(kStorageManagedSchema)) {
+ path = *temp;
+ } else {
+ return base::unexpected(base::StringPrintf(
+ "%s does not have a schema path", extension->id()));
+ }
+
+ if (!manager->IsComponentExtensionResource(
+ extension->path(), base::FilePath(path), &resource_id)) {
+ return base::unexpected(base::StringPrintf(
+ "%s/%s is not a component extension resource",
+ base::UTF16ToUTF8(extension->path().LossyDisplayName()), path));
+ }
+
+ return policy::Schema::Parse(rb.LoadDataResourceString(resource_id));
+}
+
+// static
+base::expected<policy::Schema, std::string>
StorageSchemaManifestHandler::GetSchema(const Extension* extension) {
std::string path;
if (const std::string* temp =
--- a/chrome/common/extensions/api/storage/storage_schema_manifest_handler.h
+++ b/chrome/common/extensions/api/storage/storage_schema_manifest_handler.h
@@ -29,6 +29,8 @@ class StorageSchemaManifestHandler : pub
// If the schema is invalid then the Schema returned is invalid too, and
// the failure reason is stored in |error|.
// This function does file I/O and must be called on a thread that allows I/O.
+ static base::expected<policy::Schema, std::string> GetComponentSchema(
+ const Extension* extension);
static base::expected<policy::Schema, std::string> GetSchema(
const Extension* extension);
--- a/chrome/common/extensions/BUILD.gn
+++ b/chrome/common/extensions/BUILD.gn
@@ -83,6 +83,7 @@ source_set("extensions") {
"//components/url_formatter",
"//components/version_info",
"//extensions:extensions_resources",
+ "//extensions/browser",
"//extensions/common",
"//extensions/common:common_constants",
"//extensions/common:core_api_provider",
@@ -90,6 +91,7 @@ source_set("extensions") {
"//extensions/strings",
"//ui/gfx/geometry",
"//ui/message_center/public/cpp",
+ "//ui/base",
"//url",
]
-12
View File
@@ -1,12 +0,0 @@
--- a/third_party/search_engines_data/resources/definitions/regional_settings.json
+++ b/third_party/search_engines_data/resources/definitions/regional_settings.json
@@ -10,7 +10,8 @@
"&ecosia",
"&bing",
"&break_stuff_google",
- "&qwant"
+ "&qwant",
+ "&kagi"
]
}
},
+2 -2
View File
@@ -676,7 +676,7 @@
--- a/components/search_engines/template_url.cc
+++ b/components/search_engines/template_url.cc
@@ -1689,6 +1689,8 @@ bool TemplateURL::IsBetterThanConflictin
@@ -1685,6 +1685,8 @@ bool TemplateURL::IsBetterThanConflictin
: base::Time(),
// Prefer engines that CANNOT be auto-replaced.
!engine->safe_for_autoreplace(),
@@ -722,7 +722,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
@@ -1958,6 +1958,9 @@ void AddPrivacyStrings(content::WebUIDat
@@ -1956,6 +1956,9 @@ void AddPrivacyStrings(content::WebUIDat
{"heliumServicesToggle", IDS_SETTINGS_HELIUM_SERVICES_TOGGLE},
{"heliumServicesToggleDescription",
IDS_SETTINGS_HELIUM_SERVICES_TOGGLE_DESCRIPTION},
@@ -0,0 +1,17 @@
--- a/ui/base/pointer/touch_ui_controller.cc
+++ b/ui/base/pointer/touch_ui_controller.cc
@@ -175,13 +175,7 @@ void TouchUiController::TouchUiScoperFor
// static
TouchUiController* TouchUiController::Get() {
static base::NoDestructor<TouchUiController> instance([] {
- const std::string switch_value =
- base::CommandLine::ForCurrentProcess()->GetSwitchValueASCII(
- switches::kTopChromeTouchUi);
- if (switch_value == switches::kTopChromeTouchUiDisabled)
- return TouchUiState::kDisabled;
- const bool enabled = switch_value == switches::kTopChromeTouchUiEnabled;
- return enabled ? TouchUiState::kEnabled : TouchUiState::kAuto;
+ return TouchUiState::kDisabled;
}());
return instance.get();
}
@@ -0,0 +1,300 @@
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -13311,11 +13311,278 @@ const FeatureEntry kFeatureEntries[] = {
// AboutFlagsHistogramTest unit test to verify this process).
};
+// Flags that either break Helium functionality or are not relevant to Helium
+constexpr auto kExcludedFlags = base::MakeFixedFlatSet<std::string_view>({
+ // Misc UI features
+ "enable-immersive-fullscreen-toolbar",
+ "windows11-mica-titlebar",
+ "omnibox-toolbelt",
+ "webium",
+ "webui-omnibox-popup",
+ "top-chrome-touch-ui",
+
+ // Google's broken canvas noising flag,
+ // replaced by Helium's fingerprinting-canvas-noise
+ "enable-canvas-noise",
+
+ // Google's fingerprinting protection blocklist
+ // Helium blocks fingerprinting by default, and these don't even work
+ "enable-fingerprinting-protection-blocklist",
+ "enable-fingerprinting-protection-blocklist-incognito",
+
+ // Google's experimental APIs that don't work in Helium
+ // due to missing model binaries
+ "translation-api",
+
+ // NTP
+ "omnibox-zero-suggest-prefetching",
+ "omnibox-mia-zps",
+ "ntp-calendar-module",
+ "ntp-drive-module-no-sync-requirement",
+ "ntp-module-sign-in-requirement",
+ "ntp-ogb-async-bar-parts",
+ "ntp-outlook-calendar-module",
+ "ntp-sharepoint-module",
+ "ntp-tab-groups-module",
+ "ntp-tab-groups-module-zero-state",
+ "ntp-microsoft-authentication-module",
+
+ // Google Account & Sync
+ "use-sync-sandbox",
+ "offer-migration-to-dice-users",
+ "web-signin-leads-to-implicitly-signed-in-state",
+ "enable-extensions-explicit-browser-signin",
+ "enable-history-sync-optin",
+ "sync-enable-bookmarks-in-transport-mode",
+ "reading-list-enable-sync-transport-mode-upon-sign-in",
+ "enable-history-sync-optin-expansion-pill",
+ "collaboration-shared-tab-group-account-data",
+ "enable-bookmarks-selected-type-on-signin-for-testing",
+ "enable-cross-device-pref-tracker",
+ "pdf-save-to-drive",
+
+ // Gemini Nano
+ "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",
+
+ // AI Mode
+ "ai-mode-omnibox-entry-point",
+ "aim-server-eligibility",
+ "hide-aim-omnibox-entrypoint-on-user-input",
+ "omnibox-allow-ai-mode-matches",
+ "omnibox-aim-shortcut-typed-state",
+ "enable-lens-search-aim-m3",
+ "ntp-compose-entrypoint",
+ "ntp-composebox",
+ "composebox-uses-chrome-compose-client",
+ "compose-selection-nudge",
+
+ // Shopping stuff
+ "product-specifications",
+ "compare-confirmation-toast",
+ "shopping-list",
+ "shopping-alternate-server",
+ "price-tracking-subscription-service-locale-key",
+ "price-tracking-subscription-service-product-version",
+ "track-by-default-mobile",
+ "price-insights",
+ "discount-on-navigation",
+ "discount-autofill",
+ "merchant-trust",
+
+ // History
+ "history-embeddings",
+ "history-embeddings-answers",
+
+ // Optimization Guide
+ "optimization-guide-debug-logs",
+ "optimization-guide-model-execution",
+ "optimization-guide-on-device-model",
+ "optimization-guide-personalized-fetching",
+ "optimization-guide-push-notifications",
+ "optimization-guide-enable-dogfood-logging",
+ "privacy-policy-insights",
+
+ // Google Lens
+ "enable-lens-overlay",
+ "enable-lens-overlay-image-context-menu-actions",
+ "enable-lens-overlay-updated-visuals",
+ "enable-lens-overlay-edu-action-chip",
+ "enable-lens-overlay-entrypoint-label-alt",
+ "enable-lens-overlay-text-selection-context-menu-entrypoint",
+ "lens-overlay-omnibox-entry-point",
+ "lens-search-side-panel-default-width-change",
+ "lens-overlay-permission-bubble-alt",
+ "enable-lens-overlay-simplified-selection",
+ "enable-lens-overlay-translate-button",
+ "enable-lens-overlay-latency-optimizations",
+ "enable-lens-overlay-translate-languages",
+ "enable-lens-overlay-side-panel-open-in-new-tab",
+ "enable-lens-search-side-panel-new-feedback",
+ "enable-lens-overlay-back-to-page",
+ "enable-lens-overlay-straight-to-srp",
+ "enable-lens-overlay-force-empty-csb-query",
+ "contextual-search-open-lens-action-uses-thumbnail",
+
+ // Google Assistant
+ "enable-assistant-dsp",
+ "enable-assistant-stereo-input",
+ "enable-assistant-aec",
+
+ // User education
+ "ntp-middle-slot-promo-dismissal",
+ "ntp-mobile-promo",
+ "force-ntp-mobile-promo",
+ "enable-educational-tip-default-browser-promo-card",
+ "force-startup-signin-promo",
+ "group-promo-prototype",
+ "group-promo-prototype-cpa",
+ "avatar-button-sync-promo",
+ "replace-sync-promos-with-sign-in-promos-desktop",
+ "replace-sync-promos-with-sign-in-promos",
+ "clank-default-browser-promo-role-manager",
+ "clank-default-browser-promo2",
+ "policy-promotion-banner-flag",
+ "management-promotion-banner-flag",
+ "enable-ntp-browser-promos",
+ "mobile-promo-on-desktop",
+ "in-product-help-demo-mode-choice",
+
+ // GLIC (AI agent stuff)
+ "glic",
+ "glic-z-order-changes",
+ "glic-actor",
+ "glic-detached",
+ "glic-panel-reset-top-chrome-button",
+ "glic-panel-reset-on-start",
+ "glic-panel-set-position-on-drag",
+ "glic-panel-reset-on-session-timeout",
+ "glic-panel-reset-size-and-location-on-open",
+ "glic-pre-warming",
+ "glic-fre-pre-warming",
+ "browsing-history-actor-integration-M1",
+
+ // Safety Hub
+ "safety-hub",
+ "safety-hub-magic-stack",
+ "safety-hub-followup",
+ "safety-hub-android-survey",
+ "safety-hub-android-survey-v2",
+ "safety-hub-weak-reused-passwords",
+ "safety-hub-local-passwords-module",
+ "safety-hub-unified-passwords-module",
+ "safety-hub-one-off-survey",
+ "safety-hub-services-on-start-up",
+ "safety-hub-disruptive-notification-revocation",
+ "safety-hub-unused-permission-revocation-for-all-surfaces",
+
+ // Privacy Sandbox
+ "privacy-sandbox-internals",
+ "privacy-sandbox-enrollment-overrides",
+ "privacy-sandbox-ads-api-ux-enhancements",
+ "privacy-sandbox-ad-topics-content-parity",
+ "privacy-guide-ai-settings",
+
+ // Password Manager
+ "biometric-reauth-password-filling",
+ "password-manual-fallback-available",
+ "save-passwords-contextual-ui",
+ "password-form-grouped-affiliations",
+ "password-form-clientside-classifier",
+ "three-button-password-save-dialog",
+ "improved-password-change-service",
+ "fill-recovery-password",
+ "apply-clientside-model-predictions-for-password-types",
+ "enable-site-isolation-for-password-sites",
+ "pwm-show-suggestions-on-autofocus",
+
+ // Reading Mode
+ "read-anything-read-aloud",
+ "read-anything-read-aloud-phrase-highlighting",
+ "read-anything-images-via-algorithm",
+ "read-anything-docs-integration",
+ "read-anything-docs-load-more-button",
+
+ // Autofill
+ "reintroduce-hybrid-passkey-entry-point",
+ "fill-on-account-select",
+ "show-autofill-type-predictions",
+ "autofill-more-prominent-popup",
+ "autofill-payments-field-swapping",
+ "autofill-show-bubbles-based-on-priorities",
+ "enable-show-autofill-signatures",
+ "enable-autofill-credit-card-upload",
+ "autofill-enable-offers-in-clank-keyboard-accessory",
+ "fedcm-autofill",
+ "autofill-enable-ranking-formula-address-profiles",
+ "autofill-enable-ranking-formula-credit-cards",
+ "sync-autofill-wallet-credential-data",
+ "autofill-enable-cvc-storage-and-filling",
+ "autofill-enable-prefetching-risk-data-for-retrieval",
+ "autofill-enable-fpan-risk-based-authentication",
+ "autofill-enable-email-or-loyalty-cards-filling",
+ "autofill-enable-loyalty-cards-filling",
+ "autofill-enable-syncing-of-loyalty-cards",
+ "autofill-enable-vcn-3ds-authentication",
+ "autofill-shared-storage-server-card-data",
+ "autofill-enable-syncing-of-pix-bank-accounts",
+ "autofill-enable-card-benefits-for-american-express",
+ "autofill-enable-card-benefits-sync",
+ "autofill-sync-ewallet-accounts",
+ "autofill-unmask-card-request-timeout",
+ "autofill-enable-cvc-storage-and-filling-enhancement",
+ "autofill-enable-buy-now-pay-later",
+ "autofill-enable-buy-now-pay-later-syncing",
+ "autofill-enable-cvc-storage-and-filling-standalone-form-enhancement",
+ "autofill-enable-card-benefits-iph",
+ "autofill-enable-card-info-runtime-retrieval",
+ "autofill-enable-save-and-fill",
+ "autofill-improved-labels",
+ "autofill-third-party-mode-content-provider",
+ "autofill-enable-card-benefits-for-bmo",
+ "autofill-enable-allowlist-for-bmo-card-category-benefits",
+ "autofill-enable-amount-extraction",
+ "autofill-enable-amount-extraction-allowlist",
+ "third-party-disable-chrome-autofill-settings-screen",
+ "iph-autofill-credit-card-benefit-feature",
+ "autofill-enable-new-fop-display-desktop",
+ "autofill-enable-amount-extraction-testing",
+ "autofill-vcn-enroll-strike-expiry-time",
+ "autofill-enable-flat-rate-card-benefits-from-curinos",
+ "autofill-enable-multiple-request-in-virtual-card-downstream-enrollment",
+ "autofill-require-cvc-for-possible-card-update",
+ "disable-autofill-strike-system",
+ "autofill-enable-buy-now-pay-later-for-klarna",
+ "autofill-enable-downstream-card-awareness-iph",
+ "autofill-enable-buy-now-pay-later-for-externally-linked",
+ "autofill-enable-separate-pix-preference-item",
+ "autofill-manual-testing-data",
+ "autofill-enable-support-for-home-and-work",
+ "autofill-enable-support-for-name-and-email-profile",
+ "autofill-update-context-for-web-contents",
+
+ // Add new entries above this line and categorize them accordingly.
+});
+
+const base::NoDestructor<std::vector<FeatureEntry>> kHeliumFeatureEntries([] {
+ std::vector<FeatureEntry> filtered;
+ for (const auto& entry : kFeatureEntries) {
+ if (!kExcludedFlags.contains(entry.internal_name)) {
+ filtered.push_back(entry);
+ }
+ }
+ return filtered;
+}());
+
class FlagsStateSingleton : public flags_ui::FlagsState::Delegate {
public:
FlagsStateSingleton()
: flags_state_(
- std::make_unique<flags_ui::FlagsState>(kFeatureEntries, this)) {}
+ std::make_unique<flags_ui::FlagsState>(*kHeliumFeatureEntries, this)) {}
FlagsStateSingleton(const FlagsStateSingleton&) = delete;
FlagsStateSingleton& operator=(const FlagsStateSingleton&) = delete;
~FlagsStateSingleton() override = default;
@@ -13334,7 +13601,7 @@ class FlagsStateSingleton : public flags
void RestoreDefaultState() {
flags_state_ =
- std::make_unique<flags_ui::FlagsState>(kFeatureEntries, this);
+ std::make_unique<flags_ui::FlagsState>(*kHeliumFeatureEntries, this);
}
private:
@@ -13659,7 +13926,7 @@ base::span<const FeatureEntry> GetFeatur
!entries_for_testing->empty()) {
return *entries_for_testing;
}
- return kFeatureEntries;
+ return *kHeliumFeatureEntries;
}
} // namespace testing
@@ -0,0 +1,103 @@
--- a/chrome/app/settings_strings.grdp
+++ b/chrome/app/settings_strings.grdp
@@ -257,6 +257,9 @@
<message name="IDS_SETTINGS_COLOR_SCHEME_MODE" desc="Text of the label for selecting a color scheme mode for the browser.">
Mode
</message>
+ <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>
<message name="IDS_SETTINGS_SHOW_HOME_BUTTON" desc="Label for the checkbox which enables or disables showing the home button in the toolbar.">
Show home button
</message>
--- a/chrome/browser/extensions/api/settings_private/prefs_util.cc
+++ b/chrome/browser/extensions/api/settings_private/prefs_util.cc
@@ -221,6 +221,10 @@ const PrefsUtil::TypedPrefMap& PrefsUtil
(*s_allowlist)[::prefs::kUseCustomChromeFrame] =
settings_api::PrefType::kBoolean;
#endif
+
+ (*s_allowlist)[::prefs::kNewTabNextToActive] =
+ settings_api::PrefType::kBoolean;
+
(*s_allowlist)[::prefs::kShowHomeButton] = settings_api::PrefType::kBoolean;
(*s_allowlist)[::prefs::kShowForwardButton] =
settings_api::PrefType::kBoolean;
--- a/chrome/browser/resources/settings/appearance_page/appearance_page.html
+++ b/chrome/browser/resources/settings/appearance_page/appearance_page.html
@@ -173,6 +173,11 @@
label="$i18n{showBookmarksBar}">
</settings-toggle-button>
+ <settings-toggle-button class="hr" id="newTabNextToActive"
+ pref="{{prefs.helium.browser.new_tab_next_to_active}}"
+ label="$i18n{openNewTabNextToActive}">
+ </settings-toggle-button>
+
<settings-toggle-button class="hr" id="showSavedTabGroups"
pref="{{prefs.bookmark_bar.show_tab_groups}}"
label="$i18n{showTabGroupsInBookmarksBar}">
--- a/chrome/browser/ui/browser_ui_prefs.cc
+++ b/chrome/browser/ui/browser_ui_prefs.cc
@@ -104,6 +104,8 @@ void RegisterBrowserUserPrefs(user_prefs
user_prefs::PrefRegistrySyncable::SYNCABLE_PREF;
#endif
+ registry->RegisterBooleanPref(prefs::kNewTabNextToActive, false);
+
registry->RegisterBooleanPref(prefs::kHomePageIsNewTabPage, true,
pref_registration_flags);
registry->RegisterBooleanPref(prefs::kShowHomeButton, false,
--- a/chrome/browser/ui/tabs/tab_strip_model.cc
+++ b/chrome/browser/ui/tabs/tab_strip_model.cc
@@ -81,12 +81,14 @@
#include "chrome/browser/web_applications/policy/web_app_policy_manager.h"
#include "chrome/browser/web_applications/web_app_provider.h"
#include "chrome/browser/web_applications/web_app_tab_helper.h"
+#include "chrome/common/pref_names.h"
#include "chrome/common/webui_url_constants.h"
#include "components/commerce/core/commerce_utils.h"
#include "components/content_settings/core/browser/host_content_settings_map.h"
#include "components/content_settings/core/common/content_settings.h"
#include "components/content_settings/core/common/content_settings_types.h"
#include "components/feature_engagement/public/feature_constants.h"
+#include "components/prefs/pref_service.h"
#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"
@@ -1545,7 +1547,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()) {
- index = count();
+ if (count() >= 1 && profile_->GetPrefs()->GetBoolean(prefs::kNewTabNextToActive)) {
+ index = active_index() + 1;
+ } else {
+ index = count();
+ }
}
}
--- a/chrome/browser/ui/webui/settings/settings_localized_strings_provider.cc
+++ b/chrome/browser/ui/webui/settings/settings_localized_strings_provider.cc
@@ -510,6 +510,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},
+ {"openNewTabNextToActive", IDS_SETTINGS_NEW_TAB_NEXT_TO_ACTIVE_BUTTON},
{"showHomeButton", IDS_SETTINGS_SHOW_HOME_BUTTON},
{"showBookmarksBar", IDS_SETTINGS_SHOW_BOOKMARKS_BAR},
{"allowSplitViewDragAndDrop",
--- a/chrome/common/pref_names.h
+++ b/chrome/common/pref_names.h
@@ -1315,6 +1315,10 @@ inline constexpr char
"restricted_managed_guest_session_extension_cleanup_exempt_list";
#endif // BUILDFLAG(IS_CHROMEOS)
+// A boolean pref set to true if new tabs should be created to the next of current active one,
+// instead of tab strip end.
+inline constexpr char kNewTabNextToActive[] = "helium.browser.new_tab_next_to_active";
+
// A boolean pref set to true if a Home button to open the Home pages should be
// visible on the toolbar.
inline constexpr char kShowHomeButton[] = "browser.show_home_button";
@@ -201,7 +201,7 @@
</div>
--- a/chrome/browser/ui/webui/settings/settings_localized_strings_provider.cc
+++ b/chrome/browser/ui/webui/settings/settings_localized_strings_provider.cc
@@ -1958,6 +1958,10 @@ void AddPrivacyStrings(content::WebUIDat
@@ -1956,6 +1956,10 @@ void AddPrivacyStrings(content::WebUIDat
{"heliumServicesToggle", IDS_SETTINGS_HELIUM_SERVICES_TOGGLE},
{"heliumServicesToggleDescription",
IDS_SETTINGS_HELIUM_SERVICES_TOGGLE_DESCRIPTION},
@@ -0,0 +1,43 @@
--- a/components/search_engines/template_url_prepopulate_data.cc
+++ b/components/search_engines/template_url_prepopulate_data.cc
@@ -235,7 +235,7 @@ std::unique_ptr<TemplateURLData> GetPrep
std::vector<const TemplateURLPrepopulateData::PrepopulatedEngine*>
regional_prepopulated_engines) {
return FindPrepopulatedEngineInternal(prefs, regional_prepopulated_engines,
- google.id,
+ duckduckgo.id,
/*use_first_as_fallback=*/true);
}
--- a/third_party/search_engines_data/resources/definitions/regional_settings.json
+++ b/third_party/search_engines_data/resources/definitions/regional_settings.json
@@ -3,6 +3,19 @@
// found in the LICENSE file.
{
"elements": {
+ "ZZ": {
+ // Default
+ "search_engines": [
+ "&duckduckgo",
+ "&ecosia",
+ "&bing",
+ "&break_stuff_google",
+ "&qwant",
+ "&kagi"
+ ]
+ }
+ },
+ "elements_ignored": {
"AE": {
// United Arab Emirates
"search_engines": [
@@ -1183,7 +1196,8 @@
"name": "kRegionalSettings",
"export_items": false,
"map_key_type": "country_codes::CountryId",
- "map_aliases": {
+ "map_aliases": {},
+ "map_aliases_ignored": {
"AD": "ES", // Andorra
"AF": "ZZ", // Afghanistan
"AG": "ZZ", // Antigua and Barbuda
@@ -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"
@@ -2484,14 +2482,9 @@ void AddSearchStrings(content::WebUIData
@@ -2477,14 +2475,9 @@ void AddSearchStrings(content::WebUIData
html_source->AddString("searchExplanationLearnMoreURL",
chrome::kOmniboxLearnMoreURL);
@@ -26,7 +26,7 @@
namespace {
const bool kEnableBuiltinSearchProviderAssets =
@@ -1856,18 +1852,6 @@ std::string TemplateURL::GetBuiltinDescr
@@ -1854,18 +1850,6 @@ std::string TemplateURL::GetBuiltinDescr
}
std::optional<std::u16string> TemplateURL::GetBuiltinMarketingSnippet() const {
@@ -35,17 +35,6 @@
"id": 1
},
--- a/components/search_engines/template_url_prepopulate_data.cc
+++ b/components/search_engines/template_url_prepopulate_data.cc
@@ -235,7 +235,7 @@ std::unique_ptr<TemplateURLData> GetPrep
std::vector<const TemplateURLPrepopulateData::PrepopulatedEngine*>
regional_prepopulated_engines) {
return FindPrepopulatedEngineInternal(prefs, regional_prepopulated_engines,
- google.id,
+ duckduckgo.id,
/*use_first_as_fallback=*/true);
}
--- a/components/search_engines/search_engine_utils.cc
+++ b/components/search_engines/search_engine_utils.cc
@@ -35,7 +35,7 @@ SearchEngineType GetEngineType(const GUR
@@ -57,34 +46,3 @@
// Now check the rest of the prepopulate data.
for (const auto* engine : TemplateURLPrepopulateData::kAllEngines) {
--- a/third_party/search_engines_data/resources/definitions/regional_settings.json
+++ b/third_party/search_engines_data/resources/definitions/regional_settings.json
@@ -3,6 +3,18 @@
// found in the LICENSE file.
{
"elements": {
+ "ZZ": {
+ // Default
+ "search_engines": [
+ "&duckduckgo",
+ "&ecosia",
+ "&bing",
+ "&break_stuff_google",
+ "&qwant"
+ ]
+ }
+ },
+ "elements_ignored": {
"AE": {
// United Arab Emirates
"search_engines": [
@@ -1183,7 +1195,8 @@
"name": "kRegionalSettings",
"export_items": false,
"map_key_type": "country_codes::CountryId",
- "map_aliases": {
+ "map_aliases": {},
+ "map_aliases_ignored": {
"AD": "ES", // Andorra
"AF": "ZZ", // Afghanistan
"AG": "ZZ", // Antigua and Barbuda
@@ -1,11 +1,14 @@
--- a/components/policy/core/common/helium_opinionated_policy_provider.cc
+++ b/components/policy/core/common/helium_opinionated_policy_provider.cc
@@ -22,6 +22,9 @@ void HopProvider::RefreshPolicies(Policy
@@ -22,6 +22,12 @@ void HopProvider::RefreshPolicies(Policy
PolicyBundle bundle;
PolicyMap& policy_map = bundle.Get(PolicyNamespace(POLICY_DOMAIN_CHROME, std::string()));
+ Set(policy_map, policy::key::kPasswordManagerEnabled, POLICY_LEVEL_MANDATORY, base::Value(false));
+ Set(policy_map, policy::key::kPasswordManagerPasskeysEnabled, POLICY_LEVEL_MANDATORY, base::Value(false));
+ // Disable the password manager
+ Set(policy_map, policy::key::kPasswordManagerEnabled,
+ POLICY_LEVEL_MANDATORY, base::Value(false));
+ Set(policy_map, policy::key::kPasswordManagerPasskeysEnabled,
+ POLICY_LEVEL_MANDATORY, base::Value(false));
+
UpdatePolicy(std::move(bundle));
}
@@ -0,0 +1,11 @@
--- a/net/dns/public/doh_provider_entry.cc
+++ b/net/dns/public/doh_provider_entry.cc
@@ -252,7 +252,7 @@ const DohProviderEntry::List& DohProvide
LoggingLevel::kNormal},
{"Quad9Secure",
MAKE_BASE_FEATURE_WITH_STATIC_STORAGE(
- DohProviderQuad9Secure, base::FEATURE_DISABLED_BY_DEFAULT),
+ DohProviderQuad9Secure, base::FEATURE_ENABLED_BY_DEFAULT),
{"9.9.9.9", "149.112.112.112", "2620:fe::fe", "2620:fe::9"},
/*dns_over_tls_hostnames=*/{"dns.quad9.net", "dns9.quad9.net"},
"https://dns.quad9.net/dns-query",
@@ -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>
@@ -272,6 +272,9 @@
@@ -275,6 +275,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
@@ -516,7 +516,7 @@ void AddAppearanceStrings(content::WebUI
@@ -517,7 +517,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},
@@ -548,9 +548,7 @@ void AddAppearanceStrings(content::WebUI
@@ -549,9 +549,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
@@ -1795,7 +1795,7 @@ void AddSyncControlsStrings(content::Web
@@ -1796,7 +1796,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
@@ -1887,6 +1887,9 @@
@@ -1890,6 +1890,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>
@@ -3088,6 +3091,9 @@
@@ -3091,6 +3094,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
@@ -1943,7 +1943,7 @@ void AddPrivacyStrings(content::WebUIDat
@@ -1944,7 +1944,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.
@@ -2638,7 +2638,7 @@ void AddSiteSettingsStrings(content::Web
@@ -2639,7 +2639,7 @@ void AddSiteSettingsStrings(content::Web
{"trackingProtectionSitesAllowedCookiesTitle",
IDS_SETTINGS_TRACKING_PROTECTION_SITES_ALLOWED_COOKIES_TITLE},
{"trackingProtectionSitesAllowedCookiesDescription",
@@ -1,6 +1,6 @@
--- a/chrome/app/settings_strings.grdp
+++ b/chrome/app/settings_strings.grdp
@@ -1900,6 +1900,12 @@
@@ -1903,6 +1903,12 @@
users to manage security settings">
Security
</message>
@@ -15,7 +15,7 @@
</message>
--- a/chrome/browser/ui/webui/settings/settings_localized_strings_provider.cc
+++ b/chrome/browser/ui/webui/settings/settings_localized_strings_provider.cc
@@ -1948,9 +1948,9 @@ void AddPrivacyStrings(content::WebUIDat
@@ -1949,9 +1949,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},
@@ -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
@@ -1651,8 +1651,8 @@ void AddPersonalizationOptionsStrings(co
@@ -1652,8 +1652,8 @@ void AddPersonalizationOptionsStrings(co
{"enablePersonalizationLoggingDesc",
IDS_SETTINGS_ENABLE_LOGGING_PREF_DESC},
{"spellingDescription", IDS_SETTINGS_SPELLING_PREF_DESC},
+17
View File
@@ -392,6 +392,23 @@
back-button-aria-label="$i18n{backButton}"
back-button-title="$i18n{backButton}">
<h2 slot="heading">$i18n{categoriesHeader}</h2>
@@ -72,16 +72,6 @@ export function getHtml(this: Categories
<div class="label">${item.label}</div>
</div>
`)}
- <div class="tile" tabindex="0" role="button"
- @click="${this.onChromeWebStoreClick_}" id="chromeWebStoreTile">
- <div class="image-container">
- <img id="chromeWebStore" src="icons/chrome_web_store.svg"></img>
- </div>
- <div class="label">
- <div class="cr-icon icon-external"></div>
- $i18n{chromeWebStore}
- </div>
- </div>
</cr-grid>
</div>
<!--_html_template_end_-->`;
--- a/chrome/browser/resources/side_panel/customize_chrome/hover_button.css
+++ b/chrome/browser/resources/side_panel/customize_chrome/hover_button.css
@@ -20,6 +20,7 @@
+70
View File
@@ -72,6 +72,15 @@
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
}
int TabStyleViewsImpl::GetStrokeThickness(bool should_paint_as_active) const {
+ return 0;
+
std::optional<tab_groups::TabGroupId> group = tab_->group();
if (group.has_value() && tab_->IsActive()) {
return TabGroupUnderline::kStrokeThickness;
--- a/chrome/browser/ui/views/tabs/tab.cc
+++ b/chrome/browser/ui/views/tabs/tab.cc
@@ -1164,7 +1164,7 @@ void Tab::UpdateIconVisibility() {
@@ -94,6 +103,17 @@
if (showing_close_button_) {
available_width -= close_button_width;
}
@@ -1229,10 +1233,6 @@ void Tab::UpdateIconVisibility() {
}
}
}
-
- extra_alert_indicator_padding_ = showing_alert_indicator_ &&
- showing_close_button_ &&
- large_enough_for_close_button;
}
bool Tab::ShouldRenderAsNormalTab() const {
--- a/chrome/browser/ui/views/tabs/tab.h
+++ b/chrome/browser/ui/views/tabs/tab.h
@@ -69,7 +69,7 @@ class Tab : public gfx::AnimationDelegat
@@ -166,3 +186,53 @@
ring_highlight_path->set_use_contents_bounds(true);
views::FocusRing::Get(this)->SetPathGenerator(std::move(ring_highlight_path));
--- a/chrome/browser/ui/views/tabs/tab_group_style.cc
+++ b/chrome/browser/ui/views/tabs/tab_group_style.cc
@@ -32,7 +32,7 @@ constexpr int kAttentionIndicatorWidth =
// The size of the empty chip.
constexpr int kEmptyChipSize = 20;
constexpr int kCornerRadius = 6;
-constexpr int kTabGroupOverlapAdjustment = 2;
+constexpr int kTabGroupOverlapAdjustment = 3;
} // namespace
--- a/chrome/browser/ui/views/tabs/tab_group_underline.cc
+++ b/chrome/browser/ui/views/tabs/tab_group_underline.cc
@@ -93,21 +93,17 @@ gfx::Insets TabGroupUnderline::GetInsets
// the group, and may be the right boundary if the group is collapsed.
const TabGroupHeader* const header =
views::AsViewClass<TabGroupHeader>(sibling_view);
+
+ const int left_offset = 3;
if (header) {
- return gfx::Insets::TLBR(0, TabGroupUnderline::GetStrokeInset(), 0,
- TabGroupUnderline::GetStrokeInset());
+ return gfx::Insets::TLBR(0, TabGroupUnderline::GetStrokeInset() + left_offset,
+ 0, TabGroupUnderline::GetStrokeInset());
}
const Tab* const tab = views::AsViewClass<Tab>(sibling_view);
DCHECK(tab);
- // Active tabs need the rounded bits of the underline poking out the sides.
- if (tab->IsActive()) {
- return gfx::Insets::TLBR(0, -kStrokeThickness, 0, -kStrokeThickness);
- }
-
- // Inactive tabs are inset like group headers.
- const int left_inset = TabGroupUnderline::GetStrokeInset();
+ const int left_inset = TabGroupUnderline::GetStrokeInset() + left_offset;
const int right_inset = TabGroupUnderline::GetStrokeInset();
return gfx::Insets::TLBR(0, left_inset, 0, right_inset);
@@ -119,8 +115,7 @@ void TabGroupUnderline::MaybeSetVisible(
// static
int TabGroupUnderline::GetStrokeInset() {
- return TabStyle::Get()->GetTabOverlap() -
- TabGroupStyle::GetTabGroupOverlapAdjustment() + kStrokeThickness;
+ return TabStyle::Get()->GetTabOverlap() - 7 + kStrokeThickness;
}
BEGIN_METADATA(TabGroupUnderline)
+14 -6
View File
@@ -79,7 +79,6 @@ extra/ungoogled-chromium/add-flag-for-tabsearch-button.patch
extra/ungoogled-chromium/add-flag-for-qr-generator.patch
extra/ungoogled-chromium/add-flag-for-grab-handle.patch
extra/ungoogled-chromium/add-flag-for-close-confirmation.patch
extra/ungoogled-chromium/keep-expired-flags.patch
extra/ungoogled-chromium/add-flag-for-custom-ntp.patch
extra/ungoogled-chromium/add-flag-for-tab-hover-cards.patch
extra/ungoogled-chromium/add-flag-to-hide-tab-close-buttons.patch
@@ -117,15 +116,18 @@ helium/core/override-chrome-protocol.patch
helium/core/onboarding-page.patch
helium/core/change-chromium-branding.patch
helium/core/scan-chrome-native-messaging-hosts.patch
helium/core/make-ddg-default.patch
helium/core/add-kagi-search.patch
helium/core/search/restore-google.patch
helium/core/search/engine-defaults.patch
helium/core/search/fix-search-engine-icons.patch
helium/core/search/force-eu-search-features.patch
helium/core/search/remove-description-snippet-deps.patch
helium/core/copy-page-url-shortcut.patch
helium/core/update-default-browser-prefs.patch
helium/core/proxy-extension-downloads.patch
helium/core/reenable-update-checks.patch
helium/core/fix-search-engine-icons.patch
helium/core/add-native-bangs.patch
helium/core/force-eu-search-features.patch
helium/core/disable-bookmarks-bar.patch
helium/core/reenable-spellcheck-downloads.patch
helium/core/prefer-https-by-default.patch
@@ -145,22 +147,25 @@ helium/core/hide-extensions-via-toolbar-prefs.patch
helium/core/clean-context-menu.patch
helium/core/split-view.patch
helium/core/fix-tab-sync-unreached-error.patch
helium/core/flags-setup.patch
helium/core/add-low-power-framerate-flag.patch
helium/core/add-update-channel-flag.patch
helium/core/add-updater-preference.patch
helium/core/add-disable-ech-flag.patch
helium/core/exclude-irrelevant-flags.patch
helium/core/disable-outdated-build-detector.patch
helium/core/remove-dead-toolbar-actions.patch
helium/core/protect-browser-keyboard-shortcuts.patch
helium/core/add-component-l10n-support.patch
helium/core/add-component-managed-schema-support.patch
helium/core/ublock-setup-sources.patch
helium/core/ublock-install-as-component.patch
helium/core/ublock-reconfigure-defaults.patch
helium/core/ublock-migrate-prefs.patch
helium/core/ublock-helium-services.patch
helium/core/clean-omnibox-suggestions.patch
helium/core/remove-search-desc-snippet-deps.patch
helium/core/increase-incognito-storage-quota.patch
helium/core/mitigate-fingerprinting-canvas.patch
helium/core/mitigate-fingerprinting-audio-context.patch
@@ -168,6 +173,8 @@ helium/core/reduce-accept-language-headers.patch
helium/core/disable-ad-topics-and-etc.patch
helium/core/enable-parallel-downloading.patch
helium/core/infinite-tab-freezing.patch
helium/core/disable-touch-ui.patch
helium/core/open-new-tabs-next-to-active-tab-option.patch
helium/settings/move-search-suggest.patch
helium/settings/remove-autofill.patch
@@ -184,6 +191,7 @@ helium/settings/fix-text-on-cookies-page.patch
helium/settings/update-search-suggest-text.patch
helium/settings/fix-appearance-page.patch
helium/settings/remove-dead-imports.patch
helium/settings/enable-quad9-doh-option.patch
helium/hop/setup.patch
helium/hop/disable-password-manager.patch
+1 -1
View File
@@ -1 +1 @@
2
3