Index: public/platform/Platform.h |
diff --git a/public/platform/Platform.h b/public/platform/Platform.h |
index a4d9c045ba20ddba319984e945b481e1afa4c3f6..c255de7078d4390e786134ef4af4882d6155b77f 100644 |
--- a/public/platform/Platform.h |
+++ b/public/platform/Platform.h |
@@ -393,6 +393,16 @@ public: |
virtual long long availableDiskSpaceInBytes(const WebString& fileName) { return 0; } |
+ // Vibration ----------------------------------------------------------- |
+ |
+ // Starts a vibration for the given duration in milliseconds. If there is currently an active |
+ // vibration it will be cancelled before the new one is started. |
+ virtual void vibrate(unsigned time) { } |
+ |
+ // Cancels the current vibration, if there is one. |
+ virtual void cancelVibration() { } |
+ |
+ |
// Testing ------------------------------------------------------------- |
#define HAVE_WEBUNITTESTSUPPORT 1 |