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

Unified Diff: public/platform/WebVibration.h

Issue 1042513002: Add the vibrate attribute to the Notification object (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase 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: public/platform/WebVibration.h
diff --git a/public/platform/WebVibration.h b/public/platform/WebVibration.h
index 842d63c3c0a648bce53f4c85adb16bce2b73ecbf..055ee767786e48449d4937e5fcb4a6f5619348fc 100644
--- a/public/platform/WebVibration.h
+++ b/public/platform/WebVibration.h
@@ -36,6 +36,9 @@ namespace blink {
// Maximum duration of a vibration is 10 seconds.
const unsigned kVibrationDurationMax = 10000;
+// Maximum number of entries in a vibration pattern.
+const unsigned kVibrationPatternLengthMax = 99;
Peter Beverloo 2015/04/09 13:03:17 Note that you're exposing this in the Blink API, b
Sanghyun Park 2015/04/09 13:48:05 Okay, I'll remove this.
+
} // namespace blink
#endif // WebVibration_h

Powered by Google App Engine
This is Rietveld 408576698