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

Unified Diff: content/browser/renderer_host/render_widget_host_impl.h

Issue 10443045: Silent mouse lock after unlock by target (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: 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: content/browser/renderer_host/render_widget_host_impl.h
diff --git a/content/browser/renderer_host/render_widget_host_impl.h b/content/browser/renderer_host/render_widget_host_impl.h
index 790de8f1aeca5757cbc5acde6eb71ff02ab15ae9..980ef864ee853f8269a276642bdec0b2eddc8fbd 100644
--- a/content/browser/renderer_host/render_widget_host_impl.h
+++ b/content/browser/renderer_host/render_widget_host_impl.h
@@ -407,7 +407,8 @@ class CONTENT_EXPORT RenderWidgetHostImpl : virtual public RenderWidgetHost,
// to allow mouse lock.
// Once the request is approved or rejected, GotResponseToLockMouseRequest()
// will be called.
- virtual void RequestToLockMouse(bool user_gesture);
+ virtual void RequestToLockMouse(bool user_gesture,
jochen (gone - plz use gerrit) 2012/05/25 21:53:46 the fact that this requires the presence of a RVH
scheib 2012/05/26 01:12:34 Currently this is only used by web pages containin
+ bool after_unlocked_by_target);
void RejectMouseLockOrUnlockIfNecessary();
bool IsMouseLocked() const;
@@ -483,7 +484,7 @@ class CONTENT_EXPORT RenderWidgetHostImpl : virtual public RenderWidgetHost,
void OnMsgDidActivateAcceleratedCompositing(bool activated);
- void OnMsgLockMouse(bool user_gesture);
+ void OnMsgLockMouse(bool user_gesture, bool after_unlocked_by_target);
void OnMsgUnlockMouse();
#if defined(OS_POSIX) || defined(USE_AURA)

Powered by Google App Engine
This is Rietveld 408576698