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

Unified Diff: chrome/browser/ui/fullscreen_controller.h

Issue 10173030: User Gesture plumbed from Renderer to Browser's FullscreenController::RequestToLockMouse. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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: chrome/browser/ui/fullscreen_controller.h
diff --git a/chrome/browser/ui/fullscreen_controller.h b/chrome/browser/ui/fullscreen_controller.h
index 35d09eb5acdab2f33e0947a624be7a3b1a92416a..f9d9fb9bb7ac46be4ef16312081a7618a52cb147 100644
--- a/chrome/browser/ui/fullscreen_controller.h
+++ b/chrome/browser/ui/fullscreen_controller.h
@@ -55,7 +55,7 @@ class FullscreenController : public base::RefCounted<FullscreenController> {
bool IsMouseLockedOrPending() const;
// Requests.
- void RequestToLockMouse(content::WebContents* tab);
+ void RequestToLockMouse(content::WebContents* tab, bool user_gesture);
void ToggleFullscreenModeForTab(content::WebContents* tab,
bool enter_fullscreen);
#if defined(OS_MACOSX)

Powered by Google App Engine
This is Rietveld 408576698