OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 #include "base/shared_memory.h" | 5 #include "base/shared_memory.h" |
6 #include "build/build_config.h" | 6 #include "build/build_config.h" |
7 #include "gfx/native_widget_types.h" | 7 #include "gfx/native_widget_types.h" |
8 #include "ipc/ipc_message_macros.h" | 8 #include "ipc/ipc_message_macros.h" |
9 #include "webkit/glue/webcursor.h" | 9 #include "webkit/glue/webcursor.h" |
10 | 10 |
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
231 IPC_MESSAGE_ROUTED0(PluginMsg_ContainerHidden) | 231 IPC_MESSAGE_ROUTED0(PluginMsg_ContainerHidden) |
232 | 232 |
233 IPC_MESSAGE_ROUTED3(PluginMsg_ContainerShown, | 233 IPC_MESSAGE_ROUTED3(PluginMsg_ContainerShown, |
234 gfx::Rect /* window_frame */, | 234 gfx::Rect /* window_frame */, |
235 gfx::Rect /* view_frame */, | 235 gfx::Rect /* view_frame */, |
236 bool /* has_focus */) | 236 bool /* has_focus */) |
237 | 237 |
238 IPC_MESSAGE_ROUTED2(PluginMsg_WindowFrameChanged, | 238 IPC_MESSAGE_ROUTED2(PluginMsg_WindowFrameChanged, |
239 gfx::Rect /* window_frame */, | 239 gfx::Rect /* window_frame */, |
240 gfx::Rect /* view_frame */) | 240 gfx::Rect /* view_frame */) |
| 241 |
| 242 IPC_MESSAGE_ROUTED1(PluginMsg_ImeCompositionConfirmed, |
| 243 string16 /* text */) |
241 #endif | 244 #endif |
242 | 245 |
243 IPC_SYNC_MESSAGE_ROUTED2_0(PluginMsg_WillSendRequest, | 246 IPC_SYNC_MESSAGE_ROUTED2_0(PluginMsg_WillSendRequest, |
244 unsigned long /* id */, | 247 unsigned long /* id */, |
245 GURL /* url */) | 248 GURL /* url */) |
246 | 249 |
247 IPC_MESSAGE_ROUTED1(PluginMsg_DidReceiveResponse, | 250 IPC_MESSAGE_ROUTED1(PluginMsg_DidReceiveResponse, |
248 PluginMsg_DidReceiveResponseParams) | 251 PluginMsg_DidReceiveResponseParams) |
249 | 252 |
250 IPC_MESSAGE_ROUTED3(PluginMsg_DidReceiveData, | 253 IPC_MESSAGE_ROUTED3(PluginMsg_DidReceiveData, |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
395 | 398 |
396 IPC_SYNC_MESSAGE_CONTROL1_0(PluginHostMsg_SetException, | 399 IPC_SYNC_MESSAGE_CONTROL1_0(PluginHostMsg_SetException, |
397 std::string /* message */) | 400 std::string /* message */) |
398 | 401 |
399 IPC_MESSAGE_CONTROL0(PluginHostMsg_PluginShuttingDown) | 402 IPC_MESSAGE_CONTROL0(PluginHostMsg_PluginShuttingDown) |
400 | 403 |
401 #if defined(OS_MACOSX) | 404 #if defined(OS_MACOSX) |
402 IPC_MESSAGE_ROUTED1(PluginHostMsg_UpdateGeometry_ACK, | 405 IPC_MESSAGE_ROUTED1(PluginHostMsg_UpdateGeometry_ACK, |
403 int /* ack_key */) | 406 int /* ack_key */) |
404 | 407 |
| 408 IPC_MESSAGE_ROUTED1(PluginHostMsg_SetImeEnabled, |
| 409 bool /* enabled */) |
| 410 |
405 // This message, used in Mac OS X 10.5 and earlier, is sent from the plug-in | 411 // This message, used in Mac OS X 10.5 and earlier, is sent from the plug-in |
406 // process to the renderer process to indicate that the plug-in allocated a | 412 // process to the renderer process to indicate that the plug-in allocated a |
407 // new TransportDIB that holds the GPU's rendered image. This information is | 413 // new TransportDIB that holds the GPU's rendered image. This information is |
408 // then forwarded to the browser process via a similar message. | 414 // then forwarded to the browser process via a similar message. |
409 IPC_MESSAGE_ROUTED4(PluginHostMsg_AcceleratedSurfaceSetTransportDIB, | 415 IPC_MESSAGE_ROUTED4(PluginHostMsg_AcceleratedSurfaceSetTransportDIB, |
410 gfx::PluginWindowHandle /* window */, | 416 gfx::PluginWindowHandle /* window */, |
411 int32 /* width */, | 417 int32 /* width */, |
412 int32 /* height */, | 418 int32 /* height */, |
413 TransportDIB::Handle /* handle to the TransportDIB */) | 419 TransportDIB::Handle /* handle to the TransportDIB */) |
414 | 420 |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
505 NPVariant_Param /* result_param */, | 511 NPVariant_Param /* result_param */, |
506 bool /* result */) | 512 bool /* result */) |
507 | 513 |
508 IPC_SYNC_MESSAGE_ROUTED2_2(NPObjectMsg_Evaluate, | 514 IPC_SYNC_MESSAGE_ROUTED2_2(NPObjectMsg_Evaluate, |
509 std::string /* script */, | 515 std::string /* script */, |
510 bool /* popups_allowed */, | 516 bool /* popups_allowed */, |
511 NPVariant_Param /* result_param */, | 517 NPVariant_Param /* result_param */, |
512 bool /* result */) | 518 bool /* result */) |
513 | 519 |
514 IPC_END_MESSAGES(NPObject) | 520 IPC_END_MESSAGES(NPObject) |
OLD | NEW |