diff options
author | yzshen@chromium.org <yzshen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-08 16:56:34 +0000 |
---|---|---|
committer | yzshen@chromium.org <yzshen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-08 16:56:34 +0000 |
commit | 18d871ff3cc3d59c58d479dbe82373a1f0a232b5 (patch) | |
tree | 30eea5317dcfea1cc965792c1e9691767b30f485 /ppapi/thunk/ppb_instance_api.h | |
parent | 25bd71ae5f7770990ac30c5ad5ca8745a952e1c0 (diff) | |
download | chromium_src-18d871ff3cc3d59c58d479dbe82373a1f0a232b5.zip chromium_src-18d871ff3cc3d59c58d479dbe82373a1f0a232b5.tar.gz chromium_src-18d871ff3cc3d59c58d479dbe82373a1f0a232b5.tar.bz2 |
Introduce a new Pepper interface: PPB/PPP_MouseLock.
BUG=None
TEST=None
Review URL: http://codereview.chromium.org/7828019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100166 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/thunk/ppb_instance_api.h')
-rw-r--r-- | ppapi/thunk/ppb_instance_api.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ppapi/thunk/ppb_instance_api.h b/ppapi/thunk/ppb_instance_api.h index dcf100dc..e9cacef 100644 --- a/ppapi/thunk/ppb_instance_api.h +++ b/ppapi/thunk/ppb_instance_api.h @@ -5,6 +5,7 @@ #ifndef PPAPI_THUNK_INSTANCE_API_H_ #define PPAPI_THUNK_INSTANCE_API_H_ +#include "ppapi/c/pp_completion_callback.h" #include "ppapi/c/ppb_instance.h" #include "ppapi/c/pp_bool.h" #include "ppapi/c/pp_size.h" @@ -44,6 +45,11 @@ class PPB_Instance_FunctionAPI { // Messaging. virtual void PostMessage(PP_Instance instance, PP_Var message) = 0; + // MouseLock. + virtual int32_t LockMouse(PP_Instance instance, + PP_CompletionCallback callback) = 0; + virtual void UnlockMouse(PP_Instance instance) = 0; + // Zoom. virtual void ZoomChanged(PP_Instance instance, double factor) = 0; virtual void ZoomLimitsChanged(PP_Instance instance, |