Index: content/common/view_messages.h |
diff --git a/content/common/view_messages.h b/content/common/view_messages.h |
index d8e0f729fac7519e8aab86917e4bd98dac3a20fb..e18a275f56c5a29b457ee5a4f656a65d6a4d9380 100644 |
--- a/content/common/view_messages.h |
+++ b/content/common/view_messages.h |
@@ -1715,6 +1715,15 @@ IPC_SYNC_MESSAGE_CONTROL4_2(ViewHostMsg_OpenChannelToPlugin, |
IPC::ChannelHandle /* channel_handle */, |
webkit::WebPluginInfo /* info */) |
+// Sent by the renderer to the browser to start a vibration with the given |
+// duration in milliseconds. |
+IPC_MESSAGE_CONTROL1(ViewHostMsg_Vibrate, |
+ unsigned /* time */) |
+ |
+// Sent by the renderer to the browser to cancel the currently running |
+// vibration, if there is one. |
+IPC_MESSAGE_CONTROL0(ViewHostMsg_CancelVibration) |
+ |
#if defined(OS_WIN) |
IPC_MESSAGE_ROUTED1(ViewHostMsg_WindowlessPluginDummyWindowCreated, |
gfx::NativeViewId /* dummy_activation_window */) |