diff options
Diffstat (limited to 'chromium/third_party/WebKit/Source/modules/vibration/NavigatorVibration.idl')
-rw-r--r-- | chromium/third_party/WebKit/Source/modules/vibration/NavigatorVibration.idl | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/chromium/third_party/WebKit/Source/modules/vibration/NavigatorVibration.idl b/chromium/third_party/WebKit/Source/modules/vibration/NavigatorVibration.idl index 3307c6a77c1..8ed66244a67 100644 --- a/chromium/third_party/WebKit/Source/modules/vibration/NavigatorVibration.idl +++ b/chromium/third_party/WebKit/Source/modules/vibration/NavigatorVibration.idl @@ -17,12 +17,12 @@ * Boston, MA 02110-1301, USA. */ -[ - RuntimeEnabled=Vibration -] partial interface Navigator { +// http://dev.w3.org/2009/dap/vibration/#idl-def-Navigator + +partial interface Navigator { + // FIXME: should be union type http://crbug.com/240176 // FIXME: The contents of the pattern argument should be clamped. // See https://code.google.com/p/chromium/issues/detail?id=310138 + boolean vibrate([Clamp] unsigned long pattern); boolean vibrate(sequence<unsigned long> pattern); - boolean vibrate([Clamp] unsigned long time); }; - |