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

Unified Diff: chrome/test/data/notifications/platform_notification_service.html

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: chrome/test/data/notifications/platform_notification_service.html
diff --git a/chrome/test/data/notifications/platform_notification_service.html b/chrome/test/data/notifications/platform_notification_service.html
index d0b412499bdb7a396b8cab7450a8e006563e1137..af39e455377a99ee8b05e23e90723d5aefcea11c 100644
--- a/chrome/test/data/notifications/platform_notification_service.html
+++ b/chrome/test/data/notifications/platform_notification_service.html
@@ -61,6 +61,14 @@
});
}
+ // Displays a persistent notification with vibrate field.
+ function DisplayPersistentNotificationVibrate() {
Peter Beverloo 2015/04/21 17:58:23 Dito - Please just include a pattern in DisplayPer
Sanghyun Park 2015/04/23 11:08:26 Ditto. I tried to add vibrate property in Display
+ DisplayPersistentNotification('Title', {
+ body: 'Contents',
+ vibrate: [100, 200, 300]
+ });
+ }
+
// Displays a persistent notification with a data: URL as its image.
function DisplayPersistentNotificationDataUrlImage() {
fetch('icon.png').then(function(response) {
@@ -104,4 +112,4 @@
}
</script>
</body>
-</html>
+</html>

Powered by Google App Engine
This is Rietveld 408576698