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 6777b9c999261e7fc63cbc10a9d51c45dbc9a3ff..bf0a80c3423a2f51fd84c82099218b9b78d478c7 100644 |
| --- a/content/browser/renderer_host/render_widget_host_delegate.h |
| +++ b/content/browser/renderer_host/render_widget_host_delegate.h |
| @@ -167,6 +167,9 @@ class CONTENT_EXPORT RenderWidgetHostDelegate { |
| // Notification that the widget has lost the mouse lock. |
| virtual void LostMouseLock(RenderWidgetHostImpl* render_widget_host) {} |
| + // Returns true if |render_widget_host| holds the mouse lock. |
| + virtual bool HasMouseLock(RenderWidgetHostImpl* render_widget_host) = 0; |
|
Charlie Reis
2016/07/06 17:41:47
Maybe we should have a default implementation that
lfg
2016/07/07 20:17:35
Done. I had that before, but clang complained abou
|
| + |
| // Called when the widget has sent a compositor proto. This is used in Btlimp |
| // mode with the RemoteChannel compositor. |
| virtual void ForwardCompositorProto(RenderWidgetHostImpl* render_widget_host, |