commit | 955fb6d9a0de72f07f2432436f2ee4cda8b8ef3f | [log] [tgz] |
---|---|---|
author | Ana Salazar <[email protected]> | Tue Nov 07 00:14:15 2023 |
committer | Chromium LUCI CQ <[email protected]> | Tue Nov 07 00:14:15 2023 |
tree | e0e28fcfdc6257b7428d6c7f9677ccbc54ea822a | |
parent | d5e7c063dfba5d8c8222679a4bc43b6547495b0b [diff] [blame] |
Notify ShelfItem if IconImage is a placeholder Create a field on the ShelfItem for the Shelf UI to be able to identify a placeholder icon from a regular icon. Bug: b:304383596 Change-Id: Ic085a31b277b7fa7d48d519a8f6fceda14622fe9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5001948 Reviewed-by: Scott Violet <[email protected]> Reviewed-by: Ana Salazar <[email protected]> Commit-Queue: Ana Salazar <[email protected]> Reviewed-by: Toni Barzic <[email protected]> Cr-Commit-Position: refs/heads/main@{#1220624}
diff --git a/chrome/browser/notifications/extension_notifier_controller.cc b/chrome/browser/notifications/extension_notifier_controller.cc index 3292b49..62ba48a 100644 --- a/chrome/browser/notifications/extension_notifier_controller.cc +++ b/chrome/browser/notifications/extension_notifier_controller.cc
@@ -78,6 +78,7 @@ void ExtensionNotifierController::OnAppImageUpdated( const std::string& id, const gfx::ImageSkia& image, + bool is_placeholder_icon, const absl::optional<gfx::ImageSkia>& badge_image) { observer_->OnIconImageUpdated( message_center::NotifierId(message_center::NotifierType::APPLICATION, id),