Chromium Code Reviews| Index: content/browser/renderer_host/render_widget_host_delegate.h |
| diff --git a/content/browser/renderer_host/render_widget_host_delegate.h b/content/browser/renderer_host/render_widget_host_delegate.h |
| index 79efc0ff2a52aec1b35575b3c57998cb047abac1..55302afccb54b90f927a7a85d35855fe0fe44ef0 100644 |
| --- a/content/browser/renderer_host/render_widget_host_delegate.h |
| +++ b/content/browser/renderer_host/render_widget_host_delegate.h |
| @@ -184,6 +184,10 @@ class CONTENT_EXPORT RenderWidgetHostDelegate { |
| // Returns true if |render_widget_host| holds the mouse lock. |
| virtual bool HasMouseLock(RenderWidgetHostImpl* render_widget_host); |
| + // Returns the widget that holds the mouse lock or nullptr if the mouse isn't |
| + // locked. |
| + virtual RenderWidgetHostImpl* MouseLockWidget(); |
|
Charlie Reis
2017/02/15 21:38:49
nit: GetMouseLockWidget
lfg
2017/02/15 22:02:48
Done.
|
| + |
| // Called when the visibility of the RenderFrameProxyHost in outer |
| // WebContents changes. This method is only called on an inner WebContents and |
| // will eventually notify all the RenderWidgetHostViews belonging to that |