mirror of
https://github.com/imputnet/helium.git
synced 2026-08-20 00:57:32 +02:00
Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 9ec3ed6ecd | |||
| f240e14a58 | |||
| b497f44124 | |||
| 475fd063f3 | |||
| 31bdefc2de |
@@ -0,0 +1,11 @@
|
||||
--- 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
|
||||
|
||||
void UpgradeDetectorImpl::StartOutdatedBuildDetector() {
|
||||
DCHECK_CALLED_ON_VALID_SEQUENCE(sequence_checker_);
|
||||
+ return;
|
||||
+
|
||||
static BASE_FEATURE(kOutdatedBuildDetector, "OutdatedBuildDetector",
|
||||
base::FEATURE_ENABLED_BY_DEFAULT);
|
||||
|
||||
@@ -0,0 +1,59 @@
|
||||
--- a/chrome/app/settings_strings.grdp
|
||||
+++ b/chrome/app/settings_strings.grdp
|
||||
@@ -1856,6 +1856,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>
|
||||
+ <message name="IDS_SETTINGS_ENABLE_DO_NOT_TRACK_DIALOG_TEXT_HELIUM" 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 Helium will include a request not to be tracked with your browsing traffic. Whether this request is honored depends on whether a website responds to it and on how it is interpreted. For example, some websites may respond by showing you ads that aren't personalized using your previous browsing data. Many websites may still track you regardless of the request.
|
||||
+ </message>
|
||||
<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>
|
||||
@@ -3105,6 +3108,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>
|
||||
+ <message name="IDS_SETTINGS_ALLOWED_THIRD_PARTY_COOKIES_DESCRIPTION_HELIUM" desc="Description of the section on the Cookies 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 “[*.]example.com” means that third-party cookies can also be active for second.example.com, because it’s part of example.com.
|
||||
+ </message>
|
||||
<message name="IDS_SETTINGS_SITE_SETTINGS_APP_PROTOCOL_HANDLERS" desc="Label for the app protocol handlers (e.g. mailto) in site settings.">
|
||||
Apps
|
||||
</message>
|
||||
--- a/chrome/browser/ui/webui/settings/settings_localized_strings_provider.cc
|
||||
+++ b/chrome/browser/ui/webui/settings/settings_localized_strings_provider.cc
|
||||
@@ -1883,7 +1883,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},
|
||||
- {"doNotTrackDialogMessage", IDS_SETTINGS_ENABLE_DO_NOT_TRACK_DIALOG_TEXT},
|
||||
+ {"doNotTrackDialogMessage", IDS_SETTINGS_ENABLE_DO_NOT_TRACK_DIALOG_TEXT_HELIUM},
|
||||
{"doNotTrackDialogLearnMoreA11yLabel",
|
||||
IDS_SETTINGS_ENABLE_DO_NOT_TRACK_DIALOG_LEARN_MORE_ACCESSIBILITY_LABEL},
|
||||
// TODO(crbug.com/40122957): This string is no longer used. Remove.
|
||||
@@ -2615,7 +2615,7 @@ void AddSiteSettingsStrings(content::Web
|
||||
{"trackingProtectionSitesAllowedCookiesTitle",
|
||||
IDS_SETTINGS_TRACKING_PROTECTION_SITES_ALLOWED_COOKIES_TITLE},
|
||||
{"trackingProtectionSitesAllowedCookiesDescription",
|
||||
- IDS_SETTINGS_TRACKING_PROTECTION_SITES_ALLOWED_COOKIES_DESCRIPTION},
|
||||
+ IDS_SETTINGS_ALLOWED_THIRD_PARTY_COOKIES_DESCRIPTION_HELIUM},
|
||||
{"siteSettingsCategoryAutomaticFullscreen",
|
||||
IDS_SITE_SETTINGS_TYPE_AUTOMATIC_FULLSCREEN},
|
||||
{"siteSettingsCategoryFederatedIdentityApi",
|
||||
--- a/chrome/browser/resources/settings/privacy_page/do_not_track_toggle.html
|
||||
+++ b/chrome/browser/resources/settings/privacy_page/do_not_track_toggle.html
|
||||
@@ -18,13 +18,7 @@
|
||||
close-text="$i18n{close}" on-cancel="onDialogCancel_"
|
||||
on-close="onDialogClosed_">
|
||||
<div slot="title">$i18n{doNotTrackDialogTitle}</div>
|
||||
- <div slot="body">$i18n{doNotTrackDialogMessage}
|
||||
- <a href="$i18nRaw{doNotTrackLearnMoreURL}" target="_blank"
|
||||
- aria-description="$i18n{opensInNewTab}"
|
||||
- aria-label="$i18n{doNotTrackDialogLearnMoreA11yLabel}">
|
||||
- $i18n{learnMore}
|
||||
- </a>
|
||||
- </div>
|
||||
+ <div slot="body">$i18n{doNotTrackDialogMessage}</div>
|
||||
<div slot="button-container">
|
||||
<cr-button class="cancel-button"
|
||||
on-click="onDialogCancel_">
|
||||
@@ -0,0 +1,98 @@
|
||||
--- a/chrome/browser/ui/views/toolbar/browser_app_menu_button.cc
|
||||
+++ b/chrome/browser/ui/views/toolbar/browser_app_menu_button.cc
|
||||
@@ -160,13 +160,8 @@ void BrowserAppMenuButton::UpdateIcon()
|
||||
}
|
||||
|
||||
void BrowserAppMenuButton::UpdateInkdrop() {
|
||||
- if (IsLabelPresentAndVisible()) {
|
||||
- ConfigureToolbarInkdropForRefresh2023(this, kColorAppMenuChipInkDropHover,
|
||||
- kColorAppMenuChipInkDropRipple);
|
||||
- } else {
|
||||
- ConfigureToolbarInkdropForRefresh2023(this, kColorToolbarInkDropHover,
|
||||
- kColorToolbarInkDropRipple);
|
||||
- }
|
||||
+ ConfigureToolbarInkdropForRefresh2023(this, kColorToolbarInkDropHover,
|
||||
+ kColorToolbarInkDropRipple);
|
||||
}
|
||||
|
||||
bool BrowserAppMenuButton::IsLabelPresentAndVisible() const {
|
||||
@@ -177,14 +172,6 @@ bool BrowserAppMenuButton::IsLabelPresen
|
||||
}
|
||||
|
||||
SkColor BrowserAppMenuButton::GetForegroundColor(ButtonState state) const {
|
||||
- if (IsLabelPresentAndVisible()) {
|
||||
- const auto* const color_provider = GetColorProvider();
|
||||
- if (type_and_severity_.use_primary_colors) {
|
||||
- return color_provider->GetColor(kColorAppMenuExpandedForegroundPrimary);
|
||||
- }
|
||||
- return color_provider->GetColor(kColorAppMenuExpandedForegroundDefault);
|
||||
- }
|
||||
-
|
||||
return ToolbarButton::GetForegroundColor(state);
|
||||
}
|
||||
|
||||
@@ -196,23 +183,7 @@ void BrowserAppMenuButton::UpdateTextAnd
|
||||
} else if (type_and_severity_.type ==
|
||||
AppMenuIconController::IconType::UPGRADE_NOTIFICATION) {
|
||||
tooltip_message_id = IDS_APPMENU_TOOLTIP_UPDATE_AVAILABLE;
|
||||
-#if BUILDFLAG(GOOGLE_CHROME_BRANDING) && \
|
||||
- (BUILDFLAG(IS_WIN) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_LINUX))
|
||||
- int message_id = IDS_APP_MENU_BUTTON_UPDATE;
|
||||
- // Select an update text option randomly. Show this text in all browser
|
||||
- // windows.
|
||||
- static const int update_text_option = base::RandInt(1, 3);
|
||||
- if (update_text_option == 1) {
|
||||
- message_id = IDS_APP_MENU_BUTTON_UPDATE_ALT1;
|
||||
- } else if (update_text_option == 2) {
|
||||
- message_id = IDS_APP_MENU_BUTTON_UPDATE_ALT2;
|
||||
- } else {
|
||||
- message_id = IDS_APP_MENU_BUTTON_UPDATE_ALT3;
|
||||
- }
|
||||
- text = l10n_util::GetStringUTF16(message_id);
|
||||
-#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)
|
||||
@@ -231,37 +202,19 @@ void BrowserAppMenuButton::UpdateTextAnd
|
||||
}
|
||||
|
||||
bool BrowserAppMenuButton::ShouldPaintBorder() const {
|
||||
- return false;
|
||||
+ return true;
|
||||
}
|
||||
|
||||
void BrowserAppMenuButton::UpdateLayoutInsets() {
|
||||
- if (IsLabelPresentAndVisible()) {
|
||||
- SetLayoutInsets(::GetLayoutInsets(BROWSER_APP_MENU_CHIP_PADDING));
|
||||
- } else {
|
||||
- SetLayoutInsets(::GetLayoutInsets(TOOLBAR_BUTTON));
|
||||
- }
|
||||
+ SetLayoutInsets(::GetLayoutInsets(TOOLBAR_BUTTON));
|
||||
}
|
||||
|
||||
std::optional<SkColor> BrowserAppMenuButton::GetHighlightTextColor() const {
|
||||
- if (IsLabelPresentAndVisible()) {
|
||||
- const auto* const color_provider = GetColorProvider();
|
||||
- if (type_and_severity_.use_primary_colors) {
|
||||
- return color_provider->GetColor(kColorAppMenuExpandedForegroundPrimary);
|
||||
- }
|
||||
- return color_provider->GetColor(kColorAppMenuExpandedForegroundDefault);
|
||||
- }
|
||||
return std::nullopt;
|
||||
}
|
||||
|
||||
std::optional<SkColor> BrowserAppMenuButton::GetHighlightColor() const {
|
||||
- const auto* const color_provider = GetColorProvider();
|
||||
- if (type_and_severity_.severity == AppMenuIconController::Severity::NONE) {
|
||||
- return std::nullopt;
|
||||
- } else {
|
||||
- return color_provider->GetColor(type_and_severity_.use_primary_colors
|
||||
- ? kColorAppMenuHighlightPrimary
|
||||
- : kColorAppMenuHighlightDefault);
|
||||
- }
|
||||
+ return std::nullopt;
|
||||
}
|
||||
|
||||
void BrowserAppMenuButton::OnTouchUiChanged() {
|
||||
@@ -34,7 +34,32 @@
|
||||
AddSeparator(ui::NORMAL_SEPARATOR);
|
||||
|
||||
AddItemWithStringIdAndVectorIcon(this, IDC_PERFORMANCE, IDS_SHOW_PERFORMANCE,
|
||||
@@ -1778,32 +1760,6 @@ void AppMenuModel::Build() {
|
||||
@@ -1736,22 +1718,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) {
|
||||
- AddSeparator(ui::SPACING_SEPARATOR);
|
||||
- const auto update_icon = ui::ImageModel::FromVectorIcon(
|
||||
- kBrowserToolsUpdateChromeRefreshIcon,
|
||||
- ui::kColorMenuIconOnEmphasizedBackground, kDefaultIconSize);
|
||||
- if (browser_defaults::kShowUpgradeMenuItem) {
|
||||
- AddItemWithIcon(IDC_UPGRADE_DIALOG, GetUpgradeDialogTitleText(),
|
||||
- update_icon);
|
||||
- AddSeparator(ui::SPACING_SEPARATOR);
|
||||
- }
|
||||
- }
|
||||
-
|
||||
- if (AddSafetyHubMenuItem() || AddGlobalErrorMenuItems() ||
|
||||
- AddDefaultBrowserMenuItems()) {
|
||||
+ if (AddGlobalErrorMenuItems() || AddDefaultBrowserMenuItems() ||
|
||||
+ AddUpgradeMenuItem()) {
|
||||
AddSeparator(ui::NORMAL_SEPARATOR);
|
||||
}
|
||||
|
||||
@@ -1778,32 +1746,6 @@ void AppMenuModel::Build() {
|
||||
|
||||
AddSeparator(ui::NORMAL_SEPARATOR);
|
||||
|
||||
@@ -67,7 +92,7 @@
|
||||
if (!browser_->profile()->IsOffTheRecord()) {
|
||||
auto recent_tabs_sub_menu =
|
||||
std::make_unique<RecentTabsSubMenuModel>(provider_, browser_);
|
||||
@@ -1825,7 +1781,7 @@ void AppMenuModel::Build() {
|
||||
@@ -1825,7 +1767,7 @@ void AppMenuModel::Build() {
|
||||
std::make_unique<BookmarkSubMenuModel>(this, browser_);
|
||||
|
||||
AddSubMenuWithStringIdAndVectorIcon(
|
||||
@@ -76,7 +101,7 @@
|
||||
bookmark_sub_menu_model_.get(), kBookmarksListsMenuIcon);
|
||||
SetElementIdentifierAt(GetIndexOfCommandId(IDC_BOOKMARKS_MENU).value(),
|
||||
kBookmarksMenuItem);
|
||||
@@ -1842,23 +1798,10 @@ void AppMenuModel::Build() {
|
||||
@@ -1842,23 +1784,10 @@ void AppMenuModel::Build() {
|
||||
kTabGroupsMenuItem);
|
||||
}
|
||||
|
||||
@@ -104,7 +129,7 @@
|
||||
|
||||
AddItemWithStringIdAndVectorIcon(this, IDC_CLEAR_BROWSING_DATA,
|
||||
IDS_CLEAR_BROWSING_DATA,
|
||||
@@ -1902,9 +1845,6 @@ void AppMenuModel::Build() {
|
||||
@@ -1902,9 +1831,6 @@ void AppMenuModel::Build() {
|
||||
lens::features::kLensOverlay));
|
||||
}
|
||||
|
||||
@@ -114,7 +139,7 @@
|
||||
CreateFindAndEditSubMenu();
|
||||
|
||||
sub_menus_.push_back(
|
||||
@@ -1953,6 +1893,12 @@ void AppMenuModel::Build() {
|
||||
@@ -1953,6 +1879,12 @@ void AppMenuModel::Build() {
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -127,11 +152,65 @@
|
||||
AddItemWithStringIdAndVectorIcon(this, IDC_OPTIONS, IDS_SETTINGS,
|
||||
kSettingsMenuIcon);
|
||||
|
||||
@@ -2052,6 +1998,7 @@ bool AppMenuModel::AddDefaultBrowserMenu
|
||||
@@ -2051,35 +1983,22 @@ bool AppMenuModel::AddDefaultBrowserMenu
|
||||
return false;
|
||||
}
|
||||
|
||||
bool AppMenuModel::AddSafetyHubMenuItem() {
|
||||
-bool AppMenuModel::AddSafetyHubMenuItem() {
|
||||
- auto* safety_hub_menu_notification_service =
|
||||
- SafetyHubMenuNotificationServiceFactory::GetForProfile(
|
||||
- browser_->profile());
|
||||
- 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 &&
|
||||
+ browser_defaults::kShowUpgradeMenuItem) {
|
||||
+ const auto update_icon = ui::ImageModel::FromVectorIcon(
|
||||
+ kBrowserToolsUpdateChromeRefreshIcon,
|
||||
+ ui::kColorMenuIcon, kDefaultIconSize);
|
||||
|
||||
- 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",
|
||||
- safety_hub::SafetyHubSurfaces::kThreeDotMenu);
|
||||
- base::UmaHistogramEnumeration(
|
||||
- "Settings.SafetyHub.EntryPointImpression",
|
||||
- safety_hub::SafetyHubEntryPoint::kMenuNotifications);
|
||||
- base::UmaHistogramEnumeration("Settings.SafetyHub.MenuNotificationImpression",
|
||||
- notification->module);
|
||||
- const auto safety_hub_icon = ui::ImageModel::FromVectorIcon(
|
||||
- kSecurityIcon, ui::kColorMenuIcon, kDefaultIconSize);
|
||||
- AddItemWithIcon(notification->command, notification->label, safety_hub_icon);
|
||||
- SetExecuteCallbackAt(
|
||||
- GetIndexOfCommandId(notification->command).value(),
|
||||
- base::BindRepeating(&AppMenuModel::LogSafetyHubInteractionMetrics,
|
||||
- base::Unretained(this), notification->module));
|
||||
- return true;
|
||||
+
|
||||
+ return false;
|
||||
auto* safety_hub_menu_notification_service =
|
||||
SafetyHubMenuNotificationServiceFactory::GetForProfile(
|
||||
browser_->profile());
|
||||
}
|
||||
|
||||
#if BUILDFLAG(IS_CHROMEOS)
|
||||
--- a/chrome/browser/ui/toolbar/app_menu_model.h
|
||||
+++ b/chrome/browser/ui/toolbar/app_menu_model.h
|
||||
@@ -283,6 +283,9 @@ class AppMenuModel : public ui::SimpleMe
|
||||
// boolean indicating whether any menu items were added.
|
||||
bool AddDefaultBrowserMenuItems();
|
||||
|
||||
+ // Adds a nag to relaunch the browser after an update
|
||||
+ bool AddUpgradeMenuItem();
|
||||
+
|
||||
// Adds the Safety Hub menu notifications to the menu. Returns a boolean
|
||||
// indicating whether any menu items were added.
|
||||
[[nodiscard]] bool AddSafetyHubMenuItem();
|
||||
|
||||
@@ -9,21 +9,51 @@
|
||||
}
|
||||
const auto* const color_provider = view->GetColorProvider();
|
||||
cc::PaintFlags flags;
|
||||
@@ -1433,7 +1433,7 @@ void AppMenu::PopulateMenu(MenuItemView*
|
||||
// Helper method that adds a background to a menu item.
|
||||
auto add_menu_row_background = [item](int vertical_margin,
|
||||
ui::ColorId background_color_id) {
|
||||
@@ -1430,21 +1430,8 @@ void AppMenu::PopulateMenu(MenuItemView*
|
||||
PopulateMenu(item, model->GetSubmenuModelAt(i));
|
||||
}
|
||||
|
||||
- // Helper method that adds a background to a menu item.
|
||||
- auto add_menu_row_background = [item](int vertical_margin,
|
||||
- ui::ColorId background_color_id) {
|
||||
- constexpr int kBackgroundCornerRadius = 12;
|
||||
+ constexpr int kBackgroundCornerRadius = 8;
|
||||
item->set_vertical_margin(vertical_margin);
|
||||
item->SetMenuItemBackground(MenuItemView::MenuItemBackground(
|
||||
background_color_id, kBackgroundCornerRadius));
|
||||
@@ -1480,7 +1480,7 @@ void AppMenu::PopulateMenu(MenuItemView*
|
||||
case IDC_SET_BROWSER_AS_DEFAULT: {
|
||||
// Only highlight the default browser item when it is first in the
|
||||
// AppMenu.
|
||||
- item->set_vertical_margin(vertical_margin);
|
||||
- item->SetMenuItemBackground(MenuItemView::MenuItemBackground(
|
||||
- background_color_id, kBackgroundCornerRadius));
|
||||
- item->SetSelectedColorId(ui::kColorAppMenuRowBackgroundHovered);
|
||||
- };
|
||||
-
|
||||
switch (model->GetCommandIdAt(i)) {
|
||||
case IDC_PROFILE_MENU_IN_APP_MENU: {
|
||||
- add_menu_row_background(ChromeLayoutProvider::Get()->GetDistanceMetric(
|
||||
- DISTANCE_CONTENT_LIST_VERTICAL_MULTI),
|
||||
- ui::kColorAppMenuProfileRowBackground);
|
||||
ProfileAttributesEntry* profile_attributes =
|
||||
GetProfileAttributesFromProfile(browser_->profile());
|
||||
if (profile_attributes &&
|
||||
@@ -1458,7 +1445,6 @@ void AppMenu::PopulateMenu(MenuItemView*
|
||||
break;
|
||||
}
|
||||
case IDC_UPGRADE_DIALOG: {
|
||||
- add_menu_row_background(12, ui::kColorAppMenuUpgradeRowBackground);
|
||||
if (const auto upgrade_substring_text = GetUpgradeDialogSubstringText();
|
||||
!upgrade_substring_text.empty()) {
|
||||
item->AddChildView(
|
||||
@@ -1477,17 +1463,6 @@ void AppMenu::PopulateMenu(MenuItemView*
|
||||
}
|
||||
break;
|
||||
}
|
||||
- case IDC_SET_BROWSER_AS_DEFAULT: {
|
||||
- // Only highlight the default browser item when it is first in the
|
||||
- // AppMenu.
|
||||
- if (i == 0) {
|
||||
+ if ((false)) {
|
||||
add_menu_row_background(
|
||||
views::LayoutProvider::Get()->GetDistanceMetric(
|
||||
views::DISTANCE_CONTROL_VERTICAL_TEXT_PADDING),
|
||||
- add_menu_row_background(
|
||||
- views::LayoutProvider::Get()->GetDistanceMetric(
|
||||
- views::DISTANCE_CONTROL_VERTICAL_TEXT_PADDING),
|
||||
- ui::kColorAppMenuUpgradeRowBackground);
|
||||
- }
|
||||
- break;
|
||||
- }
|
||||
case IDC_EDIT_MENU: {
|
||||
ui::ButtonMenuItemModel* submodel = model->GetButtonMenuItemAt(i);
|
||||
DCHECK_EQ(IDC_CUT, submodel->GetCommandIdAt(0));
|
||||
|
||||
+5
-2
@@ -151,6 +151,7 @@ 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/disable-outdated-build-detector.patch
|
||||
|
||||
helium/settings/move-search-suggest.patch
|
||||
helium/settings/remove-autofill.patch
|
||||
@@ -163,6 +164,7 @@ helium/settings/remove-safety-hub-entry-points.patch
|
||||
helium/settings/reenable-update-status.patch
|
||||
helium/settings/privacy-page-tweaks.patch
|
||||
helium/settings/fix-section-separators.patch
|
||||
helium/settings/fix-text-on-cookies-page.patch
|
||||
|
||||
helium/hop/setup.patch
|
||||
helium/hop/disable-password-manager.patch
|
||||
@@ -179,11 +181,13 @@ helium/ui/tab-strip-controls.patch
|
||||
helium/ui/toolbar.patch
|
||||
helium/ui/omnibox.patch
|
||||
helium/ui/app-menu-style.patch
|
||||
helium/ui/app-menu-model.patch
|
||||
helium/ui/app-menu-button.patch
|
||||
helium/ui/remove-reading-list-from-app-menu.patch
|
||||
helium/ui/fix-customize-side-panel.patch
|
||||
helium/ui/immersive-padding.patch
|
||||
helium/ui/side-panel.patch
|
||||
helium/ui/layout-provider.patch
|
||||
helium/ui/app-menu-model.patch
|
||||
helium/ui/remove-dead-toolbar-actions.patch
|
||||
helium/ui/remove-dead-profile-actions.patch
|
||||
helium/ui/clean-up-installed-extension-bubble.patch
|
||||
@@ -197,7 +201,6 @@ helium/ui/square-ntp-monograms.patch
|
||||
helium/ui/set-gray-as-default-theme.patch
|
||||
helium/ui/improve-toast.patch
|
||||
helium/ui/square-interstitial-buttons.patch
|
||||
helium/ui/remove-reading-list-from-app-menu.patch
|
||||
helium/ui/center-window-on-launch.patch
|
||||
helium/ui/remove-devtools-annoyances.patch
|
||||
helium/ui/bookmarks-bar-padding.patch
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
2
|
||||
3
|
||||
|
||||
Reference in New Issue
Block a user