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

Unified Diff: content/browser/frame_host/cross_process_frame_connector.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: removing one more override Created 4 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/browser/frame_host/cross_process_frame_connector.h
diff --git a/content/browser/frame_host/cross_process_frame_connector.h b/content/browser/frame_host/cross_process_frame_connector.h
index a1e04d8ae2456046f827694a27d386439eafcd01..9ecf45b1df04a9bc9eabd7a9bcd802f6d8d94746 100644
--- a/content/browser/frame_host/cross_process_frame_connector.h
+++ b/content/browser/frame_host/cross_process_frame_connector.h
@@ -107,6 +107,9 @@ class CONTENT_EXPORT CrossProcessFrameConnector {
// Focuses the root RenderWidgetHostView.
void FocusRootView();
+ // Locks the mouse. Returns true if mouse is locked.
+ bool LockMouse();
+
// Returns the parent RenderWidgetHostView or nullptr it it doesn't have one.
virtual RenderWidgetHostViewBase* GetParentRenderWidgetHostView();
« no previous file with comments | « no previous file | content/browser/frame_host/cross_process_frame_connector.cc » ('j') | content/renderer/render_widget.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698