| Index: public/platform/modules/notifications/WebNotificationData.h
|
| diff --git a/public/platform/modules/notifications/WebNotificationData.h b/public/platform/modules/notifications/WebNotificationData.h
|
| index 8ee94f0d09d21b3729ea44a63a9df585e44754e8..211be2456bdd00b31a2c6d183dd74d3cf370e86f 100644
|
| --- a/public/platform/modules/notifications/WebNotificationData.h
|
| +++ b/public/platform/modules/notifications/WebNotificationData.h
|
| @@ -36,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 WebVector<char>& data)
|
| : title(title)
|
| , direction(direction)
|
| @@ -48,12 +49,26 @@ struct WebNotificationData {
|
| {
|
| }
|
|
|
| + WebNotificationData(const WebString& title, Direction direction, const WebString& lang, const WebString& body, const WebString& tag, const WebURL& icon, const WebVector<unsigned>& vibrate, bool silent, const WebVector<char>& 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;
|
| + WebVector<unsigned> vibrate;
|
| bool silent;
|
| WebVector<char> data;
|
| };
|
|
|