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

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

Issue 960163003: Add the "silent" property to the NotificationOptions dictionary. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 5 years, 10 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
« no previous file with comments | « no previous file | Source/modules/notifications/Notification.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/notifications/Notification.h
diff --git a/Source/modules/notifications/Notification.h b/Source/modules/notifications/Notification.h
index feb01bb8d804d3a5b4b7410ca6816518ea910112..4074afbeba9fe6eeb0739c61ab33505b0d1f502c 100644
--- a/Source/modules/notifications/Notification.h
+++ b/Source/modules/notifications/Notification.h
@@ -82,6 +82,7 @@ public:
String body() const { return m_body; }
String tag() const { return m_tag; }
String icon() const { return m_iconUrl; }
+ bool silent() const { return m_silent; }
TextDirection direction() const;
KURL iconURL() const { return m_iconUrl; }
@@ -119,6 +120,7 @@ private:
void setBody(const String& body) { m_body = body; }
void setIconUrl(KURL iconUrl) { m_iconUrl = iconUrl; }
void setTag(const String& tag) { m_tag = tag; }
+ void setSilent(bool silent) { m_silent = silent; }
void setPersistentId(const String& persistentId) { m_persistentId = persistentId; }
@@ -128,6 +130,7 @@ private:
String m_lang;
String m_body;
String m_tag;
+ bool m_silent;
KURL m_iconUrl;
« no previous file with comments | « no previous file | Source/modules/notifications/Notification.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698