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

Unified Diff: public/webpage/WebRuntimeFeatures.h

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: Make supplementName() private and delete isActive(). 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
« Source/modules/vibration/Vibration.h ('K') | « public/platform/Platform.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/webpage/WebRuntimeFeatures.h
diff --git a/public/webpage/WebRuntimeFeatures.h b/public/webpage/WebRuntimeFeatures.h
index fb91764226c7035d8c6b2c820756b345f894e18c..86b6c59779b185e2e2ebfe814602cb336e205e70 100644
--- a/public/webpage/WebRuntimeFeatures.h
+++ b/public/webpage/WebRuntimeFeatures.h
@@ -208,6 +208,9 @@ public:
WEBKIT_EXPORT static void enableInputTypeColor(bool);
WEBKIT_EXPORT static bool isInputTypeColorEnabled();
+ WEBKIT_EXPORT static void enableVibration(bool);
+ WEBKIT_EXPORT static bool isVibrationEnabled();
abarth-chromium 2013/06/11 23:55:36 Is there a reason this need to be controllable sep
Michael van Ouwerkerk 2013/06/12 16:44:50 I use these during development to enable the API f
+
private:
WebRuntimeFeatures();
};
« Source/modules/vibration/Vibration.h ('K') | « public/platform/Platform.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698