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

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: forgot to fix some syntax 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
Index: chrome/browser/ui/browser.cc
diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc
index afa8dc8acb987552395d17f4c6b75160011322a3..28f7c7e75b210598c8ce51fe0d733406bf3c8b22 100644
--- a/chrome/browser/ui/browser.cc
+++ b/chrome/browser/ui/browser.cc
@@ -3645,8 +3645,11 @@ 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,
jam 2012/05/31 06:05:23 nit: this tabbing of parameters is against the sty
dmurph 2012/05/31 21:13:49 Done.
+ last_unlocked_by_target);
}
void Browser::LostMouseLock() {

Powered by Google App Engine
This is Rietveld 408576698