1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "chrome/common/extensions/api/notifications/notification_style.h"
7 #include "ui/message_center/message_center_style.h"
9 NotificationBitmapSizes::NotificationBitmapSizes() {
11 NotificationBitmapSizes::~NotificationBitmapSizes() {
14 NotificationBitmapSizes
GetNotificationBitmapSizes() {
15 NotificationBitmapSizes sizes
;
17 gfx::Size(message_center::kNotificationPreferredImageWidth
,
18 message_center::kNotificationPreferredImageHeight
);
19 sizes
.icon_size
= gfx::Size(message_center::kNotificationIconSize
,
20 message_center::kNotificationIconSize
);
21 sizes
.button_icon_size
=
22 gfx::Size(message_center::kNotificationButtonIconSize
,
23 message_center::kNotificationButtonIconSize
);
25 sizes
.app_icon_mask_size
= gfx::Size(message_center::kSmallImageSize
,
26 message_center::kSmallImageSize
);