Chromium Code Reviews| 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) |