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

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: 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..970d7321c43f92d2afc30f27b76acb8bce5d47af 100644
--- a/Source/modules/vibration/NavigatorVibration.idl
+++ b/Source/modules/vibration/NavigatorVibration.idl
@@ -18,7 +18,7 @@
*/
[
- Conditional=VIBRATION
+ EnabledAtRuntime=Vibration
] partial interface Navigator {
[RaisesException] void vibrate(sequence<unsigned long> pattern);
Peter Beverloo 2013/06/11 10:19:10 Neither of these methods still raises an exception
Michael van Ouwerkerk 2013/06/11 13:26:51 Done.
[RaisesException] void vibrate(unsigned long time);

Powered by Google App Engine
This is Rietveld 408576698