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

Unified Diff: extensions/browser/guest_view/web_view/web_view_guest.h

Issue 2591783003: Implement pointer lock across outer/inner WebContents. (Closed)
Patch Set: rebase Created 3 years, 12 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: extensions/browser/guest_view/web_view/web_view_guest.h
diff --git a/extensions/browser/guest_view/web_view/web_view_guest.h b/extensions/browser/guest_view/web_view/web_view_guest.h
index 79db5bf230a4d013f0226597cf6494bd7bf8869e..2a3befd59ff9723a07691a771b77fe4402961f3c 100644
--- a/extensions/browser/guest_view/web_view/web_view_guest.h
+++ b/extensions/browser/guest_view/web_view/web_view_guest.h
@@ -253,6 +253,9 @@ class WebViewGuest : public guest_view::GuestView<WebViewGuest>,
void ExitFullscreenModeForTab(content::WebContents* web_contents) final;
bool IsFullscreenForTabOrPending(
const content::WebContents* web_contents) const final;
+ void RequestToLockMouse(content::WebContents* web_contents,
+ bool user_gesture,
+ bool last_unlocked_by_target) override;
// WebContentsObserver implementation.
void DidStartNavigation(content::NavigationHandle* navigation_handle) final;

Powered by Google App Engine
This is Rietveld 408576698