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

Unified Diff: content/common/view_messages.h

Issue 10443045: Silent mouse lock after unlock by target (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Update for silent mouse relock Created 8 years, 7 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 e85bda17f875696c89baa6b0b07604f1c3c7e31d..dad4e5f6cd634f574b98d17493b16b6a2c0f522c 100644
--- a/content/common/view_messages.h
+++ b/content/common/view_messages.h
@@ -10,6 +10,7 @@
#include "content/common/content_export.h"
#include "content/common/css_colors.h"
#include "content/common/edit_command.h"
+#include "content/common/mouse_lock.h"
#include "content/common/navigation_gesture.h"
#include "content/common/view_message_enums.h"
#include "content/public/common/common_param_traits.h"
@@ -2051,8 +2052,9 @@ IPC_MESSAGE_CONTROL1(ViewHostMsg_MediaLogEvent,
// Requests to lock the mouse. Will result in a ViewMsg_LockMouse_ACK message
// being sent back.
-IPC_MESSAGE_ROUTED1(ViewHostMsg_LockMouse,
- bool /* user_gesture */)
+IPC_MESSAGE_ROUTED2(ViewHostMsg_LockMouse,
+ content::MouseLockSource /* lock_source */,
+ content::MouseUnlockSource /* previous_unlock_source */)
// 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

Powered by Google App Engine
This is Rietveld 408576698