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

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: rebase 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 2dfab9d5a75d708abfcea33134a6feb09aaf9e0d..5dde7d39ae3b3e73da47c8a218e9f97d6e318ac0 100644
--- a/content/renderer/renderer_webkitplatformsupport_impl.h
+++ b/content/renderer/renderer_webkitplatformsupport_impl.h
@@ -126,6 +126,9 @@ class CONTENT_EXPORT RendererWebKitPlatformSupportImpl
virtual WebKit::WebString convertIDNToUnicode(
const WebKit::WebString& host, const WebKit::WebString& languages);
+ virtual void vibrate(unsigned 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