| 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/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 "chrome/common/ipc_message_macros.h" | 8 #include "chrome/common/ipc_message_macros.h" |
| 9 #include "webkit/glue/webcursor.h" | 9 #include "webkit/glue/webcursor.h" |
| 10 | 10 |
| (...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 155 IPC_SYNC_MESSAGE_ROUTED1_0(PluginMsg_DidFinishLoadWithReason, | 155 IPC_SYNC_MESSAGE_ROUTED1_0(PluginMsg_DidFinishLoadWithReason, |
| 156 int /* reason */) | 156 int /* reason */) |
| 157 | 157 |
| 158 // Updates the plugin location. For windowless plugins, windowless_buffer | 158 // Updates the plugin location. For windowless plugins, windowless_buffer |
| 159 // contains a buffer that the plugin draws into. background_buffer is used | 159 // contains a buffer that the plugin draws into. background_buffer is used |
| 160 // for transparent windowless plugins, and holds the background of the plugin | 160 // for transparent windowless plugins, and holds the background of the plugin |
| 161 // rectangle. | 161 // rectangle. |
| 162 IPC_MESSAGE_ROUTED4(PluginMsg_UpdateGeometry, | 162 IPC_MESSAGE_ROUTED4(PluginMsg_UpdateGeometry, |
| 163 gfx::Rect /* window_rect */, | 163 gfx::Rect /* window_rect */, |
| 164 gfx::Rect /* clip_rect */, | 164 gfx::Rect /* clip_rect */, |
| 165 TransportDIB::Id /* windowless_buffer */, | 165 TransportDIB::Handle /* windowless_buffer */, |
| 166 TransportDIB::Id /* background_buffer */) | 166 TransportDIB::Handle /* background_buffer */) |
| 167 | 167 |
| 168 IPC_SYNC_MESSAGE_ROUTED0_0(PluginMsg_SetFocus) | 168 IPC_SYNC_MESSAGE_ROUTED0_0(PluginMsg_SetFocus) |
| 169 | 169 |
| 170 IPC_SYNC_MESSAGE_ROUTED1_2(PluginMsg_HandleInputEvent, | 170 IPC_SYNC_MESSAGE_ROUTED1_2(PluginMsg_HandleInputEvent, |
| 171 IPC::WebInputEventPointer /* event */, | 171 IPC::WebInputEventPointer /* event */, |
| 172 bool /* handled */, | 172 bool /* handled */, |
| 173 WebCursor /* cursor type*/) | 173 WebCursor /* cursor type*/) |
| 174 | 174 |
| 175 IPC_SYNC_MESSAGE_ROUTED2_0(PluginMsg_WillSendRequest, | 175 IPC_SYNC_MESSAGE_ROUTED2_0(PluginMsg_WillSendRequest, |
| 176 int /* id */, | 176 int /* id */, |
| (...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 367 IPC_SYNC_MESSAGE_ROUTED2_2(NPObjectMsg_Evaluate, | 367 IPC_SYNC_MESSAGE_ROUTED2_2(NPObjectMsg_Evaluate, |
| 368 std::string /* script */, | 368 std::string /* script */, |
| 369 bool /* popups_allowed */, | 369 bool /* popups_allowed */, |
| 370 NPVariant_Param /* result_param */, | 370 NPVariant_Param /* result_param */, |
| 371 bool /* result */) | 371 bool /* result */) |
| 372 | 372 |
| 373 IPC_SYNC_MESSAGE_ROUTED1_0(NPObjectMsg_SetException, | 373 IPC_SYNC_MESSAGE_ROUTED1_0(NPObjectMsg_SetException, |
| 374 std::string /* message */) | 374 std::string /* message */) |
| 375 | 375 |
| 376 IPC_END_MESSAGES(NPObject) | 376 IPC_END_MESSAGES(NPObject) |
| OLD | NEW |