Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5851)

Unified Diff: chrome/common/extensions/api/notifications/notification_style.cc

Issue 308053004: Add appIconMask to notification API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: addressed comments Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/api/notifications/notification_style.cc
diff --git a/chrome/common/extensions/api/notifications/notification_style.cc b/chrome/common/extensions/api/notifications/notification_style.cc
index 5d2d8833e3e2615270dd67cb43f1d65474d3fc74..811d9a884f60fee7dca9aebd292b3410a1c311d6 100644
--- a/chrome/common/extensions/api/notifications/notification_style.cc
+++ b/chrome/common/extensions/api/notifications/notification_style.cc
@@ -6,6 +6,11 @@
#include "ui/message_center/message_center_style.h"
+NotificationBitmapSizes::NotificationBitmapSizes() {
+}
+NotificationBitmapSizes::~NotificationBitmapSizes() {
+}
+
NotificationBitmapSizes GetNotificationBitmapSizes() {
NotificationBitmapSizes sizes;
sizes.image_size =
@@ -16,5 +21,8 @@ NotificationBitmapSizes GetNotificationBitmapSizes() {
sizes.button_icon_size =
gfx::Size(message_center::kNotificationButtonIconSize,
message_center::kNotificationButtonIconSize);
+
+ sizes.app_icon_mask_size = gfx::Size(message_center::kSmallImageSize,
+ message_center::kSmallImageSize);
return sizes;
}

Powered by Google App Engine
This is Rietveld 408576698