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

Unified Diff: content/public/common/platform_notification_data.h

Issue 1054573002: Implement support for notification.vibrate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.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
Index: content/public/common/platform_notification_data.h
diff --git a/content/public/common/platform_notification_data.h b/content/public/common/platform_notification_data.h
index 5b608c0d3b2b5d668b2978a1461743be45e3b39c..ac6b34fdec3b9aa7a1cdad1f3d81f8c4f4fc286a 100644
--- a/content/public/common/platform_notification_data.h
+++ b/content/public/common/platform_notification_data.h
@@ -51,6 +51,9 @@ struct CONTENT_EXPORT PlatformNotificationData {
// URL of the icon which is to be displayed with the notification.
GURL icon;
+ // Vibrate pettern for notification.
Avi (use Gerrit) 2015/04/21 17:28:47 typo: pattern
Peter Beverloo 2015/04/21 17:58:23 I'd prefer the following comment: // Vibration
Sanghyun Park 2015/04/23 11:08:27 Done.
Sanghyun Park 2015/04/23 11:08:27 Done.
+ std::vector<unsigned> vibrate;
Avi (use Gerrit) 2015/04/21 17:28:47 Use of unsigned ints is prohibited by the style gu
Peter Beverloo 2015/04/21 17:58:23 We clamp the individual vibration indices to [0, b
Sanghyun Park 2015/04/23 11:08:27 Thanks for letting me know . I didn't know about [
+
// Whether default notification indicators (sound, vibration, light) should
// be suppressed.
bool silent = false;

Powered by Google App Engine
This is Rietveld 408576698