| Index: ppapi/proxy/ppb_instance_proxy.h
|
| ===================================================================
|
| --- ppapi/proxy/ppb_instance_proxy.h (revision 106716)
|
| +++ ppapi/proxy/ppb_instance_proxy.h (working copy)
|
| @@ -8,19 +8,12 @@
|
| #include "ppapi/c/pp_instance.h"
|
| #include "ppapi/c/pp_resource.h"
|
| #include "ppapi/c/pp_var.h"
|
| -#include "ppapi/cpp/completion_callback.h"
|
| #include "ppapi/proxy/interface_proxy.h"
|
| -#include "ppapi/proxy/proxy_non_thread_safe_ref_count.h"
|
| #include "ppapi/shared_impl/function_group_base.h"
|
| #include "ppapi/shared_impl/host_resource.h"
|
| #include "ppapi/shared_impl/instance_impl.h"
|
| #include "ppapi/thunk/ppb_instance_api.h"
|
|
|
| -// Windows headers interfere with this file.
|
| -#ifdef PostMessage
|
| -#undef PostMessage
|
| -#endif
|
| -
|
| namespace ppapi {
|
| namespace proxy {
|
|
|
| @@ -105,7 +98,7 @@
|
| static const ApiID kApiID = API_ID_PPB_INSTANCE;
|
|
|
| private:
|
| - // Plugin -> Host message handlers.
|
| + // Message handlers.
|
| void OnMsgGetWindowObject(PP_Instance instance,
|
| SerializedVarReturnValue result);
|
| void OnMsgGetOwnerElementObject(PP_Instance instance,
|
| @@ -146,7 +139,8 @@
|
| uint32_t event_classes);
|
| void OnMsgPostMessage(PP_Instance instance,
|
| SerializedVarReceiveInput message);
|
| - void OnMsgLockMouse(PP_Instance instance);
|
| + void OnMsgLockMouse(PP_Instance instance,
|
| + uint32_t serialized_callback);
|
| void OnMsgUnlockMouse(PP_Instance instance);
|
| void OnMsgResolveRelativeToDocument(PP_Instance instance,
|
| SerializedVarReceiveInput relative,
|
| @@ -161,14 +155,6 @@
|
| SerializedVarReturnValue result);
|
| void OnMsgGetPluginInstanceURL(PP_Instance instance,
|
| SerializedVarReturnValue result);
|
| -
|
| - // Host -> Plugin message handlers.
|
| - void OnMsgMouseLockComplete(PP_Instance instance, int32_t result);
|
| -
|
| - void MouseLockCompleteInHost(int32_t result, PP_Instance instance);
|
| -
|
| - pp::CompletionCallbackFactory<PPB_Instance_Proxy,
|
| - ProxyNonThreadSafeRefCount> callback_factory_;
|
| };
|
|
|
| } // namespace proxy
|
|
|