OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 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. |
| 4 |
| 5 #ifndef CONTENT_PUBLIC_COMMON_NOTIFICATION_RESOURCES_H_ |
| 6 #define CONTENT_PUBLIC_COMMON_NOTIFICATION_RESOURCES_H_ |
| 7 |
| 8 #include "content/common/content_export.h" |
| 9 #include "third_party/skia/include/core/SkBitmap.h" |
| 10 |
| 11 namespace content { |
| 12 |
| 13 // Structure to hold the resources associated with a Web Notification. |
| 14 // TODO(mvanouwerkerk): Add resources for e.g. action icons - crbug.com/581336. |
| 15 struct CONTENT_EXPORT NotificationResources { |
| 16 // Main icon for the notification. The bitmap may be empty if the developer |
| 17 // did not provide an icon, or fetching of the icon failed. |
| 18 SkBitmap notification_icon; |
| 19 }; |
| 20 |
| 21 } // namespace content |
| 22 |
| 23 #endif // CONTENT_PUBLIC_COMMON_NOTIFICATION_RESOURCES_H_ |
OLD | NEW |