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

Unified Diff: content/common/view_messages.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
« no previous file with comments | « content/browser/vibration/vibration_service_impl_android.cc ('k') | content/content_browser.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/view_messages.h
diff --git a/content/common/view_messages.h b/content/common/view_messages.h
index fc26803f197076bf9cf8086799b2db51847ff02e..ced59cb45d0a54ed4aaa34fc18ffc699be7c48d2 100644
--- a/content/common/view_messages.h
+++ b/content/common/view_messages.h
@@ -1695,6 +1695,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.
+IPC_MESSAGE_CONTROL1(ViewHostMsg_Vibrate,
+ int32 /* milliseconds */)
palmer 2013/06/24 19:07:08 I really think you're better off using int64_t (==
Michael van Ouwerkerk 2013/06/25 10:56:07 The windows bots fail to compile because int64_t i
+
+// 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 */)
« no previous file with comments | « content/browser/vibration/vibration_service_impl_android.cc ('k') | content/content_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698