From a3010332c2dcf4ca8f30c8b21a459b67f90b7f24 Mon Sep 17 00:00:00 2001 From: "brettw@chromium.org" Date: Fri, 12 Nov 2010 07:09:35 +0000 Subject: Re-land previous change r65856. Add implementations for Fullscreen and CursorControl interfaces. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65914 0039d316-1c4b-4281-b951-d872f2087c98 --- ppapi/proxy/ppapi_messages_internal.h | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'ppapi/proxy/ppapi_messages_internal.h') diff --git a/ppapi/proxy/ppapi_messages_internal.h b/ppapi/proxy/ppapi_messages_internal.h index 9375d1d..2a2c636 100644 --- a/ppapi/proxy/ppapi_messages_internal.h +++ b/ppapi/proxy/ppapi_messages_internal.h @@ -158,6 +158,26 @@ IPC_BEGIN_MESSAGES(PpapiHost) PP_Module /* module */, pp::proxy::SerializedVar /* result */) + // PPB_CursorControl. + IPC_SYNC_MESSAGE_ROUTED4_1(PpapiHostMsg_PPBCursorControl_SetCursor, + PP_Instance /* instance */, + int32_t /* type */, + PP_Resource /* custom_image */, + PP_Point /* hot_spot */, + PP_Bool /* result */) + IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBCursorControl_LockCursor, + PP_Instance /* instance */, + PP_Bool /* result */) + IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBCursorControl_UnlockCursor, + PP_Instance /* instance */, + PP_Bool /* result */) + IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBCursorControl_HasCursorLock, + PP_Instance /* instance */, + PP_Bool /* result */) + IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBCursorControl_CanLockCursor, + PP_Instance /* instance */, + PP_Bool /* result */) + // PPB_Font. IPC_SYNC_MESSAGE_ROUTED2_3( PpapiHostMsg_PPBFont_Create, @@ -191,6 +211,14 @@ IPC_BEGIN_MESSAGES(PpapiHost) uint32_t /* char_offset */, int32_t /* result */) + // PPB_Fullscreen. + IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBFullscreen_IsFullscreen, + PP_Instance /* instance */, + PP_Bool /* result */) + IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBFullscreen_SetFullscreen, + PP_Instance /* instance */, + PP_Bool /* fullscreen */, + PP_Bool /* result */) // PPB_Graphics2D. IPC_SYNC_MESSAGE_ROUTED3_1(PpapiHostMsg_PPBGraphics2D_Create, -- cgit v1.1