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

Unified Diff: public/platform/modules/notifications/WebNotificationData.h

Issue 1110063002: Change vibrate type in WebNotificationData (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 8 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/modules/notifications/WebNotificationData.h
diff --git a/public/platform/modules/notifications/WebNotificationData.h b/public/platform/modules/notifications/WebNotificationData.h
index 211be2456bdd00b31a2c6d183dd74d3cf370e86f..dbcf45a4dac8857e8a1fbb695964982187df9aca 100644
--- a/public/platform/modules/notifications/WebNotificationData.h
+++ b/public/platform/modules/notifications/WebNotificationData.h
@@ -25,18 +25,6 @@ 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)
- : title(title)
- , direction(direction)
- , lang(lang)
- , body(body)
- , tag(tag)
- , icon(icon)
- , silent(silent)
- {
- }
-
- // 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)
@@ -49,7 +37,7 @@ 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)
+ 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)
, lang(lang)
@@ -68,7 +56,7 @@ struct WebNotificationData {
WebString body;
WebString tag;
WebURL icon;
- WebVector<unsigned> vibrate;
+ WebVector<int> vibrate;
bool silent;
WebVector<char> data;
};
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698