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

Unified Diff: chrome/browser/ui/browser.cc

Issue 10443045: Silent mouse lock after unlock by target (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: nit changes 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
« no previous file with comments | « chrome/browser/ui/browser.h ('k') | chrome/browser/ui/browser_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/browser.cc
diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc
index afa8dc8acb987552395d17f4c6b75160011322a3..d5f7f7bac47056cb26ccbc3b666ef1d6ebb0d1da 100644
--- a/chrome/browser/ui/browser.cc
+++ b/chrome/browser/ui/browser.cc
@@ -3645,8 +3645,12 @@ void Browser::FindReply(WebContents* tab,
active_match_ordinal, final_update);
}
-void Browser::RequestToLockMouse(WebContents* tab, bool user_gesture) {
- fullscreen_controller_->RequestToLockMouse(tab, user_gesture);
+void Browser::RequestToLockMouse(WebContents* tab,
+ bool user_gesture,
+ bool last_unlocked_by_target) {
+ fullscreen_controller_->RequestToLockMouse(tab,
+ user_gesture,
+ last_unlocked_by_target);
}
void Browser::LostMouseLock() {
« no previous file with comments | « chrome/browser/ui/browser.h ('k') | chrome/browser/ui/browser_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698