| 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/size.h" | 8 #include "ui/gfx/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(); |
| 14 ~NotificationBitmapSizes(); |
| 15 |
| 13 gfx::Size image_size; | 16 gfx::Size image_size; |
| 14 gfx::Size icon_size; | 17 gfx::Size icon_size; |
| 15 gfx::Size button_icon_size; | 18 gfx::Size button_icon_size; |
| 19 gfx::Size app_icon_mask_size; |
| 16 }; | 20 }; |
| 17 | 21 |
| 18 NotificationBitmapSizes GetNotificationBitmapSizes(); | 22 NotificationBitmapSizes GetNotificationBitmapSizes(); |
| 19 | 23 |
| 20 #endif // CHROME_COMMON_EXTENSIONS_API_NOTIFICATIONS_NOTIFICATION_STYLE_H_ | 24 #endif // CHROME_COMMON_EXTENSIONS_API_NOTIFICATIONS_NOTIFICATION_STYLE_H_ |
| OLD | NEW |