Index: content/browser/renderer_host/render_widget_host.h |
diff --git a/content/browser/renderer_host/render_widget_host.h b/content/browser/renderer_host/render_widget_host.h |
index 9b6a14ca7dc632eb823ddbb3129ce4608f0f3c63..f6cb64cd4aac5231b8697eced470c350f7004e1f 100644 |
--- a/content/browser/renderer_host/render_widget_host.h |
+++ b/content/browser/renderer_host/render_widget_host.h |
@@ -468,6 +468,11 @@ class CONTENT_EXPORT RenderWidgetHost : public IPC::Channel::Listener, |
virtual void NotifyRendererUnresponsive() {} |
virtual void NotifyRendererResponsive() {} |
+ // RenderViewhost overrides this method to check whether it is allowed to lock |
+ // the mouse. |
+ virtual bool HasMouseLockPermission() const; |
sky
2011/09/28 22:58:04
Add a real description. Also, what about CanLockMo
yzshen1
2011/09/29 20:41:04
Done.
|
+ |
+ void UnlockMouseIfNecessary(); |
bool IsMouseLocked() const; |
protected: |