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

Unified Diff: content/common/view_messages.h

Issue 10173030: User Gesture plumbed from Renderer to Browser's FullscreenController::RequestToLockMouse. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: yzshen nits fixed. Created 8 years, 8 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/common/view_messages.h
diff --git a/content/common/view_messages.h b/content/common/view_messages.h
index add965417bef0ec01be05712006ac0836d7d0de0..4ca4502bcbaf354fc8561e0b59c0cf25fa1ace59 100644
--- a/content/common/view_messages.h
+++ b/content/common/view_messages.h
@@ -1993,7 +1993,8 @@ IPC_MESSAGE_CONTROL1(ViewHostMsg_MediaLogEvent,
// Requests to lock the mouse. Will result in a ViewMsg_LockMouse_ACK message
// being sent back.
-IPC_MESSAGE_ROUTED0(ViewHostMsg_LockMouse)
+IPC_MESSAGE_ROUTED1(ViewHostMsg_LockMouse,
+ bool /* user_gesture */)
// Requests to unlock the mouse. A ViewMsg_MouseLockLost message will be sent
// whenever the mouse is unlocked (which may or may not be caused by
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | content/public/browser/render_view_host_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698