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 #ifndef CHROME_COMMON_EXTENSIONS_API_NOTIFICATIONS_NOTIFICATION_STYLE_H_ | 5 #ifndef CHROME_COMMON_EXTENSIONS_API_NOTIFICATIONS_NOTIFICATION_STYLE_H_ |
6 #define CHROME_COMMON_EXTENSIONS_API_NOTIFICATIONS_NOTIFICATION_STYLE_H_ | 6 #define CHROME_COMMON_EXTENSIONS_API_NOTIFICATIONS_NOTIFICATION_STYLE_H_ |
7 | 7 |
8 #include "ui/gfx/geometry/size.h" | 8 #include "ui/gfx/geometry/size.h" |
9 | 9 |
10 // This structure describes the size in DIPs of each type of image rendered | 10 // This structure describes the size in DIPs of each type of image rendered |
11 // by the notification center within a notification. | 11 // by the notification center within a notification. |
12 struct NotificationBitmapSizes { | 12 struct NotificationBitmapSizes { |
13 NotificationBitmapSizes(); | 13 NotificationBitmapSizes(); |
| 14 NotificationBitmapSizes(const NotificationBitmapSizes& other); |
14 ~NotificationBitmapSizes(); | 15 ~NotificationBitmapSizes(); |
15 | 16 |
16 gfx::Size image_size; | 17 gfx::Size image_size; |
17 gfx::Size icon_size; | 18 gfx::Size icon_size; |
18 gfx::Size button_icon_size; | 19 gfx::Size button_icon_size; |
19 gfx::Size app_icon_mask_size; | 20 gfx::Size app_icon_mask_size; |
20 }; | 21 }; |
21 | 22 |
22 NotificationBitmapSizes GetNotificationBitmapSizes(); | 23 NotificationBitmapSizes GetNotificationBitmapSizes(); |
23 | 24 |
24 #endif // CHROME_COMMON_EXTENSIONS_API_NOTIFICATIONS_NOTIFICATION_STYLE_H_ | 25 #endif // CHROME_COMMON_EXTENSIONS_API_NOTIFICATIONS_NOTIFICATION_STYLE_H_ |
OLD | NEW |