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

Unified Diff: content/renderer/renderer_webkitplatformsupport_impl.h

Issue 16781002: Vibration API: plumbing from Blink to Java. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.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: content/renderer/renderer_webkitplatformsupport_impl.h
diff --git a/content/renderer/renderer_webkitplatformsupport_impl.h b/content/renderer/renderer_webkitplatformsupport_impl.h
index 83990c4fb937815eb594493d77a2cd359d234636..6b26beadcacb56ace4ee0804c5fac072b731af17 100644
--- a/content/renderer/renderer_webkitplatformsupport_impl.h
+++ b/content/renderer/renderer_webkitplatformsupport_impl.h
@@ -129,6 +129,9 @@ class CONTENT_EXPORT RendererWebKitPlatformSupportImpl
virtual WebKit::WebString convertIDNToUnicode(
const WebKit::WebString& host, const WebKit::WebString& languages);
+ virtual void vibrate(unsigned int milliseconds) OVERRIDE;
+ virtual void cancelVibration() OVERRIDE;
+
// Disables the WebSandboxSupport implementation for testing.
// Tests that do not set up a full sandbox environment should call
// SetSandboxEnabledForTesting(false) _before_ creating any instances

Powered by Google App Engine
This is Rietveld 408576698