Index: content/renderer/render_view_impl.h |
diff --git a/content/renderer/render_view_impl.h b/content/renderer/render_view_impl.h |
index 22a555fbff39552d742e64408c51e867736321fa..11bc17e5a5d154f838e875568b7f6be785d3ecd7 100644 |
--- a/content/renderer/render_view_impl.h |
+++ b/content/renderer/render_view_impl.h |
@@ -65,6 +65,7 @@ class GURL; |
class JavaBridgeDispatcher; |
class LoadProgressTracker; |
class MediaStreamImpl; |
+class MouseLockDispatcher; |
class NotificationProvider; |
class PepperDeviceTest; |
struct PP_NetAddress_Private; |
@@ -287,6 +288,10 @@ class RenderViewImpl : public RenderWidget, |
webkit::WebPluginInfo* plugin_info, |
std::string* actual_mime_type); |
+ bool PpapiLockMouse(webkit::ppapi::PluginInstance* pinstance); |
+ void PpapiUnlockMouse(webkit::ppapi::PluginInstance* pinstance); |
+ bool PpapiIsMouseLockedTo(webkit::ppapi::PluginInstance* pinstance); |
+ |
// IPC::Channel::Listener implementation ------------------------------------- |
virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; |
@@ -300,6 +305,9 @@ class RenderViewImpl : public RenderWidget, |
virtual void runModal(); |
virtual bool enterFullScreen(); |
virtual void exitFullScreen(); |
+ virtual bool pointerLock(WebKit::WebWidget* webwidget); |
+ virtual void pointerUnlock(WebKit::WebWidget* webwidget); |
+ virtual bool isPointerLockedTo(WebKit::WebWidget* webwidget); |
// WebKit::WebViewClient implementation -------------------------------------- |
@@ -788,10 +796,8 @@ class RenderViewImpl : public RenderWidget, |
const std::vector<GURL>& links, |
const std::vector<FilePath>& local_paths, |
const FilePath& local_directory_name); |
- void OnLockMouseACK(bool succeeded); |
void OnMediaPlayerActionAt(const gfx::Point& location, |
const WebKit::WebMediaPlayerAction& action); |
- void OnMouseLockLost(); |
void OnMoveOrResizeStarted(); |
CONTENT_EXPORT void OnNavigate(const ViewMsg_Navigate_Params& params); |
void OnPaste(); |
@@ -1139,6 +1145,9 @@ class RenderViewImpl : public RenderWidget, |
// Java Bridge dispatcher attached to this view; lazily initialized. |
scoped_ptr<JavaBridgeDispatcher> java_bridge_dispatcher_; |
+ // Mouse Lock dispatcher attached to this view; lazily initialized. |
+ MouseLockDispatcher* mouse_lock_dispatcher_; |
+ |
// Misc ---------------------------------------------------------------------- |
// The current and pending file chooser completion objects. If the queue is |