| Index: public/platform/modules/notifications/WebNotificationData.h
|
| diff --git a/public/platform/modules/notifications/WebNotificationData.h b/public/platform/modules/notifications/WebNotificationData.h
|
| index c1f0a5370e8b88e615303b0725622b379dc1cfc3..70f980c613dbafea6abe5c4b84923c65da60add3 100644
|
| --- a/public/platform/modules/notifications/WebNotificationData.h
|
| +++ b/public/platform/modules/notifications/WebNotificationData.h
|
| @@ -7,6 +7,7 @@
|
|
|
| #include "public/platform/WebString.h"
|
| #include "public/platform/WebURL.h"
|
| +#include "public/platform/modules/notifications/WebNotificationVibratePattern.h"
|
|
|
| namespace blink {
|
|
|
| @@ -35,6 +36,7 @@ struct WebNotificationData {
|
| {
|
| }
|
|
|
| + // 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, bool silent, const WebString& data)
|
| : title(title)
|
| , direction(direction)
|
| @@ -47,12 +49,26 @@ struct WebNotificationData {
|
| {
|
| }
|
|
|
| + WebNotificationData(const WebString& title, Direction direction, const WebString& lang, const WebString& body, const WebString& tag, const WebURL& icon, const WebNotificationVibratePattern& vibrate, bool silent, const WebString& data)
|
| + : title(title)
|
| + , direction(direction)
|
| + , lang(lang)
|
| + , body(body)
|
| + , tag(tag)
|
| + , icon(icon)
|
| + , vibrate(vibrate)
|
| + , silent(silent)
|
| + , data(data)
|
| + {
|
| + }
|
| +
|
| WebString title;
|
| Direction direction;
|
| WebString lang;
|
| WebString body;
|
| WebString tag;
|
| WebURL icon;
|
| + WebNotificationVibratePattern vibrate;
|
| bool silent;
|
| WebString data;
|
| };
|
|
|