| 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..368fc681bcfec5f1369983cb9e13572faa67f4ad 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,
|
| + bool last_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 last_unlocked_by_target);
|
| void OnMsgUnlockMouse();
|
|
|
| #if defined(OS_POSIX) || defined(USE_AURA)
|
|
|