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

Unified Diff: Source/modules/vibration/NavigatorVibration.idl

Issue 15724023: Vibration API: use runtime flag, change from client to platform. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Delete unused code. Created 7 years, 6 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: Source/modules/vibration/NavigatorVibration.idl
diff --git a/Source/modules/vibration/NavigatorVibration.idl b/Source/modules/vibration/NavigatorVibration.idl
index ba3b25831e0f6d764a4fd8c5a302067d5a35dbcf..6741b1b1c7bad543a2764013a88d85daf486810f 100644
--- a/Source/modules/vibration/NavigatorVibration.idl
+++ b/Source/modules/vibration/NavigatorVibration.idl
@@ -18,9 +18,9 @@
*/
[
- Conditional=VIBRATION
+ EnabledAtRuntime=Vibration
] partial interface Navigator {
- [RaisesException] void vibrate(sequence<unsigned long> pattern);
- [RaisesException] void vibrate(unsigned long time);
+ void vibrate(sequence<unsigned long> pattern);
+ void vibrate(unsigned long time);
};

Powered by Google App Engine
This is Rietveld 408576698