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

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

Issue 8951014: Change the DidChangeView update to take a new ViewChanged resource. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: New patch Created 9 years 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
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/dev/ppb_text_input_dev.h"
23 #include "ppapi/c/pp_bool.h" 23 #include "ppapi/c/pp_bool.h"
24 #include "ppapi/c/pp_file_info.h" 24 #include "ppapi/c/pp_file_info.h"
25 #include "ppapi/c/pp_instance.h" 25 #include "ppapi/c/pp_instance.h"
26 #include "ppapi/c/pp_module.h" 26 #include "ppapi/c/pp_module.h"
27 #include "ppapi/c/pp_point.h" 27 #include "ppapi/c/pp_point.h"
28 #include "ppapi/c/pp_rect.h" 28 #include "ppapi/c/pp_rect.h"
29 #include "ppapi/c/pp_resource.h" 29 #include "ppapi/c/pp_resource.h"
30 #include "ppapi/c/dev/pp_video_dev.h"
dmichael (off chromium) 2011/12/20 19:01:34 nit: include order
30 #include "ppapi/c/pp_size.h" 31 #include "ppapi/c/pp_size.h"
31 #include "ppapi/c/dev/pp_video_dev.h"
32 #include "ppapi/c/private/ppb_tcp_socket_private.h" 32 #include "ppapi/c/private/ppb_tcp_socket_private.h"
33 #include "ppapi/proxy/ppapi_param_traits.h" 33 #include "ppapi/proxy/ppapi_param_traits.h"
34 #include "ppapi/proxy/ppapi_proxy_export.h" 34 #include "ppapi/proxy/ppapi_proxy_export.h"
35 #include "ppapi/proxy/serialized_flash_menu.h" 35 #include "ppapi/proxy/serialized_flash_menu.h"
36 #include "ppapi/proxy/serialized_structs.h" 36 #include "ppapi/proxy/serialized_structs.h"
37 #include "ppapi/shared_impl/ppapi_preferences.h" 37 #include "ppapi/shared_impl/ppapi_preferences.h"
38 #include "ppapi/shared_impl/ppb_input_event_shared.h" 38 #include "ppapi/shared_impl/ppb_input_event_shared.h"
39 #include "ppapi/shared_impl/ppb_url_request_info_shared.h" 39 #include "ppapi/shared_impl/ppb_url_request_info_shared.h"
40 #include "ppapi/shared_impl/ppb_view_shared.h"
40 41
41 #undef IPC_MESSAGE_EXPORT 42 #undef IPC_MESSAGE_EXPORT
42 #define IPC_MESSAGE_EXPORT PPAPI_PROXY_EXPORT 43 #define IPC_MESSAGE_EXPORT PPAPI_PROXY_EXPORT
43 44
44 #define IPC_MESSAGE_START PpapiMsgStart 45 #define IPC_MESSAGE_START PpapiMsgStart
45 46
46 IPC_ENUM_TRAITS(PP_InputEvent_Type) 47 IPC_ENUM_TRAITS(PP_InputEvent_Type)
47 IPC_ENUM_TRAITS(PP_InputEvent_MouseButton) 48 IPC_ENUM_TRAITS(PP_InputEvent_MouseButton)
48 IPC_ENUM_TRAITS(PP_TextInput_Type) 49 IPC_ENUM_TRAITS(PP_TextInput_Type)
49 IPC_ENUM_TRAITS(PP_VideoDecoder_Profile) 50 IPC_ENUM_TRAITS(PP_VideoDecoder_Profile)
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 IPC_STRUCT_TRAITS_MEMBER(height) 86 IPC_STRUCT_TRAITS_MEMBER(height)
86 IPC_STRUCT_TRAITS_MEMBER(frames_per_second) 87 IPC_STRUCT_TRAITS_MEMBER(frames_per_second)
87 IPC_STRUCT_TRAITS_END() 88 IPC_STRUCT_TRAITS_END()
88 89
89 IPC_STRUCT_TRAITS_BEGIN(ppapi::proxy::PPPVideoCapture_Buffer) 90 IPC_STRUCT_TRAITS_BEGIN(ppapi::proxy::PPPVideoCapture_Buffer)
90 IPC_STRUCT_TRAITS_MEMBER(resource) 91 IPC_STRUCT_TRAITS_MEMBER(resource)
91 IPC_STRUCT_TRAITS_MEMBER(handle) 92 IPC_STRUCT_TRAITS_MEMBER(handle)
92 IPC_STRUCT_TRAITS_MEMBER(size) 93 IPC_STRUCT_TRAITS_MEMBER(size)
93 IPC_STRUCT_TRAITS_END() 94 IPC_STRUCT_TRAITS_END()
94 95
96 IPC_STRUCT_TRAITS_BEGIN(ppapi::ViewData)
97 IPC_STRUCT_TRAITS_MEMBER(rect)
98 IPC_STRUCT_TRAITS_MEMBER(is_fullscreen)
99 IPC_STRUCT_TRAITS_MEMBER(is_page_visible)
100 IPC_STRUCT_TRAITS_MEMBER(clip_rect)
101 IPC_STRUCT_TRAITS_END()
102
95 IPC_STRUCT_TRAITS_BEGIN(ppapi::Preferences) 103 IPC_STRUCT_TRAITS_BEGIN(ppapi::Preferences)
96 IPC_STRUCT_TRAITS_MEMBER(standard_font_family) 104 IPC_STRUCT_TRAITS_MEMBER(standard_font_family)
97 IPC_STRUCT_TRAITS_MEMBER(fixed_font_family) 105 IPC_STRUCT_TRAITS_MEMBER(fixed_font_family)
98 IPC_STRUCT_TRAITS_MEMBER(serif_font_family) 106 IPC_STRUCT_TRAITS_MEMBER(serif_font_family)
99 IPC_STRUCT_TRAITS_MEMBER(sans_serif_font_family) 107 IPC_STRUCT_TRAITS_MEMBER(sans_serif_font_family)
100 IPC_STRUCT_TRAITS_MEMBER(default_font_size) 108 IPC_STRUCT_TRAITS_MEMBER(default_font_size)
101 IPC_STRUCT_TRAITS_MEMBER(default_fixed_font_size) 109 IPC_STRUCT_TRAITS_MEMBER(default_fixed_font_size)
102 IPC_STRUCT_TRAITS_END() 110 IPC_STRUCT_TRAITS_END()
103 111
104 IPC_STRUCT_TRAITS_BEGIN(ppapi::InputEventData) 112 IPC_STRUCT_TRAITS_BEGIN(ppapi::InputEventData)
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after
395 PP_Bool /* result */) 403 PP_Bool /* result */)
396 404
397 // PPP_Instance. 405 // PPP_Instance.
398 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiMsg_PPPInstance_DidCreate, 406 IPC_SYNC_MESSAGE_ROUTED3_1(PpapiMsg_PPPInstance_DidCreate,
399 PP_Instance /* instance */, 407 PP_Instance /* instance */,
400 std::vector<std::string> /* argn */, 408 std::vector<std::string> /* argn */,
401 std::vector<std::string> /* argv */, 409 std::vector<std::string> /* argv */,
402 PP_Bool /* result */) 410 PP_Bool /* result */)
403 IPC_SYNC_MESSAGE_ROUTED1_0(PpapiMsg_PPPInstance_DidDestroy, 411 IPC_SYNC_MESSAGE_ROUTED1_0(PpapiMsg_PPPInstance_DidDestroy,
404 PP_Instance /* instance */) 412 PP_Instance /* instance */)
405 IPC_MESSAGE_ROUTED5(PpapiMsg_PPPInstance_DidChangeView, 413 IPC_MESSAGE_ROUTED3(PpapiMsg_PPPInstance_DidChangeView,
406 PP_Instance /* instance */, 414 PP_Instance /* instance */,
407 PP_Rect /* position */, 415 ppapi::ViewData /* new_data */,
408 PP_Rect /* clip */,
409 PP_Bool /* fullscreen */,
410 PP_Bool /* flash_fullscreen */) 416 PP_Bool /* flash_fullscreen */)
411 IPC_MESSAGE_ROUTED2(PpapiMsg_PPPInstance_DidChangeFocus, 417 IPC_MESSAGE_ROUTED2(PpapiMsg_PPPInstance_DidChangeFocus,
412 PP_Instance /* instance */, 418 PP_Instance /* instance */,
413 PP_Bool /* has_focus */) 419 PP_Bool /* has_focus */)
414 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiMsg_PPPInstance_HandleDocumentLoad, 420 IPC_SYNC_MESSAGE_ROUTED2_1(PpapiMsg_PPPInstance_HandleDocumentLoad,
415 PP_Instance /* instance */, 421 PP_Instance /* instance */,
416 ppapi::HostResource /* url_loader */, 422 ppapi::HostResource /* url_loader */,
417 PP_Bool /* result */) 423 PP_Bool /* result */)
418 424
419 // PPP_Instance_Private. 425 // PPP_Instance_Private.
(...skipping 697 matching lines...) Expand 10 before | Expand all | Expand 10 after
1117 std::vector<PP_PictureBuffer_Dev> /* picture buffers */) 1123 std::vector<PP_PictureBuffer_Dev> /* picture buffers */)
1118 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBVideoDecoder_ReusePictureBuffer, 1124 IPC_MESSAGE_ROUTED2(PpapiHostMsg_PPBVideoDecoder_ReusePictureBuffer,
1119 ppapi::HostResource /* video_decoder */, 1125 ppapi::HostResource /* video_decoder */,
1120 int32_t /* picture buffer id */) 1126 int32_t /* picture buffer id */)
1121 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Flush, 1127 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Flush,
1122 ppapi::HostResource /* video_decoder */) 1128 ppapi::HostResource /* video_decoder */)
1123 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Reset, 1129 IPC_MESSAGE_ROUTED1(PpapiHostMsg_PPBVideoDecoder_Reset,
1124 ppapi::HostResource /* video_decoder */) 1130 ppapi::HostResource /* video_decoder */)
1125 IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBVideoDecoder_Destroy, 1131 IPC_SYNC_MESSAGE_ROUTED1_0(PpapiHostMsg_PPBVideoDecoder_Destroy,
1126 ppapi::HostResource /* video_decoder */) 1132 ppapi::HostResource /* video_decoder */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698