Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(146)

Side by Side Diff: ppapi/proxy/ppapi_messages.h

Issue 7621010: Never submit: tentative Pepper IME. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: snapshot. Created 9 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ppapi/proxy/plugin_dispatcher.cc ('k') | ppapi/proxy/ppb_input_event_proxy.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Multiply-included message header, no traditional include guard. 5 // Multiply-included message header, no traditional include guard.
6 #include <string> 6 #include <string>
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/file_path.h" 10 #include "base/file_path.h"
11 #include "base/process.h" 11 #include "base/process.h"
12 #include "base/shared_memory.h" 12 #include "base/shared_memory.h"
13 #include "base/string16.h" 13 #include "base/string16.h"
14 #include "base/sync_socket.h" 14 #include "base/sync_socket.h"
15 #include "gpu/command_buffer/common/command_buffer.h" 15 #include "gpu/command_buffer/common/command_buffer.h"
16 #include "gpu/ipc/gpu_command_buffer_traits.h" 16 #include "gpu/ipc/gpu_command_buffer_traits.h"
17 #include "ipc/ipc_channel_handle.h" 17 #include "ipc/ipc_channel_handle.h"
18 #include "ipc/ipc_message_macros.h" 18 #include "ipc/ipc_message_macros.h"
19 #include "ipc/ipc_message_utils.h" 19 #include "ipc/ipc_message_utils.h"
20 #include "ipc/ipc_platform_file.h" 20 #include "ipc/ipc_platform_file.h"
21 #include "ppapi/c/dev/pp_video_capture_dev.h" 21 #include "ppapi/c/dev/pp_video_capture_dev.h"
22 #include "ppapi/c/dev/ppb_text_input_dev.h"
22 #include "ppapi/c/pp_bool.h" 23 #include "ppapi/c/pp_bool.h"
23 #include "ppapi/c/pp_file_info.h" 24 #include "ppapi/c/pp_file_info.h"
24 #include "ppapi/c/pp_instance.h" 25 #include "ppapi/c/pp_instance.h"
25 #include "ppapi/c/pp_module.h" 26 #include "ppapi/c/pp_module.h"
26 #include "ppapi/c/pp_point.h" 27 #include "ppapi/c/pp_point.h"
27 #include "ppapi/c/pp_rect.h" 28 #include "ppapi/c/pp_rect.h"
28 #include "ppapi/c/pp_resource.h" 29 #include "ppapi/c/pp_resource.h"
29 #include "ppapi/c/pp_size.h" 30 #include "ppapi/c/pp_size.h"
30 #include "ppapi/c/dev/pp_video_dev.h" 31 #include "ppapi/c/dev/pp_video_dev.h"
31 #include "ppapi/c/private/ppb_flash_tcp_socket.h" 32 #include "ppapi/c/private/ppb_flash_tcp_socket.h"
32 #include "ppapi/proxy/ppapi_param_traits.h" 33 #include "ppapi/proxy/ppapi_param_traits.h"
33 #include "ppapi/proxy/ppapi_proxy_export.h" 34 #include "ppapi/proxy/ppapi_proxy_export.h"
34 #include "ppapi/proxy/serialized_flash_menu.h" 35 #include "ppapi/proxy/serialized_flash_menu.h"
35 #include "ppapi/proxy/serialized_structs.h" 36 #include "ppapi/proxy/serialized_structs.h"
36 #include "ppapi/shared_impl/input_event_impl.h" 37 #include "ppapi/shared_impl/input_event_impl.h"
37 #include "ppapi/shared_impl/ppapi_preferences.h" 38 #include "ppapi/shared_impl/ppapi_preferences.h"
38 #include "ppapi/shared_impl/url_request_info_impl.h" 39 #include "ppapi/shared_impl/url_request_info_impl.h"
39 40
40 #undef IPC_MESSAGE_EXPORT 41 #undef IPC_MESSAGE_EXPORT
41 #define IPC_MESSAGE_EXPORT PPAPI_PROXY_EXPORT 42 #define IPC_MESSAGE_EXPORT PPAPI_PROXY_EXPORT
42 43
43 #define IPC_MESSAGE_START PpapiMsgStart 44 #define IPC_MESSAGE_START PpapiMsgStart
44 45
45 IPC_ENUM_TRAITS(PP_InputEvent_Type) 46 IPC_ENUM_TRAITS(PP_InputEvent_Type)
46 IPC_ENUM_TRAITS(PP_InputEvent_MouseButton) 47 IPC_ENUM_TRAITS(PP_InputEvent_MouseButton)
48 IPC_ENUM_TRAITS(PP_TextInput_Type)
47 IPC_ENUM_TRAITS(PP_VideoDecoder_Profile) 49 IPC_ENUM_TRAITS(PP_VideoDecoder_Profile)
48 IPC_ENUM_TRAITS(PP_VideoDecodeError_Dev) 50 IPC_ENUM_TRAITS(PP_VideoDecodeError_Dev)
49 51
50 IPC_STRUCT_TRAITS_BEGIN(PP_Point) 52 IPC_STRUCT_TRAITS_BEGIN(PP_Point)
51 IPC_STRUCT_TRAITS_MEMBER(x) 53 IPC_STRUCT_TRAITS_MEMBER(x)
52 IPC_STRUCT_TRAITS_MEMBER(y) 54 IPC_STRUCT_TRAITS_MEMBER(y)
53 IPC_STRUCT_TRAITS_END() 55 IPC_STRUCT_TRAITS_END()
54 56
55 IPC_STRUCT_TRAITS_BEGIN(PP_FloatPoint) 57 IPC_STRUCT_TRAITS_BEGIN(PP_FloatPoint)
56 IPC_STRUCT_TRAITS_MEMBER(x) 58 IPC_STRUCT_TRAITS_MEMBER(x)
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 IPC_STRUCT_TRAITS_MEMBER(event_modifiers) 108 IPC_STRUCT_TRAITS_MEMBER(event_modifiers)
107 IPC_STRUCT_TRAITS_MEMBER(mouse_button) 109 IPC_STRUCT_TRAITS_MEMBER(mouse_button)
108 IPC_STRUCT_TRAITS_MEMBER(mouse_position) 110 IPC_STRUCT_TRAITS_MEMBER(mouse_position)
109 IPC_STRUCT_TRAITS_MEMBER(mouse_click_count) 111 IPC_STRUCT_TRAITS_MEMBER(mouse_click_count)
110 IPC_STRUCT_TRAITS_MEMBER(mouse_movement) 112 IPC_STRUCT_TRAITS_MEMBER(mouse_movement)
111 IPC_STRUCT_TRAITS_MEMBER(wheel_delta) 113 IPC_STRUCT_TRAITS_MEMBER(wheel_delta)
112 IPC_STRUCT_TRAITS_MEMBER(wheel_ticks) 114 IPC_STRUCT_TRAITS_MEMBER(wheel_ticks)
113 IPC_STRUCT_TRAITS_MEMBER(wheel_scroll_by_page) 115 IPC_STRUCT_TRAITS_MEMBER(wheel_scroll_by_page)
114 IPC_STRUCT_TRAITS_MEMBER(key_code) 116 IPC_STRUCT_TRAITS_MEMBER(key_code)
115 IPC_STRUCT_TRAITS_MEMBER(character_text) 117 IPC_STRUCT_TRAITS_MEMBER(character_text)
118 IPC_STRUCT_TRAITS_MEMBER(composition_segments)
119 IPC_STRUCT_TRAITS_MEMBER(composition_target_segment)
120 IPC_STRUCT_TRAITS_MEMBER(composition_selection_start)
121 IPC_STRUCT_TRAITS_MEMBER(composition_selection_end)
116 IPC_STRUCT_TRAITS_END() 122 IPC_STRUCT_TRAITS_END()
117 123
118 IPC_STRUCT_TRAITS_BEGIN(ppapi::PPB_URLRequestInfo_Data) 124 IPC_STRUCT_TRAITS_BEGIN(ppapi::PPB_URLRequestInfo_Data)
119 IPC_STRUCT_TRAITS_MEMBER(url) 125 IPC_STRUCT_TRAITS_MEMBER(url)
120 IPC_STRUCT_TRAITS_MEMBER(method) 126 IPC_STRUCT_TRAITS_MEMBER(method)
121 IPC_STRUCT_TRAITS_MEMBER(headers) 127 IPC_STRUCT_TRAITS_MEMBER(headers)
122 IPC_STRUCT_TRAITS_MEMBER(stream_to_file) 128 IPC_STRUCT_TRAITS_MEMBER(stream_to_file)
123 IPC_STRUCT_TRAITS_MEMBER(follow_redirects) 129 IPC_STRUCT_TRAITS_MEMBER(follow_redirects)
124 IPC_STRUCT_TRAITS_MEMBER(record_download_progress) 130 IPC_STRUCT_TRAITS_MEMBER(record_download_progress)
125 IPC_STRUCT_TRAITS_MEMBER(record_upload_progress) 131 IPC_STRUCT_TRAITS_MEMBER(record_upload_progress)
(...skipping 672 matching lines...) Expand 10 before | Expand all | Expand 10 after
798 804
799 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBGraphics3D_GetTransferBuffer, 805 IPC_SYNC_MESSAGE_ROUTED2_2(PpapiHostMsg_PPBGraphics3D_GetTransferBuffer,
800 ppapi::HostResource /* context */, 806 ppapi::HostResource /* context */,
801 int32 /* id */, 807 int32 /* id */,
802 base::SharedMemoryHandle /* transfer_buffer */, 808 base::SharedMemoryHandle /* transfer_buffer */,
803 uint32 /* size */) 809 uint32 /* size */)
804 810
805 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBGraphics3D_SwapBuffers, 811 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBGraphics3D_SwapBuffers,
806 ppapi::HostResource /* graphics_3d */) 812 ppapi::HostResource /* graphics_3d */)
807 813
814 // PPB_TextInput.
815 IPC_SYNC_MESSAGE_ROUTED2_0(PpapiHostMsg_PPBTextInput_SetTextInputType,
816 PP_Instance /* instance */,
817 PP_TextInput_Type /* type */)
818 IPC_SYNC_MESSAGE_ROUTED3_0(PpapiHostMsg_PPBTextInput_UpdateCaretPosition,
819 PP_Instance /* instance */,
820 PP_Rect /* caret */,
821 PP_Rect /* boundingBox */)
822 IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBTextInput_ConfirmCompositionText,
823 PP_Instance /* instance */)
824 IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBTextInput_CancelCompositionText,
825 PP_Instance /* instance */)
826
808 // PPB_Instance. 827 // PPB_Instance.
809 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBInstance_GetWindowObject, 828 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBInstance_GetWindowObject,
810 PP_Instance /* instance */, 829 PP_Instance /* instance */,
811 ppapi::proxy::SerializedVar /* result */) 830 ppapi::proxy::SerializedVar /* result */)
812 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBInstance_GetOwnerElementObject, 831 IPC_SYNC_MESSAGE_ROUTED1_1(PpapiHostMsg_PPBInstance_GetOwnerElementObject,
813 PP_Instance /* instance */, 832 PP_Instance /* instance */,
814 ppapi::proxy::SerializedVar /* result */) 833 ppapi::proxy::SerializedVar /* result */)
815 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBInstance_BindGraphics, 834 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiHostMsg_PPBInstance_BindGraphics,
816 PP_Instance /* instance */, 835 PP_Instance /* instance */,
817 ppapi::HostResource /* device */, 836 ppapi::HostResource /* device */,
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
1042 std::vector<PP_PictureBuffer_Dev> /* picture buffers */) 1061 std::vector<PP_PictureBuffer_Dev> /* picture buffers */)
1043 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBVideoDecoder_ReusePictureBuffer, 1062 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBVideoDecoder_ReusePictureBuffer,
1044 ppapi::HostResource /* video_decoder */, 1063 ppapi::HostResource /* video_decoder */,
1045 int32_t /* picture buffer id */) 1064 int32_t /* picture buffer id */)
1046 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Flush, 1065 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Flush,
1047 ppapi::HostResource /* video_decoder */) 1066 ppapi::HostResource /* video_decoder */)
1048 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Reset, 1067 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Reset,
1049 ppapi::HostResource /* video_decoder */) 1068 ppapi::HostResource /* video_decoder */)
1050 IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBVideoDecoder_Destroy, 1069 IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBVideoDecoder_Destroy,
1051 ppapi::HostResource /* video_decoder */) 1070 ppapi::HostResource /* video_decoder */)
OLDNEW
« no previous file with comments | « ppapi/proxy/plugin_dispatcher.cc ('k') | ppapi/proxy/ppb_input_event_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698