| 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 module blink.mojom; |
| 6 |
| 7 import "third_party/WebKit/public/platform/bitmap.mojom"; |
| 8 |
| 9 // Structure representing the resources associated with a Web Notification. |
| 10 struct NotificationResources { |
| 11 // Main icon for the notification. The bitmap may be NULL if the developer |
| 12 // did not provide an icon, or fetching of the icon failed. |
| 13 Bitmap? icon; |
| 14 |
| 15 // Badge for the notification. The bitmap may be NULL if the developer |
| 16 // did not provide a badge, or fetching of the badge failed. |
| 17 Bitmap? badge; |
| 18 |
| 19 // Icons for the actions. A bitmap may be NULL if the developer did not |
| 20 // provide an icon, or fetching of the icon failed. |
| 21 array<Bitmap?> action_icons; |
| 22 }; |
| OLD | NEW |