OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chrome/common/extensions/api/notifications/notification_style.h" | 5 #include "chrome/common/extensions/api/notifications/notification_style.h" |
6 | 6 |
7 #include "ui/message_center/message_center_style.h" | 7 #include "ui/message_center/message_center_style.h" |
8 | 8 |
| 9 NotificationBitmapSizes::NotificationBitmapSizes() { |
| 10 } |
| 11 NotificationBitmapSizes::~NotificationBitmapSizes() { |
| 12 } |
| 13 |
9 NotificationBitmapSizes GetNotificationBitmapSizes() { | 14 NotificationBitmapSizes GetNotificationBitmapSizes() { |
10 NotificationBitmapSizes sizes; | 15 NotificationBitmapSizes sizes; |
11 sizes.image_size = | 16 sizes.image_size = |
12 gfx::Size(message_center::kNotificationPreferredImageWidth, | 17 gfx::Size(message_center::kNotificationPreferredImageWidth, |
13 message_center::kNotificationPreferredImageHeight); | 18 message_center::kNotificationPreferredImageHeight); |
14 sizes.icon_size = gfx::Size(message_center::kNotificationIconSize, | 19 sizes.icon_size = gfx::Size(message_center::kNotificationIconSize, |
15 message_center::kNotificationIconSize); | 20 message_center::kNotificationIconSize); |
16 sizes.button_icon_size = | 21 sizes.button_icon_size = |
17 gfx::Size(message_center::kNotificationButtonIconSize, | 22 gfx::Size(message_center::kNotificationButtonIconSize, |
18 message_center::kNotificationButtonIconSize); | 23 message_center::kNotificationButtonIconSize); |
| 24 |
| 25 sizes.small_icon_size = gfx::Size(message_center::kSmallImageSize, |
| 26 message_center::kSmallImageSize); |
19 return sizes; | 27 return sizes; |
20 } | 28 } |
OLD | NEW |