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

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: Fix layout tests, minor cleanup. 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..8519266592b563604865226afc1a45167913f082 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);
+ boolean vibrate(sequence<unsigned long> pattern);
+ boolean vibrate(unsigned long time);
};

Powered by Google App Engine
This is Rietveld 408576698