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

Unified Diff: content/browser/web_contents/web_contents_impl.h

Issue 1980133002: Implement pointer lock API for out-of-process iframes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 6 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/browser/web_contents/web_contents_impl.h
diff --git a/content/browser/web_contents/web_contents_impl.h b/content/browser/web_contents/web_contents_impl.h
index bfd6a000a2413f954daaa3d58e1d4f67d6199e22..43565e81d5b419ba58e39461b77a1ea4cbc4690f 100644
--- a/content/browser/web_contents/web_contents_impl.h
+++ b/content/browser/web_contents/web_contents_impl.h
@@ -1383,6 +1383,10 @@ class CONTENT_EXPORT WebContentsImpl
bool page_scale_factor_is_one_;
+ // Stores the RenderWidgetHost that currently holds a mouse lock or nullptr if
+ // there's no RenderWidgetHost holding a lock.
+ RenderWidgetHostImpl* mouse_lock_widget_;
+
base::WeakPtrFactory<WebContentsImpl> loading_weak_factory_;
base::WeakPtrFactory<WebContentsImpl> weak_factory_;

Powered by Google App Engine
This is Rietveld 408576698