Gauthier Ambard would like Jérôme Lebel to review this change.
[iOS] Replace Symbol helper with new helpers
This CL changes the symbol helpers, replacing the dual definitions
Custom/Settings by a version that has only a single helper.
This has been mostly vibe-coded.
This CL was uploaded by git cl split.
R=jle...@chromium.org
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Gauthier Ambard would like Kirubel to review this change.
[iOS] Replace Symbol helper with new helpers
This CL changes the symbol helpers, replacing the dual definitions
Custom/Settings by a version that has only a single helper.
This has been mostly vibe-coded.
This CL was uploaded by git cl split.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Gauthier Ambard would like Christian Xu to review this change.
[iOS] Replace Symbol helper with new helpers
This CL changes the symbol helpers, replacing the dual definitions
Custom/Settings by a version that has only a single helper.
This has been mostly vibe-coded.
This CL was uploaded by git cl split.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Gauthier Ambard would like Rohit Rao to review this change.
[iOS] Replace Symbol helper with new helpers
This CL changes the symbol helpers, replacing the dual definitions
Custom/Settings by a version that has only a single helper.
This has been mostly vibe-coded.
This CL was uploaded by git cl split.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Gauthier Ambard would like Eric Ekey to review this change.
[iOS] Replace Symbol helper with new helpers
This CL changes the symbol helpers, replacing the dual definitions
Custom/Settings by a version that has only a single helper.
This has been mostly vibe-coded.
This CL was uploaded by git cl split.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Gauthier Ambard would like Jood Hajeer to review this change.
[iOS] Replace Symbol helper with new helpers
This CL changes the symbol helpers, replacing the dual definitions
Custom/Settings by a version that has only a single helper.
This has been mostly vibe-coded.
This CL was uploaded by git cl split.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Gauthier Ambard would like Mihai Sardarescu to review this change.
[iOS] Replace Symbol helper with new helpers
This CL changes the symbol helpers, replacing the dual definitions
Custom/Settings by a version that has only a single helper.
This has been mostly vibe-coded.
This CL was uploaded by git cl split.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Gauthier Ambard would like Cheick Cisse to review this change.
[iOS] Replace Symbol helper with new helpers
This CL changes the symbol helpers, replacing the dual definitions
Custom/Settings by a version that has only a single helper.
This has been mostly vibe-coded.
This CL was uploaded by git cl split.
diff --git a/ios/chrome/browser/authentication/signin/non_modal_promo/coordinator/non_modal_signin_promo_coordinator.mm b/ios/chrome/browser/authentication/signin/non_modal_promo/coordinator/non_modal_signin_promo_coordinator.mm
index a1d4ddf9..e476e5e 100644
--- a/ios/chrome/browser/authentication/signin/non_modal_promo/coordinator/non_modal_signin_promo_coordinator.mm
+++ b/ios/chrome/browser/authentication/signin/non_modal_promo/coordinator/non_modal_signin_promo_coordinator.mm
@@ -151,9 +151,9 @@
#if BUILDFLAG(IOS_USE_BRANDED_ASSETS)
UIImage* icon = MakeSymbolMulticolor(
- CustomSymbolWithPointSize(kMulticolorChromeballSymbol, kLogoSize));
+ SymbolWithPointSize(SymbolMulticolorChromeball, kLogoSize));
#else
- UIImage* icon = CustomSymbolWithPointSize(kChromeProductSymbol, kLogoSize);
+ UIImage* icon = SymbolWithPointSize(SymbolChromeProduct, kLogoSize);
#endif // BUILDFLAG(IOS_USE_BRANDED_ASSETS)
NSString* subtitle;
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Gauthier Ambard would like Leo Zhao to review this change.
[iOS] Replace Symbol helper with new helpers
This CL changes the symbol helpers, replacing the dual definitions
Custom/Settings by a version that has only a single helper.
This has been mostly vibe-coded.
This CL was uploaded by git cl split.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Gauthier Ambard would like Alexis Hétu to review this change.
[iOS] Replace Symbol helper with new helpers
This CL changes the symbol helpers, replacing the dual definitions
Custom/Settings by a version that has only a single helper.
This has been mostly vibe-coded.
This CL was uploaded by git cl split.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Gauthier Ambard would like Noémie St-Onge to review this change.
[iOS] Replace Symbol helper with new helpers
This CL changes the symbol helpers, replacing the dual definitions
Custom/Settings by a version that has only a single helper.
This has been mostly vibe-coded.
This CL was uploaded by git cl split.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Gauthier Ambard would like Olivier Robin to review this change.
[iOS] Replace Symbol helper with new helpers
This CL changes the symbol helpers, replacing the dual definitions
Custom/Settings by a version that has only a single helper.
This has been mostly vibe-coded.
This CL was uploaded by git cl split.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Gauthier Ambard would like Vidhan Jain to review this change.
[iOS] Replace Symbol helper with new helpers
This CL changes the symbol helpers, replacing the dual definitions
Custom/Settings by a version that has only a single helper.
This has been mostly vibe-coded.
This CL was uploaded by git cl split.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Gauthier Ambard would like Slobodan Pejic to review this change.
[iOS] Replace Symbol helper with new helpers
This CL changes the symbol helpers, replacing the dual definitions
Custom/Settings by a version that has only a single helper.
This has been mostly vibe-coded.
This CL was uploaded by git cl split.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Gauthier Ambard would like Sebastien S-G to review this change.
[iOS] Replace Symbol helper with new helpers
This CL changes the symbol helpers, replacing the dual definitions
Custom/Settings by a version that has only a single helper.
This has been mostly vibe-coded.
This CL was uploaded by git cl split.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Gauthier Ambard would like Sergio Collazos to review this change.
[iOS] Replace Symbol helper with new helpers
This CL changes the symbol helpers, replacing the dual definitions
Custom/Settings by a version that has only a single helper.
This has been mostly vibe-coded.
This CL was uploaded by git cl split.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Gauthier Ambard would like Tanmoy Mollik to review this change.
[iOS] Replace Symbol helper with new helpers
This CL changes the symbol helpers, replacing the dual definitions
Custom/Settings by a version that has only a single helper.
This has been mostly vibe-coded.
This CL was uploaded by git cl split.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Gauthier Ambard would like Scott Yoder to review this change.
[iOS] Replace Symbol helper with new helpers
This CL changes the symbol helpers, replacing the dual definitions
Custom/Settings by a version that has only a single helper.
This has been mostly vibe-coded.
This CL was uploaded by git cl split.
diff --git a/ios/chrome/browser/browser_view/ui_bundled/key_commands_provider.mm b/ios/chrome/browser/browser_view/ui_bundled/key_commands_provider.mm
index 3458a04..4084cb8 100644
--- a/ios/chrome/browser/browser_view/ui_bundled/key_commands_provider.mm
+++ b/ios/chrome/browser/browser_view/ui_bundled/key_commands_provider.mm
@@ -275,7 +275,7 @@
if ([self isBookmarkedPage]) {
newTitle =
l10n_util::GetNSStringWithFixup(IDS_IOS_KEYBOARD_EDIT_BOOKMARK);
- command.image = DefaultSymbolWithConfiguration(kPencilSymbol, nil);
+ command.image = SymbolWithConfiguration(SymbolPencil, nil);
}
}
// If a new title was determined, set it on the command.
diff --git a/ios/chrome/browser/reminder_notifications/ui/reminder_notifications_view_controller.mm b/ios/chrome/browser/reminder_notifications/ui/reminder_notifications_view_controller.mm
index d8d3926..7cfa3bd 100644
--- a/ios/chrome/browser/reminder_notifications/ui/reminder_notifications_view_controller.mm
+++ b/ios/chrome/browser/reminder_notifications/ui/reminder_notifications_view_controller.mm
@@ -70,7 +70,7 @@
// Configure image.
self.image = SymbolWithPalette(
- DefaultSymbolWithPointSize(kBellBadgeSymbol, kBellBadgeSymbolPointSize),
+ SymbolWithPointSize(SymbolBellBadge, kBellBadgeSymbolPointSize),
@[ [UIColor whiteColor] ]);
self.imageBackgroundColor = [UIColor colorNamed:kBlue500Color];
self.imageViewAccessibilityLabel = kBellIconAccessibilityLabel;
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Gauthier Ambard would like Ginny Huang to review this change.
[iOS] Replace Symbol helper with new helpers
This CL changes the symbol helpers, replacing the dual definitions
Custom/Settings by a version that has only a single helper.
This has been mostly vibe-coded.
This CL was uploaded by git cl split.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Gauthier Ambard would like Radu Nitescu to review this change.
[iOS] Replace Symbol helper with new helpers
This CL changes the symbol helpers, replacing the dual definitions
Custom/Settings by a version that has only a single helper.
This has been mostly vibe-coded.
This CL was uploaded by git cl split.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Gauthier Ambard would like Siddhartha S to review this change.
[iOS] Replace Symbol helper with new helpers
This CL changes the symbol helpers, replacing the dual definitions
Custom/Settings by a version that has only a single helper.
This has been mostly vibe-coded.
This CL was uploaded by git cl split.
diff --git a/ios/chrome/browser/collaboration/model/ios_collaboration_controller_delegate.mm b/ios/chrome/browser/collaboration/model/ios_collaboration_controller_delegate.mm
index 6895b2fa..9d8f5d5 100644
--- a/ios/chrome/browser/collaboration/model/ios_collaboration_controller_delegate.mm
+++ b/ios/chrome/browser/collaboration/model/ios_collaboration_controller_delegate.mm
@@ -699,7 +699,7 @@
ShareKitPreviewItem* preview_item = [[ShareKitPreviewItem alloc] init];
preview_item.title = base::SysUTF8ToNSString(tabs[i].url.GetHost());
preview_item.image = SymbolWithPalette(
- DefaultSymbolWithPointSize(kGlobeAmericasSymbol, kFaviconSize),
+ SymbolWithPointSize(SymbolGlobeAmericas, kFaviconSize),
@[ [UIColor colorNamed:kGrey400Color] ]);
[preview_items addObject:preview_item];
}
diff --git a/ios/chrome/browser/collaboration/model/messaging/infobar/collaboration_out_of_date_infobar_delegate.mm b/ios/chrome/browser/collaboration/model/messaging/infobar/collaboration_out_of_date_infobar_delegate.mm
index 14c3b9db..b017d7d9 100644
--- a/ios/chrome/browser/collaboration/model/messaging/infobar/collaboration_out_of_date_infobar_delegate.mm
+++ b/ios/chrome/browser/collaboration/model/messaging/infobar/collaboration_out_of_date_infobar_delegate.mm
@@ -82,6 +82,6 @@
ui::ImageModel CollaborationOutOfDateInfoBarDelegate::GetIcon() const {
UIImage* symbolImage =
- DefaultSymbolWithPointSize(kTabGroupsSymbol, kInfobarSymbolPointSize);
+ SymbolWithPointSize(SymbolTabGroups, kInfobarSymbolPointSize);
return ui::ImageModel::FromImage(gfx::Image(symbolImage));
}
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Gauthier Ambard would like Stepan Khapugin to review this change.
[iOS] Replace Symbol helper with new helpers
This CL changes the symbol helpers, replacing the dual definitions
Custom/Settings by a version that has only a single helper.
This has been mostly vibe-coded.
This CL was uploaded by git cl split.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Gauthier Ambard would like David Maunder to review this change.
[iOS] Replace Symbol helper with new helpers
This CL changes the symbol helpers, replacing the dual definitions
Custom/Settings by a version that has only a single helper.
This has been mostly vibe-coded.
This CL was uploaded by git cl split.
diff --git a/ios/chrome/browser/content_suggestions/price_tracking_promo/ui/price_tracking_promo_config.mm b/ios/chrome/browser/content_suggestions/price_tracking_promo/ui/price_tracking_promo_config.mm
index 1344c166..081daf69 100644
--- a/ios/chrome/browser/content_suggestions/price_tracking_promo/ui/price_tracking_promo_config.mm
+++ b/ios/chrome/browser/content_suggestions/price_tracking_promo/ui/price_tracking_promo_config.mm
@@ -49,7 +49,7 @@
}
- (UIImage*)fallbackSymbolImage {
- return CustomSymbolWithPointSize(kDownTrendSymbol, kFallbackSymbolSize);
+ return SymbolWithPointSize(SymbolDownTrend, kFallbackSymbolSize);
}
- (NSString*)titleText {
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Gauthier Ambard would like Gloria Fang to review this change.
[iOS] Replace Symbol helper with new helpers
This CL changes the symbol helpers, replacing the dual definitions
Custom/Settings by a version that has only a single helper.
This has been mostly vibe-coded.
This CL was uploaded by git cl split.
diff --git a/ios/chrome/browser/content_suggestions/shop_card/ui/shop_card_view.mm b/ios/chrome/browser/content_suggestions/shop_card/ui/shop_card_view.mm
index f54c2218..34aa8567 100644
--- a/ios/chrome/browser/content_suggestions/shop_card/ui/shop_card_view.mm
+++ b/ios/chrome/browser/content_suggestions/shop_card/ui/shop_card_view.mm
@@ -318,7 +318,7 @@
}
- (UIImage*)makeDefaultFaviconUIImage {
- return DefaultSymbolWithPointSize(kGlobeAmericasSymbol, kCenterSymbolSize);
+ return SymbolWithPointSize(SymbolGlobeAmericas, kCenterSymbolSize);
}
- (void)addFaviconImageAndContainer:(UIImage*)faviconImage {
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Gauthier Ambard would like Ewann Pellé to review this change.
[iOS] Replace Symbol helper with new helpers
This CL changes the symbol helpers, replacing the dual definitions
Custom/Settings by a version that has only a single helper.
This has been mostly vibe-coded.
This CL was uploaded by git cl split.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Gauthier Ambard would like Robbie Gibson to review this change.
[iOS] Replace Symbol helper with new helpers
This CL changes the symbol helpers, replacing the dual definitions
Custom/Settings by a version that has only a single helper.
This has been mostly vibe-coded.
This CL was uploaded by git cl split.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Gauthier Ambard would like Sourav Uttam Sinha to review this change.
[iOS] Replace Symbol helper with new helpers
This CL changes the symbol helpers, replacing the dual definitions
Custom/Settings by a version that has only a single helper.
This has been mostly vibe-coded.
This CL was uploaded by git cl split.
diff --git a/ios/chrome/browser/credential_exchange/ui/credential_export_view_controller.mm b/ios/chrome/browser/credential_exchange/ui/credential_export_view_controller.mm
index 13c1b9b..aa8fb9e 100644
--- a/ios/chrome/browser/credential_exchange/ui/credential_export_view_controller.mm
+++ b/ios/chrome/browser/credential_exchange/ui/credential_export_view_controller.mm
@@ -331,7 +331,7 @@
// Creates the menu button for the toolbar.
- (UIBarButtonItem*)createExportMenuButton {
UIImage* icon =
- DefaultSymbolTemplateWithPointSize(kMenuSymbol, kSymbolActionPointSize);
+ SymbolTemplateWithPointSize(SymbolMenu, kSymbolActionPointSize);
UIBarButtonItem* button =
[[UIBarButtonItem alloc] initWithImage:icon
@@ -347,15 +347,15 @@
- (UIMenu*)createExportMenuEnabled:(BOOL)enabled {
__weak __typeof(self) weakSelf = self;
- UIAction* exportAction = [UIAction
- actionWithTitle:l10n_util::GetNSString(
- IDS_IOS_EXPORT_PASSWORDS_DOWNLOAD_CSV)
- image:DefaultSymbolWithPointSize(kArrowDownToLineSymbol,
- kSymbolActionPointSize)
- identifier:nil
- handler:^(UIAction* action) {
- [weakSelf didTapExportCSV];
- }];
+ UIAction* exportAction =
+ [UIAction actionWithTitle:l10n_util::GetNSString(
+ IDS_IOS_EXPORT_PASSWORDS_DOWNLOAD_CSV)
+ image:SymbolWithPointSize(SymbolArrowDownToLine,
+ kSymbolActionPointSize)
+ identifier:nil
+ handler:^(UIAction* action) {
+ [weakSelf didTapExportCSV];
+ }];
if (!enabled) {
exportAction.attributes = UIMenuElementAttributesDisabled;
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Gauthier Ambard would like Quentin Pubert to review this change.
[iOS] Replace Symbol helper with new helpers
This CL changes the symbol helpers, replacing the dual definitions
Custom/Settings by a version that has only a single helper.
This has been mostly vibe-coded.
This CL was uploaded by git cl split.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
| Commit-Queue | +2 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Gauthier Ambard would like Briana McClure to review this change.
[iOS] Replace Symbol helper with new helpers
This CL changes the symbol helpers, replacing the dual definitions
Custom/Settings by a version that has only a single helper.
This has been mostly vibe-coded.
This CL was uploaded by git cl split.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Gauthier Ambard would like Adam Arcaro to review this change.
[iOS] Replace Symbol helper with new helpers
This CL changes the symbol helpers, replacing the dual definitions
Custom/Settings by a version that has only a single helper.
This has been mostly vibe-coded.
This CL was uploaded by git cl split.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Gauthier Ambard would like Francis Beauchamp to review this change.
[iOS] Replace Symbol helper with new helpers
This CL changes the symbol helpers, replacing the dual definitions
Custom/Settings by a version that has only a single helper.
This has been mostly vibe-coded.
This CL was uploaded by git cl split.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Gauthier Ambard would like Nicolas MacBeth to review this change.
[iOS] Replace Symbol helper with new helpers
This CL changes the symbol helpers, replacing the dual definitions
Custom/Settings by a version that has only a single helper.
This has been mostly vibe-coded.
This CL was uploaded by git cl split.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Gauthier Ambard would like Louis Romero to review this change.
[iOS] Replace Symbol helper with new helpers
This CL changes the symbol helpers, replacing the dual definitions
Custom/Settings by a version that has only a single helper.
This has been mostly vibe-coded.
This CL was uploaded by git cl split.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Gauthier Ambard would like Ameur Hosni to review this change.
[iOS] Replace Symbol helper with new helpers
This CL changes the symbol helpers, replacing the dual definitions
Custom/Settings by a version that has only a single helper.
This has been mostly vibe-coded.
This CL was uploaded by git cl split.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Gauthier Ambard would like Sebastien Lalancette to review this change.
[iOS] Replace Symbol helper with new helpers
This CL changes the symbol helpers, replacing the dual definitions
Custom/Settings by a version that has only a single helper.
This has been mostly vibe-coded.
This CL was uploaded by git cl split.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Gauthier Ambard would like Chris Lu to review this change.
[iOS] Replace Symbol helper with new helpers
This CL changes the symbol helpers, replacing the dual definitions
Custom/Settings by a version that has only a single helper.
This has been mostly vibe-coded.
This CL was uploaded by git cl split.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Gauthier Ambard would like Ryan Akiyama to review this change.
[iOS] Replace Symbol helper with new helpers
This CL changes the symbol helpers, replacing the dual definitions
Custom/Settings by a version that has only a single helper.
This has been mostly vibe-coded.
This CL was uploaded by git cl split.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Gauthier Ambard would like Vincent Boisselle to review this change.
[iOS] Replace Symbol helper with new helpers
This CL changes the symbol helpers, replacing the dual definitions
Custom/Settings by a version that has only a single helper.
This has been mostly vibe-coded.
This CL was uploaded by git cl split.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
std::string entrypoint_image_name;this can probably be deleted now
@property(nonatomic, assign, readonly) BOOL isCustomSymbol;this too
@property(nonatomic, copy, readonly) NSString* iconSymbolName;this can probably be deleted now
#import "ios/chrome/browser/shared/ui/symbols/symbol_enums.h"move this to the top of the file
virtual bool IsCustomSymbol() const = 0;probably delete
virtual std::string GetIconSymbolName() const = 0;probably delete
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Gauthier Ambard would like Filipa Senra to review this change.
[iOS] Replace Symbol helper with new helpers
This CL changes the symbol helpers, replacing the dual definitions
Custom/Settings by a version that has only a single helper.
This has been mostly vibe-coded.
This CL was uploaded by git cl split.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Gauthier Ambard would like Maria Kazinova to review this change.
[iOS] Replace Symbol helper with new helpers
This CL changes the symbol helpers, replacing the dual definitions
Custom/Settings by a version that has only a single helper.
This has been mostly vibe-coded.
This CL was uploaded by git cl split.
diff --git a/ios/chrome/browser/passwords/model/notify_auto_signin_view_controller.mm b/ios/chrome/browser/passwords/model/notify_auto_signin_view_controller.mm
index 588ebdc..98a0163c 100644
--- a/ios/chrome/browser/passwords/model/notify_auto_signin_view_controller.mm
+++ b/ios/chrome/browser/passwords/model/notify_auto_signin_view_controller.mm
@@ -120,7 +120,7 @@
// Load the placeholder user's avatar.
UIImage* placeholderAvatar =
- DefaultSymbolWithPointSize(kPersonCropCircleSymbol, kAvatarSymbolSize);
+ SymbolWithPointSize(SymbolPersonCropCircle, kAvatarSymbolSize);
// View containing user's avatar.
self.avatarView = [[UIImageView alloc] initWithImage:placeholderAvatar];
self.avatarView.translatesAutoresizingMaskIntoConstraints = NO;
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Gauthier Ambard would like Viktor Semeniuk to review this change.
[iOS] Replace Symbol helper with new helpers
This CL changes the symbol helpers, replacing the dual definitions
Custom/Settings by a version that has only a single helper.
This has been mostly vibe-coded.
This CL was uploaded by git cl split.
diff --git a/ios/chrome/browser/passwords/password_breach/ui/password_breach_view_controller.mm b/ios/chrome/browser/passwords/password_breach/ui/password_breach_view_controller.mm
index 8bd4e1e..c7fd609 100644
--- a/ios/chrome/browser/passwords/password_breach/ui/password_breach_view_controller.mm
+++ b/ios/chrome/browser/passwords/password_breach/ui/password_breach_view_controller.mm
@@ -29,7 +29,7 @@
- (void)viewDidLoad {
_helpButton = [[UIBarButtonItem alloc]
- initWithImage:DefaultSymbolWithPointSize(kHelpSymbol, kHelpSymbolSize)
+ initWithImage:SymbolWithPointSize(SymbolHelp, kHelpSymbolSize)
style:UIBarButtonItemStylePlain
target:self
action:@selector(showLearnMore)];
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Gauthier Ambard would like Guillaume Jenkins to review this change.
[iOS] Replace Symbol helper with new helpers
This CL changes the symbol helpers, replacing the dual definitions
Custom/Settings by a version that has only a single helper.
This has been mostly vibe-coded.
This CL was uploaded by git cl split.
diff --git a/ios/chrome/browser/picture_in_picture/ui/picture_in_picture_view_controller.mm b/ios/chrome/browser/picture_in_picture/ui/picture_in_picture_view_controller.mm
index a06e535..9339c555 100644
--- a/ios/chrome/browser/picture_in_picture/ui/picture_in_picture_view_controller.mm
+++ b/ios/chrome/browser/picture_in_picture/ui/picture_in_picture_view_controller.mm
@@ -222,7 +222,7 @@
_playPauseButton.tintColor = [UIColor whiteColor];
UIImage* pauseImage =
- DefaultSymbolWithPointSize(kPauseFillSymbol, kPlayPauseButtonPointSize);
+ SymbolWithPointSize(SymbolPauseFill, kPlayPauseButtonPointSize);
[_playPauseButton setImage:pauseImage forState:UIControlStateNormal];
_playPauseButton.accessibilityLabel =
l10n_util::GetNSString(IDS_IOS_PICTURE_IN_PICTURE_PAUSE);
@@ -313,14 +313,14 @@
if (_player.timeControlStatus == AVPlayerTimeControlStatusPlaying) {
[_player pause];
UIImage* playImage =
- DefaultSymbolWithPointSize(kPlayFillSymbol, kPlayPauseButtonPointSize);
+ SymbolWithPointSize(SymbolPlayFill, kPlayPauseButtonPointSize);
[_playPauseButton setImage:playImage forState:UIControlStateNormal];
_playPauseButton.accessibilityLabel =
l10n_util::GetNSString(IDS_IOS_PICTURE_IN_PICTURE_PLAY);
} else {
[_player play];
UIImage* pauseImage =
- DefaultSymbolWithPointSize(kPauseFillSymbol, kPlayPauseButtonPointSize);
+ SymbolWithPointSize(SymbolPauseFill, kPlayPauseButtonPointSize);
[_playPauseButton setImage:pauseImage forState:UIControlStateNormal];
_playPauseButton.accessibilityLabel =
l10n_util::GetNSString(IDS_IOS_PICTURE_IN_PICTURE_PAUSE);
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Gauthier Ambard would like Gayane Petrosyan to review this change.
[iOS] Replace Symbol helper with new helpers
This CL changes the symbol helpers, replacing the dual definitions
Custom/Settings by a version that has only a single helper.
This has been mostly vibe-coded.
This CL was uploaded by git cl split.
diff --git a/ios/chrome/browser/price_insights/model/price_insights_model.mm b/ios/chrome/browser/price_insights/model/price_insights_model.mm
index 94d552e..01f0e1c6 100644
--- a/ios/chrome/browser/price_insights/model/price_insights_model.mm
+++ b/ios/chrome/browser/price_insights/model/price_insights_model.mm
@@ -190,10 +190,7 @@
return;
}
- execution_it->second->config->entrypoint_image_name =
- base::SysNSStringToUTF8(kDownTrendSymbol);
- execution_it->second->config->image_type =
- ContextualPanelItemConfiguration::EntrypointImageType::Image;
+ execution_it->second->config->entrypoint_symbol = SymbolDownTrend;
execution_it->second->config->accessibility_label =
l10n_util::GetStringUTF8(IDS_PRICE_INSIGHTS_ACCESSIBILITY);
execution_it->second->config->iph_feature =
diff --git a/ios/chrome/browser/price_insights/ui/price_insights_cell.mm b/ios/chrome/browser/price_insights/ui/price_insights_cell.mm
index d9264814..df1ae8f5 100644
--- a/ios/chrome/browser/price_insights/ui/price_insights_cell.mm
+++ b/ios/chrome/browser/price_insights/ui/price_insights_cell.mm
@@ -301,7 +301,7 @@
verticalStack.isAccessibilityElement = NO;
verticalStack.translatesAutoresizingMaskIntoConstraints = NO;
- UIImage* icon = DefaultSymbolWithPointSize(kOpenImageActionSymbol, kIconSize);
+ UIImage* icon = SymbolWithPointSize(SymbolOpenImageAction, kIconSize);
UIImageView* iconView = [[UIImageView alloc] initWithImage:icon];
iconView.tintColor = [UIColor colorNamed:kGrey500Color];
iconView.isAccessibilityElement = NO;
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Gauthier Ambard would like Daniel White to review this change.
[iOS] Replace Symbol helper with new helpers
This CL changes the symbol helpers, replacing the dual definitions
Custom/Settings by a version that has only a single helper.
This has been mostly vibe-coded.
This CL was uploaded by git cl split.
diff --git a/ios/chrome/browser/price_notifications/ui_bundled/cells/price_notifications_menu_button.mm b/ios/chrome/browser/price_notifications/ui_bundled/cells/price_notifications_menu_button.mm
index 9d2a103d..14c732ce 100644
--- a/ios/chrome/browser/price_notifications/ui_bundled/cells/price_notifications_menu_button.mm
+++ b/ios/chrome/browser/price_notifications/ui_bundled/cells/price_notifications_menu_button.mm
@@ -30,8 +30,7 @@
self.clipsToBounds = YES;
self.tintColor = [UIColor colorNamed:kBlueColor];
- [self setImage:DefaultSymbolTemplateWithPointSize(kMenuSymbol,
- kMenuSymbolPointSize)
+ [self setImage:SymbolTemplateWithPointSize(SymbolMenu, kMenuSymbolPointSize)
forState:UIControlStateNormal];
[NSLayoutConstraint activateConstraints:@[
diff --git a/ios/chrome/browser/price_notifications/ui_bundled/cells/price_notifications_table_view_item.mm b/ios/chrome/browser/price_notifications/ui_bundled/cells/price_notifications_table_view_item.mm
index 712ad245..8e4e5b2 100644
--- a/ios/chrome/browser/price_notifications/ui_bundled/cells/price_notifications_table_view_item.mm
+++ b/ios/chrome/browser/price_notifications/ui_bundled/cells/price_notifications_table_view_item.mm
@@ -59,7 +59,7 @@
weight:UIImageSymbolWeightSemibold
scale:UIImageSymbolScaleMedium];
- UIImage* icon = DefaultSymbolWithConfiguration(kBellSymbol, configuration);
+ UIImage* icon = SymbolWithConfiguration(SymbolBell, configuration);
UIAction* stop_tracking = [UIAction
actionWithTitle:
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Gauthier Ambard would like Ankush Singh to review this change.
[iOS] Replace Symbol helper with new helpers
This CL changes the symbol helpers, replacing the dual definitions
Custom/Settings by a version that has only a single helper.
This has been mostly vibe-coded.
This CL was uploaded by git cl split.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Gauthier Ambard would like Julia Sobiech to review this change.
[iOS] Replace Symbol helper with new helpers
This CL changes the symbol helpers, replacing the dual definitions
Custom/Settings by a version that has only a single helper.
This has been mostly vibe-coded.
This CL was uploaded by git cl split.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Gauthier Ambard would like Marke Hallowell to review this change.
[iOS] Replace Symbol helper with new helpers
This CL changes the symbol helpers, replacing the dual definitions
Custom/Settings by a version that has only a single helper.
This has been mostly vibe-coded.
This CL was uploaded by git cl split.
diff --git a/ios/chrome/browser/settings/ui_bundled/notifications/content_notifications/content_notifications_mediator.mm b/ios/chrome/browser/settings/ui_bundled/notifications/content_notifications/content_notifications_mediator.mm
index 9e98102..ce83302 100644
--- a/ios/chrome/browser/settings/ui_bundled/notifications/content_notifications/content_notifications_mediator.mm
+++ b/ios/chrome/browser/settings/ui_bundled/notifications/content_notifications/content_notifications_mediator.mm
@@ -102,7 +102,7 @@
text:
l10n_util::GetNSString(
IDS_IOS_CONTENT_NOTIFICATIONS_PERSONALIZED_NEWS_SETTINGS_TOGGLE_TITLE)
- symbol:DefaultSettingsRootSymbol(kNewspaperSFSymbol)
+ symbol:SettingsRootSymbol(SymbolDiscoverFeed)
symbolTint:UIColor.whiteColor
symbolBackgroundColor:[UIColor colorNamed:kPink500Color]
symbolBorderWidth:0
diff --git a/ios/chrome/browser/settings/ui_bundled/notifications/notifications_mediator.mm b/ios/chrome/browser/settings/ui_bundled/notifications/notifications_mediator.mm
index 24a8643..2cdc4e1 100644
--- a/ios/chrome/browser/settings/ui_bundled/notifications/notifications_mediator.mm
+++ b/ios/chrome/browser/settings/ui_bundled/notifications/notifications_mediator.mm
@@ -144,10 +144,10 @@
- (TableViewSwitchItem*)tipsNotificationsItem {
if (!_tipsNotificationsItem) {
#if BUILDFLAG(IOS_USE_BRANDED_ASSETS)
- UIImage* image = MakeSymbolMulticolor(
- CustomSettingsRootSymbol(kMulticolorChromeballSymbol));
+ UIImage* image =
+ MakeSymbolMulticolor(SettingsRootSymbol(SymbolMulticolorChromeball));
#else
- UIImage* image = CustomSettingsRootSymbol(kChromeProductSymbol);
+ UIImage* image = SettingsRootSymbol(SymbolChromeProduct);
#endif // BUILDFLAG(IOS_USE_BRANDED_ASSETS)
_tipsNotificationsItem = [self
switchItemWithType:NotificationsItemIdentifier::ItemIdentifierTips
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Gauthier Ambard would like Ernesto Izquierdo Clua to review this change.
[iOS] Replace Symbol helper with new helpers
This CL changes the symbol helpers, replacing the dual definitions
Custom/Settings by a version that has only a single helper.
This has been mostly vibe-coded.
This CL was uploaded by git cl split.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Gauthier Ambard would like Rafał Godlewski to review this change.
[iOS] Replace Symbol helper with new helpers
This CL changes the symbol helpers, replacing the dual definitions
Custom/Settings by a version that has only a single helper.
This has been mostly vibe-coded.
This CL was uploaded by git cl split.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Gauthier Ambard would like Benjamin Williams to review this change.
[iOS] Replace Symbol helper with new helpers
This CL changes the symbol helpers, replacing the dual definitions
Custom/Settings by a version that has only a single helper.
This has been mostly vibe-coded.
This CL was uploaded by git cl split.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Gauthier Ambard would like Mark Cogan to review this change.
[iOS] Replace Symbol helper with new helpers
This CL changes the symbol helpers, replacing the dual definitions
Custom/Settings by a version that has only a single helper.
This has been mostly vibe-coded.
This CL was uploaded by git cl split.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Gauthier Ambard would like Duong Dac to review this change.
[iOS] Replace Symbol helper with new helpers
This CL changes the symbol helpers, replacing the dual definitions
Custom/Settings by a version that has only a single helper.
This has been mostly vibe-coded.
This CL was uploaded by git cl split.
diff --git a/ios/chrome/browser/supervised_user/ui/parent_access_bottom_sheet_view_controller.mm b/ios/chrome/browser/supervised_user/ui/parent_access_bottom_sheet_view_controller.mm
index 71f480a..c6d52eac 100644
--- a/ios/chrome/browser/supervised_user/ui/parent_access_bottom_sheet_view_controller.mm
+++ b/ios/chrome/browser/supervised_user/ui/parent_access_bottom_sheet_view_controller.mm
@@ -40,8 +40,8 @@
palette = [transparentPalette copy];
}
- return SymbolWithPalette(
- DefaultSymbolWithPointSize(kXMarkCircleFillSymbol, 30), palette);
+ return SymbolWithPalette(SymbolWithPointSize(SymbolXMarkCircleFill, 30),
+ palette);
}
} // namespace
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Gauthier Ambard would like Aliona Dangla to review this change.
[iOS] Replace Symbol helper with new helpers
This CL changes the symbol helpers, replacing the dual definitions
Custom/Settings by a version that has only a single helper.
This has been mostly vibe-coded.
This CL was uploaded by git cl split.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
change seems fine - what is the risk of a visual regression? is it possible to do some local hard coding to automatically show the price tracking promo card with the fallback image to check it and be safe?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
| Commit-Queue | +2 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
This has been mostly vibe-coded.This has been mostly human-LGTMed.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Commit-Queue | +2 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
| Commit-Queue | +2 |
LGTM
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
#import "ios/chrome/browser/shared/ui/symbols/symbol_enums.h"Should be fixed
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Commit-Queue | +2 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
| Commit-Queue | +2 |
LGTM. This is great - I really disliked that system and custom symbols meant we had to have two versions of functions to deal with them. And everything that took a symbol had to either take a UIImage, or a name and a boolean, etc. I wrote a whole doc a couple years ago on how we should have an ObjC class to contain a symbol and associated methods to change the configuration, etc. And then I did nothing and forgot I had written the doc! But I think this new Symbol enum is good.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
DefaultSymbolWithPointSize(kArrowUTurnBackwardSymbol,should all of these be removed from symbol_names?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Commit-Queue | +2 |
DefaultSymbolWithPointSize(kArrowUTurnBackwardSymbol,should all of these be removed from symbol_names?
Yes, once the 52 other CLs have landed.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
#import "ios/chrome/browser/shared/ui/symbols/symbol_enums.h"Need to be fixed
Symbol GetReaderModeSymbol() {Is that necessary? Check why the other method is still there.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
[handler openURLInNewTab:command];Please fix this WARNING reported by autoreview issue finding: The indentation here seems incorrect. It was previously 20 spaces, now it's only 14. It should be indented by 2 spaces relative to the start of the block.
[handler openURLInNewTab:command];Please fix this WARNING reported by autoreview issue finding: The indentation here is also incorrect (under-indented).
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
| Commit-Queue | +2 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
[iOS] Replace Symbol helper with new helpers
This CL changes the symbol helpers, replacing the dual definitions
Custom/Settings by a version that has only a single helper.
This has been mostly vibe-coded.
This CL was uploaded by git cl split.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
| Commit-Queue | +2 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
| Commit-Queue | +2 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
[iOS] Replace Symbol helper with new helpers
This CL changes the symbol helpers, replacing the dual definitions
Custom/Settings by a version that has only a single helper.
This has been mostly vibe-coded.
This CL was uploaded by git cl split.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
[iOS] Replace Symbol helper with new helpers
This CL changes the symbol helpers, replacing the dual definitions
Custom/Settings by a version that has only a single helper.
This has been mostly vibe-coded.
This CL was uploaded by git cl split.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
#import "ios/chrome/browser/shared/ui/symbols/symbol_enums.h"Mark CoganShould be fixed
Acknowledged
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
LGTM
Bug: 537673111For posterity, https://crrev.com/c/8129922 introduces the new `SymbolWithPointSize()` function and `Symbol` enum.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
[iOS] Replace Symbol helper with new helpers
This CL changes the symbol helpers, replacing the dual definitions
Custom/Settings by a version that has only a single helper.
This has been mostly vibe-coded.
This CL was uploaded by git cl split.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
[iOS] Replace Symbol helper with new helpers
This CL changes the symbol helpers, replacing the dual definitions
Custom/Settings by a version that has only a single helper.
This has been mostly vibe-coded.
This CL was uploaded by git cl split.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
[iOS] Replace Symbol helper with new helpers
This CL changes the symbol helpers, replacing the dual definitions
Custom/Settings by a version that has only a single helper.
This has been mostly vibe-coded.
This CL was uploaded by git cl split.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
[iOS] Replace Symbol helper with new helpers
This CL changes the symbol helpers, replacing the dual definitions
Custom/Settings by a version that has only a single helper.
This has been mostly vibe-coded.
This CL was uploaded by git cl split.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
#import "ios/chrome/browser/shared/ui/symbols/symbol_enums.h"Mark CoganShould be fixed
Acknowledged
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
[iOS] Replace Symbol helper with new helpers
This CL changes the symbol helpers, replacing the dual definitions
Custom/Settings by a version that has only a single helper.
This has been mostly vibe-coded.
This CL was uploaded by git cl split.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
[iOS] Replace Symbol helper with new helpers
This CL changes the symbol helpers, replacing the dual definitions
Custom/Settings by a version that has only a single helper.
This has been mostly vibe-coded.
This CL was uploaded by git cl split.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
[iOS] Replace Symbol helper with new helpers
This CL changes the symbol helpers, replacing the dual definitions
Custom/Settings by a version that has only a single helper.
This has been mostly vibe-coded.
This CL was uploaded by git cl split.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
[iOS] Replace Symbol helper with new helpers
This CL changes the symbol helpers, replacing the dual definitions
Custom/Settings by a version that has only a single helper.
This has been mostly vibe-coded.
This CL was uploaded by git cl split.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
| Commit-Queue | +2 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
| Commit-Queue | +2 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
| Commit-Queue | +2 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +0 |
image = SymbolWithPointSize(config->entrypoint_symbol, symbolPointSize);Looks like `entrypoint_symbol` isn't defined in http://osscs/chromium/chromium/src/+/main:ios/chrome/browser/contextual_panel/model/contextual_panel_item_configuration.h?q=ContextualPanelItemConfiguration&ss=chromium
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
| Commit-Queue | +2 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
[iOS] Replace Symbol helper with new helpers
This CL changes the symbol helpers, replacing the dual definitions
Custom/Settings by a version that has only a single helper.
This has been mostly vibe-coded.
This CL was uploaded by git cl split.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
[iOS] Replace Symbol helper with new helpers
This CL changes the symbol helpers, replacing the dual definitions
Custom/Settings by a version that has only a single helper.
This has been mostly vibe-coded.
This CL was uploaded by git cl split.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |