Chromium Code Reviews| Index: ppapi/proxy/ppapi_messages.h |
| diff --git a/ppapi/proxy/ppapi_messages.h b/ppapi/proxy/ppapi_messages.h |
| index cd54b60cf40dfe6d30db4f402431477f4d9e5153..e8981111199f68465af70b2400fa4b16fc76d4d0 100644 |
| --- a/ppapi/proxy/ppapi_messages.h |
| +++ b/ppapi/proxy/ppapi_messages.h |
| @@ -19,6 +19,7 @@ |
| #include "ipc/ipc_message_utils.h" |
| #include "ipc/ipc_platform_file.h" |
| #include "ppapi/c/dev/pp_video_capture_dev.h" |
| +#include "ppapi/c/dev/ppb_text_input_dev.h" |
| #include "ppapi/c/pp_bool.h" |
| #include "ppapi/c/pp_file_info.h" |
| #include "ppapi/c/pp_instance.h" |
| @@ -44,6 +45,7 @@ |
| IPC_ENUM_TRAITS(PP_InputEvent_Type) |
| IPC_ENUM_TRAITS(PP_InputEvent_MouseButton) |
| +IPC_ENUM_TRAITS(PP_TextInput_Type) |
| IPC_ENUM_TRAITS(PP_VideoDecoder_Profile) |
| IPC_ENUM_TRAITS(PP_VideoDecodeError_Dev) |
| @@ -113,6 +115,10 @@ IPC_STRUCT_TRAITS_BEGIN(ppapi::InputEventData) |
| IPC_STRUCT_TRAITS_MEMBER(wheel_scroll_by_page) |
| IPC_STRUCT_TRAITS_MEMBER(key_code) |
| IPC_STRUCT_TRAITS_MEMBER(character_text) |
| + IPC_STRUCT_TRAITS_MEMBER(composition_segments) |
| + IPC_STRUCT_TRAITS_MEMBER(composition_target_segment) |
| + IPC_STRUCT_TRAITS_MEMBER(composition_selection_start) |
| + IPC_STRUCT_TRAITS_MEMBER(composition_selection_end) |
| IPC_STRUCT_TRAITS_END() |
| IPC_STRUCT_TRAITS_BEGIN(ppapi::PPB_URLRequestInfo_Data) |
| @@ -794,6 +800,19 @@ IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBGraphics3D_GetTransferBuffer, |
| IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBGraphics3D_SwapBuffers, |
| ppapi::HostResource /* graphics_3d */) |
| +// PPB_TextInput. |
|
yzshen1
2011/09/22 19:24:00
nit: this section should be moved downwards (after
kinaba
2011/09/27 02:49:27
Done.
|
| +IPC_SYNC_MESSAGE_ROUTED2_0(PpapiHostMsg_PPBTextInput_SetTextInputType, |
| + PP_Instance /* instance */, |
| + PP_TextInput_Type /* type */) |
| +IPC_SYNC_MESSAGE_ROUTED3_0(PpapiHostMsg_PPBTextInput_UpdateCaretPosition, |
| + PP_Instance /* instance */, |
| + PP_Rect /* caret */, |
| + PP_Rect /* boundingBox */) |
| +IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBTextInput_ConfirmCompositionText, |
| + PP_Instance /* instance */) |
| +IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBTextInput_CancelCompositionText, |
| + PP_Instance /* instance */) |
| + |
| // PPB_Instance. |
| IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBInstance_GetWindowObject, |
| PP_Instance /* instance */, |