| Index: public/platform/modules/notifications/WebNotificationData.h
|
| diff --git a/public/platform/modules/notifications/WebNotificationData.h b/public/platform/modules/notifications/WebNotificationData.h
|
| index 75b2575bc93323c4a40354845645166bae443c01..c419de1fb0d4c22ae3c734872e0ba05089e50a15 100644
|
| --- a/public/platform/modules/notifications/WebNotificationData.h
|
| +++ b/public/platform/modules/notifications/WebNotificationData.h
|
| @@ -24,6 +24,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, const WebVector<int>& vibrate, bool silent, const WebVector<char>& data)
|
| : title(title)
|
| , direction(direction)
|
| @@ -37,12 +38,27 @@ struct WebNotificationData {
|
| {
|
| }
|
|
|
| + WebNotificationData(const WebString& title, Direction direction, const WebString& lang, const WebString& body, const WebString& tag, const WebURL& icon, const WebURL& sound, const WebVector<int>& vibrate, bool silent, const WebVector<char>& data)
|
| + : title(title)
|
| + , direction(direction)
|
| + , lang(lang)
|
| + , body(body)
|
| + , tag(tag)
|
| + , icon(icon)
|
| + , sound(sound)
|
| + , vibrate(vibrate)
|
| + , silent(silent)
|
| + , data(data)
|
| + {
|
| + }
|
| +
|
| WebString title;
|
| Direction direction;
|
| WebString lang;
|
| WebString body;
|
| WebString tag;
|
| WebURL icon;
|
| + WebURL sound;
|
| WebVector<int> vibrate;
|
| bool silent;
|
| WebVector<char> data;
|
|
|