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

Unified Diff: modules/vibration/NavigatorVibration.idl

Issue 126143003: Update IDL to Chrome 32 (Closed) Base URL: https://dart.googlecode.com/svn/third_party/WebCore
Patch Set: Add new files Created 6 years, 11 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: modules/vibration/NavigatorVibration.idl
diff --git a/modules/vibration/NavigatorVibration.idl b/modules/vibration/NavigatorVibration.idl
index 8519266592b563604865226afc1a45167913f082..3307c6a77c1c750ada7c16b131cbaa0863dc68d4 100644
--- a/modules/vibration/NavigatorVibration.idl
+++ b/modules/vibration/NavigatorVibration.idl
@@ -18,9 +18,11 @@
*/
[
- EnabledAtRuntime=Vibration
+ RuntimeEnabled=Vibration
] partial interface Navigator {
+ // FIXME: The contents of the pattern argument should be clamped.
+ // See https://code.google.com/p/chromium/issues/detail?id=310138
boolean vibrate(sequence<unsigned long> pattern);
- boolean vibrate(unsigned long time);
+ boolean vibrate([Clamp] unsigned long time);
};
« no previous file with comments | « modules/speech/testing/InternalsSpeechSynthesis.idl ('k') | modules/vibration/testing/InternalsVibration.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698