| Index: content/renderer/render_view_impl.h
|
| diff --git a/content/renderer/render_view_impl.h b/content/renderer/render_view_impl.h
|
| index be94611045cf11fa2a33c508dced23a6031e192a..e1a48e9802256d69ca1c67e1db85d8147b100ebd 100644
|
| --- a/content/renderer/render_view_impl.h
|
| +++ b/content/renderer/render_view_impl.h
|
| @@ -66,6 +66,7 @@ class JavaBridgeDispatcher;
|
| class LoadProgressTracker;
|
| class MediaStreamDispatcher;
|
| class MediaStreamImpl;
|
| +class MouseLockDispatcher;
|
| class NotificationProvider;
|
| class PepperDeviceTest;
|
| struct PP_NetAddress_Private;
|
| @@ -302,6 +303,10 @@ class RenderViewImpl : public RenderWidget,
|
| webkit::WebPluginInfo* plugin_info,
|
| std::string* actual_mime_type);
|
|
|
| + bool PpapiLockMouse(webkit::ppapi::PluginInstance* plugin);
|
| + void PpapiUnlockMouse(webkit::ppapi::PluginInstance* plugin);
|
| + bool PpapiIsMouseLockedTo(webkit::ppapi::PluginInstance* plugin);
|
| +
|
| // IPC::Channel::Listener implementation -------------------------------------
|
|
|
| virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE;
|
| @@ -315,6 +320,9 @@ class RenderViewImpl : public RenderWidget,
|
| virtual void runModal();
|
| virtual bool enterFullScreen();
|
| virtual void exitFullScreen();
|
| + virtual bool requestPointerLock();
|
| + virtual void requestPointerUnlock();
|
| + virtual bool isPointerLocked();
|
|
|
| // WebKit::WebViewClient implementation --------------------------------------
|
|
|
| @@ -804,12 +812,10 @@ 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 OnPluginActionAt(const gfx::Point& location,
|
| const WebKit::WebPluginAction& action);
|
| - void OnMouseLockLost();
|
| void OnMoveOrResizeStarted();
|
| CONTENT_EXPORT void OnNavigate(const ViewMsg_Navigate_Params& params);
|
| void OnPaste();
|
| @@ -1162,6 +1168,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.
|
| + MouseLockDispatcher* mouse_lock_dispatcher_;
|
| +
|
| // Misc ----------------------------------------------------------------------
|
|
|
| // The current and pending file chooser completion objects. If the queue is
|
|
|