| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 "chrome/common/ipc_message_macros.h" | 6 #include "chrome/common/ipc_message_macros.h" |
| 7 #include "webkit/glue/webcursor.h" | 7 #include "webkit/glue/webcursor.h" |
| 8 | 8 |
| 9 //----------------------------------------------------------------------------- | 9 //----------------------------------------------------------------------------- |
| 10 // PluginProcess messages | 10 // PluginProcess messages |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 117 int /* route_id */, | 117 int /* route_id */, |
| 118 void* /* npobject_ptr */) | 118 void* /* npobject_ptr */) |
| 119 | 119 |
| 120 IPC_SYNC_MESSAGE_ROUTED1_0(PluginMsg_DidFinishLoadWithReason, | 120 IPC_SYNC_MESSAGE_ROUTED1_0(PluginMsg_DidFinishLoadWithReason, |
| 121 int /* reason */) | 121 int /* reason */) |
| 122 | 122 |
| 123 // Updates the plugin location. For windowless plugins, windowless_buffer | 123 // Updates the plugin location. For windowless plugins, windowless_buffer |
| 124 // contains a buffer that the plugin draws into. background_buffer is used | 124 // contains a buffer that the plugin draws into. background_buffer is used |
| 125 // for transparent windowless plugins, and holds the background of the plugin | 125 // for transparent windowless plugins, and holds the background of the plugin |
| 126 // rectangle. | 126 // rectangle. |
| 127 IPC_MESSAGE_ROUTED5(PluginMsg_UpdateGeometry, | 127 IPC_MESSAGE_ROUTED6(PluginMsg_UpdateGeometry, |
| 128 gfx::Rect /* window_rect */, | 128 gfx::Rect /* window_rect */, |
| 129 gfx::Rect /* clip_rect */, | 129 gfx::Rect /* clip_rect */, |
| 130 std::vector<gfx::Rect> /* cutout_rects */, |
| 130 bool /* visible */, | 131 bool /* visible */, |
| 131 SharedMemoryHandle /* windowless_buffer */, | 132 SharedMemoryHandle /* windowless_buffer */, |
| 132 SharedMemoryHandle /* background_buffer */) | 133 SharedMemoryHandle /* background_buffer */) |
| 133 | 134 |
| 134 IPC_SYNC_MESSAGE_ROUTED0_0(PluginMsg_SetFocus) | 135 IPC_SYNC_MESSAGE_ROUTED0_0(PluginMsg_SetFocus) |
| 135 | 136 |
| 136 IPC_SYNC_MESSAGE_ROUTED1_2(PluginMsg_HandleEvent, | 137 IPC_SYNC_MESSAGE_ROUTED1_2(PluginMsg_HandleEvent, |
| 137 NPEvent /* event */, | 138 NPEvent /* event */, |
| 138 bool /* handled */, | 139 bool /* handled */, |
| 139 WebCursor /* cursor type*/) | 140 WebCursor /* cursor type*/) |
| (...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 304 IPC_SYNC_MESSAGE_ROUTED1_2(NPObjectMsg_Evaluate, | 305 IPC_SYNC_MESSAGE_ROUTED1_2(NPObjectMsg_Evaluate, |
| 305 std::string /* script */, | 306 std::string /* script */, |
| 306 NPVariant_Param /* result_param */, | 307 NPVariant_Param /* result_param */, |
| 307 bool /* result */) | 308 bool /* result */) |
| 308 | 309 |
| 309 IPC_SYNC_MESSAGE_ROUTED1_0(NPObjectMsg_SetException, | 310 IPC_SYNC_MESSAGE_ROUTED1_0(NPObjectMsg_SetException, |
| 310 std::string /* message */) | 311 std::string /* message */) |
| 311 | 312 |
| 312 IPC_END_MESSAGES(NPObject) | 313 IPC_END_MESSAGES(NPObject) |
| 313 | 314 |
| OLD | NEW |