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

Unified Diff: chrome/browser/notifications/platform_notification_service_impl.cc

Issue 1054573002: Implement support for notification.vibrate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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: chrome/browser/notifications/platform_notification_service_impl.cc
diff --git a/chrome/browser/notifications/platform_notification_service_impl.cc b/chrome/browser/notifications/platform_notification_service_impl.cc
index a2127fe92a2ad24aec9d16f314c23036f85f60ff..21baeb7c83239ea682f8c62809c6d8467d86a9fa 100644
--- a/chrome/browser/notifications/platform_notification_service_impl.cc
+++ b/chrome/browser/notifications/platform_notification_service_impl.cc
@@ -323,6 +323,7 @@ Notification PlatformNotificationServiceImpl::CreateNotificationFromData(
display_source, notification_data.tag, delegate);
notification.set_context_message(display_source);
+ notification.set_vibration_pattern(notification_data.vibration_pattern);
notification.set_silent(notification_data.silent);
// Web Notifications do not timeout.

Powered by Google App Engine
This is Rietveld 408576698