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

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

Issue 10443045: Silent mouse lock after unlock by target (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Update for silent mouse relock 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 | « no previous file | chrome/browser/ui/browser.cc » ('j') | chrome/browser/ui/browser_browsertest.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/browser.h
diff --git a/chrome/browser/ui/browser.h b/chrome/browser/ui/browser.h
index 46ba61cd7af8162c330ab1cd451aa825a901b08f..d72a406a9cc612968cbcf0f11f355fe3551619c3 100644
--- a/chrome/browser/ui/browser.h
+++ b/chrome/browser/ui/browser.h
@@ -43,6 +43,7 @@
#include "chrome/common/content_settings.h"
#include "chrome/common/content_settings_types.h"
#include "chrome/common/extensions/extension_constants.h"
+#include "content/common/mouse_lock.h"
#include "content/public/browser/notification_registrar.h"
#include "content/public/browser/page_navigator.h"
#include "content/public/browser/web_contents_delegate.h"
@@ -986,8 +987,10 @@ class Browser : public TabStripModelDelegate,
int active_match_ordinal,
bool final_update) OVERRIDE;
- virtual void RequestToLockMouse(content::WebContents* tab,
- bool user_gesture) OVERRIDE;
+ virtual void RequestToLockMouse(
+ content::WebContents* tab,
+ content::MouseLockSource lock_source,
scheib 2012/05/30 16:41:21 Comment: This naming has become unfortunately abst
+ content::MouseUnlockSource previous_unlock_source) OVERRIDE;
virtual void LostMouseLock() OVERRIDE;
// Overridden from CoreTabHelperDelegate:
« no previous file with comments | « no previous file | chrome/browser/ui/browser.cc » ('j') | chrome/browser/ui/browser_browsertest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698