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

Unified Diff: third_party/WebKit/Source/modules/notifications/NotificationOptions.idl

Issue 2261283002: Add Notification images (Blink + desktop implementation) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Check IPC drawsNothing rather than isNull Created 4 years, 4 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/Source/modules/notifications/NotificationOptions.idl
diff --git a/third_party/WebKit/Source/modules/notifications/NotificationOptions.idl b/third_party/WebKit/Source/modules/notifications/NotificationOptions.idl
index 5657d9af7e12f96fee80265d1d77c0adfb095d5f..09b6dc9d62c662e68aeae7ca3e436a31ccfcbb5f 100644
--- a/third_party/WebKit/Source/modules/notifications/NotificationOptions.idl
+++ b/third_party/WebKit/Source/modules/notifications/NotificationOptions.idl
@@ -15,6 +15,7 @@ dictionary NotificationOptions {
DOMString lang = "";
DOMString body = "";
DOMString tag = "";
+ [RuntimeEnabled=NotificationImage] USVString image;
USVString icon;
[RuntimeEnabled=NotificationBadge] USVString badge;
// TODO(sh919.park): vibrate should be ([Clamp] unsigned long or sequence<unsigned long>)

Powered by Google App Engine
This is Rietveld 408576698