| 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/gfx/native_widget_types.h" | 5 #include "base/gfx/native_widget_types.h" |
| 6 #include "base/shared_memory.h" | 6 #include "base/shared_memory.h" |
| 7 #include "build/build_config.h" | 7 #include "build/build_config.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 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 158 | 158 |
| 159 IPC_SYNC_MESSAGE_ROUTED0_2(PluginMsg_GetPluginScriptableObject, | 159 IPC_SYNC_MESSAGE_ROUTED0_2(PluginMsg_GetPluginScriptableObject, |
| 160 int /* route_id */, | 160 int /* route_id */, |
| 161 intptr_t /* npobject_ptr */) | 161 intptr_t /* npobject_ptr */) |
| 162 | 162 |
| 163 IPC_SYNC_MESSAGE_ROUTED3_0(PluginMsg_DidFinishLoadWithReason, | 163 IPC_SYNC_MESSAGE_ROUTED3_0(PluginMsg_DidFinishLoadWithReason, |
| 164 GURL /* url */, | 164 GURL /* url */, |
| 165 int /* reason */, | 165 int /* reason */, |
| 166 intptr_t /* notify_data */) | 166 intptr_t /* notify_data */) |
| 167 | 167 |
| 168 // Updates the plugin location. For windowless plugins, windowless_buffer | 168 // Updates the plugin location. |
| 169 // contains a buffer that the plugin draws into. background_buffer is used | 169 IPC_MESSAGE_ROUTED1(PluginMsg_UpdateGeometry, |
| 170 // for transparent windowless plugins, and holds the background of the plugin | 170 PluginMsg_UpdateGeometry_Param) |
| 171 // rectangle. | 171 |
| 172 IPC_MESSAGE_ROUTED4(PluginMsg_UpdateGeometry, | 172 // A synchronous version of above. |
| 173 gfx::Rect /* window_rect */, | 173 IPC_SYNC_MESSAGE_ROUTED1_0(PluginMsg_UpdateGeometrySync, |
| 174 gfx::Rect /* clip_rect */, | 174 PluginMsg_UpdateGeometry_Param) |
| 175 TransportDIB::Handle /* windowless_buffer */, | |
| 176 TransportDIB::Handle /* background_buffer */) | |
| 177 | 175 |
| 178 IPC_SYNC_MESSAGE_ROUTED0_0(PluginMsg_SetFocus) | 176 IPC_SYNC_MESSAGE_ROUTED0_0(PluginMsg_SetFocus) |
| 179 | 177 |
| 180 IPC_SYNC_MESSAGE_ROUTED1_2(PluginMsg_HandleInputEvent, | 178 IPC_SYNC_MESSAGE_ROUTED1_2(PluginMsg_HandleInputEvent, |
| 181 IPC::WebInputEventPointer /* event */, | 179 IPC::WebInputEventPointer /* event */, |
| 182 bool /* handled */, | 180 bool /* handled */, |
| 183 WebCursor /* cursor type*/) | 181 WebCursor /* cursor type*/) |
| 184 | 182 |
| 185 IPC_SYNC_MESSAGE_ROUTED2_0(PluginMsg_WillSendRequest, | 183 IPC_SYNC_MESSAGE_ROUTED2_0(PluginMsg_WillSendRequest, |
| 186 int /* id */, | 184 int /* id */, |
| (...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 366 IPC_SYNC_MESSAGE_ROUTED2_2(NPObjectMsg_Evaluate, | 364 IPC_SYNC_MESSAGE_ROUTED2_2(NPObjectMsg_Evaluate, |
| 367 std::string /* script */, | 365 std::string /* script */, |
| 368 bool /* popups_allowed */, | 366 bool /* popups_allowed */, |
| 369 NPVariant_Param /* result_param */, | 367 NPVariant_Param /* result_param */, |
| 370 bool /* result */) | 368 bool /* result */) |
| 371 | 369 |
| 372 IPC_SYNC_MESSAGE_ROUTED1_0(NPObjectMsg_SetException, | 370 IPC_SYNC_MESSAGE_ROUTED1_0(NPObjectMsg_SetException, |
| 373 std::string /* message */) | 371 std::string /* message */) |
| 374 | 372 |
| 375 IPC_END_MESSAGES(NPObject) | 373 IPC_END_MESSAGES(NPObject) |
| OLD | NEW |