| Index: ui/message_center/notification.h
|
| diff --git a/ui/message_center/notification.h b/ui/message_center/notification.h
|
| index 060cddaef49dcc1156658e010abe6caa60683c0c..074d1812cefb3b2a22b17b74eab339af58e5fd13 100644
|
| --- a/ui/message_center/notification.h
|
| +++ b/ui/message_center/notification.h
|
| @@ -50,6 +50,7 @@ class MESSAGE_CENTER_EXPORT RichNotificationData {
|
| std::vector<ButtonInfo> buttons;
|
| bool should_make_spoken_feedback_for_popup_updates;
|
| bool clickable;
|
| + std::vector<int> vibrate_pattern;
|
| bool silent;
|
| };
|
|
|
| @@ -104,6 +105,15 @@ class MESSAGE_CENTER_EXPORT Notification {
|
| int priority() const { return optional_fields_.priority; }
|
| void set_priority(int priority) { optional_fields_.priority = priority; }
|
|
|
| + // This vibrate_pattern property currently has no effect on
|
| + // non-Android platforms.
|
| + const std::vector<int>& vibrate_pattern() const {
|
| + return optional_fields_.vibrate_pattern;
|
| + }
|
| + void set_vibrate_pattern(const std::vector<int>& vibrate_pattern) {
|
| + optional_fields_.vibrate_pattern = vibrate_pattern;
|
| + }
|
| +
|
| // This property currently has no effect on non-Android platforms.
|
| bool silent() const { return optional_fields_.silent; }
|
| void set_silent(bool silent) { optional_fields_.silent = silent; }
|
|
|