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

Unified Diff: content/renderer/mouse_lock_dispatcher.h

Issue 10443045: Silent mouse lock after unlock by target (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: 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/renderer/mouse_lock_dispatcher.h
diff --git a/content/renderer/mouse_lock_dispatcher.h b/content/renderer/mouse_lock_dispatcher.h
index 8035d091eafb76ab47cb429d7deb15b6960d68ca..07f14a29352df6949b34d29143e0df05d2e82ff2 100644
--- a/content/renderer/mouse_lock_dispatcher.h
+++ b/content/renderer/mouse_lock_dispatcher.h
@@ -76,6 +76,8 @@ class CONTENT_EXPORT MouseLockDispatcher : public content::RenderViewObserver {
bool pending_lock_request_;
bool pending_unlock_request_;
+ bool unlocked_by_target_;
scheib 2012/05/26 01:12:34 We should comment. e.g. Used when locking to indic
dmurph 2012/05/30 00:17:51 Done.
+
// |target_| is the pending or current owner of mouse lock. We retain a non
// owning reference here that must be cleared by |OnLockTargetDestroyed|
// when it is destroyed.

Powered by Google App Engine
This is Rietveld 408576698