diff options
author | scheib@chromium.org <scheib@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-26 16:29:39 +0000 |
---|---|---|
committer | scheib@chromium.org <scheib@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-04-26 16:29:39 +0000 |
commit | 42252e078e8bd3d278bc2c33e8ae593c265210fe (patch) | |
tree | 5c5f9ab20bf17bb3af0ad3c0a020ae9b40bad017 /content/common | |
parent | ada30200303b4764d634a30923f619abcb848f71 (diff) | |
download | chromium_src-42252e078e8bd3d278bc2c33e8ae593c265210fe.zip chromium_src-42252e078e8bd3d278bc2c33e8ae593c265210fe.tar.gz chromium_src-42252e078e8bd3d278bc2c33e8ae593c265210fe.tar.bz2 |
User Gesture plumbed from Renderer to Browser's FullscreenController::RequestToLockMouse.
Part of a larger set of patches refactoring FullscreenController to support mouse lock in windowed (not fullscreen) mode.
R=yzshen@chromium.org
BUG=107320
Review URL: https://chromiumcodereview.appspot.com/10173030
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@134113 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/common')
-rw-r--r-- | content/common/view_messages.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/content/common/view_messages.h b/content/common/view_messages.h index 22a9404..8edcf91 100644 --- a/content/common/view_messages.h +++ b/content/common/view_messages.h @@ -1995,7 +1995,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 |