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

Unified Diff: Source/modules/notifications/Notification.h

Issue 1309273007: Add requireInteraction to Notification & NotificationOptions (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@constructor
Patch Set: Add to NotificationDataTest.cpp Created 5 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: Source/modules/notifications/Notification.h
diff --git a/Source/modules/notifications/Notification.h b/Source/modules/notifications/Notification.h
index ede4f7894defd0937940dfcddce41d9a73baee17..2d13597414cf0230c261d02ac5fb8b9c5bbf8cce 100644
--- a/Source/modules/notifications/Notification.h
+++ b/Source/modules/notifications/Notification.h
@@ -95,6 +95,7 @@ public:
String icon() const;
NavigatorVibration::VibrationPattern vibrate(bool& isNull) const;
bool silent() const;
+ bool requireInteraction() const;
ScriptValue data(ScriptState*);
HeapVector<NotificationAction> actions() const;

Powered by Google App Engine
This is Rietveld 408576698