| Index: public/platform/modules/notifications/WebNotificationData.h
|
| diff --git a/public/platform/modules/notifications/WebNotificationData.h b/public/platform/modules/notifications/WebNotificationData.h
|
| index b9394750c2d662091fa8866238719a4d05281837..537ed26aa7edaf5b6c892db2cc01cd45f72cf586 100644
|
| --- a/public/platform/modules/notifications/WebNotificationData.h
|
| +++ b/public/platform/modules/notifications/WebNotificationData.h
|
| @@ -19,9 +19,11 @@ struct WebNotificationData {
|
|
|
| WebNotificationData()
|
| : direction(DirectionLeftToRight)
|
| + , silent(false)
|
| {
|
| }
|
|
|
| + // FIXME: Remove this constructor when Chromium has switched to the new one.
|
| WebNotificationData(const WebString& title, Direction direction, const WebString& lang, const WebString& body, const WebString& tag, const WebURL& icon)
|
| : title(title)
|
| , direction(direction)
|
| @@ -29,6 +31,18 @@ struct WebNotificationData {
|
| , body(body)
|
| , tag(tag)
|
| , icon(icon)
|
| + , silent(false)
|
| + {
|
| + }
|
| +
|
| + WebNotificationData(const WebString& title, Direction direction, const WebString& lang, const WebString& body, const WebString& tag, const WebURL& icon, bool silent)
|
| + : title(title)
|
| + , direction(direction)
|
| + , lang(lang)
|
| + , body(body)
|
| + , tag(tag)
|
| + , icon(icon)
|
| + , silent(silent)
|
| {
|
| }
|
|
|
| @@ -38,6 +52,7 @@ struct WebNotificationData {
|
| WebString body;
|
| WebString tag;
|
| WebURL icon;
|
| + bool silent;
|
| };
|
|
|
| } // namespace blink
|
|
|