Index: content/renderer/renderer_webkitplatformsupport_impl.h |
diff --git a/content/renderer/renderer_webkitplatformsupport_impl.h b/content/renderer/renderer_webkitplatformsupport_impl.h |
index 462186ca94286c2a0292924ad7048e0bb0a0fcf8..200651edd92929c8fc3463c9c0b89e915f9b1b7b 100644 |
--- a/content/renderer/renderer_webkitplatformsupport_impl.h |
+++ b/content/renderer/renderer_webkitplatformsupport_impl.h |
@@ -12,6 +12,7 @@ |
#include "content/child/blink_platform_impl.h" |
#include "content/common/content_export.h" |
#include "content/renderer/webpublicsuffixlist_impl.h" |
+#include "device/vibration/vibration_manager.mojom.h" |
#include "third_party/WebKit/public/platform/WebGraphicsContext3D.h" |
#include "third_party/WebKit/public/platform/WebIDBFactory.h" |
#include "third_party/WebKit/public/platform/WebScreenOrientationType.h" |
@@ -193,6 +194,7 @@ class CONTENT_EXPORT RendererWebKitPlatformSupportImpl |
// Use the data previously set via SetMockDevice...DataForTesting() and send |
// them to the registered listener. |
void SendFakeDeviceEventDataForTesting(blink::WebPlatformEventType type); |
+ device::VibrationManagerPtr& GetConnectedVibrationManagerService(); |
scoped_ptr<RendererClipboardClient> clipboard_client_; |
scoped_ptr<WebClipboardImpl> clipboard_; |
@@ -240,6 +242,9 @@ class CONTENT_EXPORT RendererWebKitPlatformSupportImpl |
IDMap<PlatformEventObserverBase, IDMapOwnPointer> platform_event_observers_; |
+ // Handle to the Vibration mojo service. |
+ device::VibrationManagerPtr vibration_manager_; |
+ |
DISALLOW_COPY_AND_ASSIGN(RendererWebKitPlatformSupportImpl); |
}; |