OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 file, hence no include guard. | 5 // Multiply-included message file, hence no include guard. |
6 | 6 |
7 #include "build/build_config.h" | 7 #include "build/build_config.h" |
8 #include "content/child/plugin_param_traits.h" | 8 #include "content/child/plugin_param_traits.h" |
9 #include "content/common/content_export.h" | 9 #include "content/common/content_export.h" |
10 #include "content/common/content_param_traits.h" | 10 #include "content/common/content_param_traits.h" |
| 11 #include "content/common/cursors/webcursor.h" |
11 #include "content/public/common/common_param_traits.h" | 12 #include "content/public/common/common_param_traits.h" |
12 #include "ipc/ipc_channel_handle.h" | 13 #include "ipc/ipc_channel_handle.h" |
13 #include "ipc/ipc_message_macros.h" | 14 #include "ipc/ipc_message_macros.h" |
14 #include "ui/gfx/native_widget_types.h" | 15 #include "ui/gfx/native_widget_types.h" |
15 #include "ui/gfx/rect.h" | 16 #include "ui/gfx/rect.h" |
16 #include "webkit/common/cursors/webcursor.h" | |
17 | 17 |
18 #if defined(OS_POSIX) | 18 #if defined(OS_POSIX) |
19 #include "base/file_descriptor_posix.h" | 19 #include "base/file_descriptor_posix.h" |
20 #endif | 20 #endif |
21 | 21 |
22 #undef IPC_MESSAGE_EXPORT | 22 #undef IPC_MESSAGE_EXPORT |
23 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT | 23 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT |
24 | 24 |
25 #define IPC_MESSAGE_START PluginMsgStart | 25 #define IPC_MESSAGE_START PluginMsgStart |
26 | 26 |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 // A synchronous version of above. | 126 // A synchronous version of above. |
127 IPC_SYNC_MESSAGE_ROUTED1_0(PluginMsg_UpdateGeometrySync, | 127 IPC_SYNC_MESSAGE_ROUTED1_0(PluginMsg_UpdateGeometrySync, |
128 PluginMsg_UpdateGeometry_Param) | 128 PluginMsg_UpdateGeometry_Param) |
129 | 129 |
130 IPC_SYNC_MESSAGE_ROUTED1_0(PluginMsg_SetFocus, | 130 IPC_SYNC_MESSAGE_ROUTED1_0(PluginMsg_SetFocus, |
131 bool /* focused */) | 131 bool /* focused */) |
132 | 132 |
133 IPC_SYNC_MESSAGE_ROUTED1_2(PluginMsg_HandleInputEvent, | 133 IPC_SYNC_MESSAGE_ROUTED1_2(PluginMsg_HandleInputEvent, |
134 IPC::WebInputEventPointer /* event */, | 134 IPC::WebInputEventPointer /* event */, |
135 bool /* handled */, | 135 bool /* handled */, |
136 WebCursor /* cursor type*/) | 136 content::WebCursor /* cursor type*/) |
137 | 137 |
138 IPC_MESSAGE_ROUTED1(PluginMsg_SetContentAreaFocus, | 138 IPC_MESSAGE_ROUTED1(PluginMsg_SetContentAreaFocus, |
139 bool /* has_focus */) | 139 bool /* has_focus */) |
140 | 140 |
141 IPC_SYNC_MESSAGE_ROUTED3_0(PluginMsg_WillSendRequest, | 141 IPC_SYNC_MESSAGE_ROUTED3_0(PluginMsg_WillSendRequest, |
142 unsigned long /* id */, | 142 unsigned long /* id */, |
143 GURL /* url */, | 143 GURL /* url */, |
144 int /* http_status_code */) | 144 int /* http_status_code */) |
145 | 145 |
146 IPC_MESSAGE_ROUTED1(PluginMsg_DidReceiveResponse, | 146 IPC_MESSAGE_ROUTED1(PluginMsg_DidReceiveResponse, |
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
389 IPC_SYNC_MESSAGE_ROUTED1_2(NPObjectMsg_Construct, | 389 IPC_SYNC_MESSAGE_ROUTED1_2(NPObjectMsg_Construct, |
390 std::vector<content::NPVariant_Param> /* args */, | 390 std::vector<content::NPVariant_Param> /* args */, |
391 content::NPVariant_Param /* result_param */, | 391 content::NPVariant_Param /* result_param */, |
392 bool /* result */) | 392 bool /* result */) |
393 | 393 |
394 IPC_SYNC_MESSAGE_ROUTED2_2(NPObjectMsg_Evaluate, | 394 IPC_SYNC_MESSAGE_ROUTED2_2(NPObjectMsg_Evaluate, |
395 std::string /* script */, | 395 std::string /* script */, |
396 bool /* popups_allowed */, | 396 bool /* popups_allowed */, |
397 content::NPVariant_Param /* result_param */, | 397 content::NPVariant_Param /* result_param */, |
398 bool /* result */) | 398 bool /* result */) |
OLD | NEW |