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

Unified Diff: content/public/browser/web_contents_delegate.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/public/browser/web_contents_delegate.h
diff --git a/content/public/browser/web_contents_delegate.h b/content/public/browser/web_contents_delegate.h
index a3e070bb86eca1205d02b5c8e6a095ac1c012a3c..7cfb433687d6a7c45a4bf05c131750413028033f 100644
--- a/content/public/browser/web_contents_delegate.h
+++ b/content/public/browser/web_contents_delegate.h
@@ -12,6 +12,7 @@
#include "base/basictypes.h"
#include "base/string16.h"
#include "content/common/content_export.h"
+#include "content/common/mouse_lock.h"
#include "content/public/browser/navigation_type.h"
#include "content/public/common/page_transition_types.h"
#include "content/public/common/window_container_type.h"
@@ -392,7 +393,9 @@ class CONTENT_EXPORT WebContentsDelegate {
// GotResponseToLockMouseRequest() will be called on the requesting tab
// contents.
virtual void RequestToLockMouse(WebContents* web_contents,
- bool user_gesture) {}
+ MouseLockSource lock_source,
+ MouseUnlockSource previous_unlock_source) {
+ }
// Notification that the page has lost the mouse lock.
virtual void LostMouseLock() {}

Powered by Google App Engine
This is Rietveld 408576698