Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1498)

Unified Diff: third_party/WebKit/public/platform/modules/notifications/notification_resources.mojom

Issue 1904163002: Move Web Notifications to use Mojo Base URL: https://chromium.googlesource.com/chromium/src.git@skbitmap-blink
Patch Set: it works \o/ Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/public/platform/modules/notifications/notification_resources.mojom
diff --git a/third_party/WebKit/public/platform/modules/notifications/notification_resources.mojom b/third_party/WebKit/public/platform/modules/notifications/notification_resources.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..15f8a7a191d3cf39623f357c30e654351214ae17
--- /dev/null
+++ b/third_party/WebKit/public/platform/modules/notifications/notification_resources.mojom
@@ -0,0 +1,22 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+module blink.mojom;
+
+import "third_party/WebKit/public/platform/bitmap.mojom";
+
+// Structure representing the resources associated with a Web Notification.
+struct NotificationResources {
+ // Main icon for the notification. The bitmap may be NULL if the developer
+ // did not provide an icon, or fetching of the icon failed.
+ Bitmap? icon;
+
+ // Badge for the notification. The bitmap may be NULL if the developer
+ // did not provide a badge, or fetching of the badge failed.
+ Bitmap? badge;
+
+ // Icons for the actions. A bitmap may be NULL if the developer did not
+ // provide an icon, or fetching of the icon failed.
+ array<Bitmap?> action_icons;
+};

Powered by Google App Engine
This is Rietveld 408576698