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 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
141 // for transparent windowless plugins, and holds the background of the plugin | 141 // for transparent windowless plugins, and holds the background of the plugin |
142 // rectangle. | 142 // rectangle. |
143 IPC_MESSAGE_ROUTED4(PluginMsg_UpdateGeometry, | 143 IPC_MESSAGE_ROUTED4(PluginMsg_UpdateGeometry, |
144 gfx::Rect /* window_rect */, | 144 gfx::Rect /* window_rect */, |
145 gfx::Rect /* clip_rect */, | 145 gfx::Rect /* clip_rect */, |
146 TransportDIB::Id /* windowless_buffer */, | 146 TransportDIB::Id /* windowless_buffer */, |
147 TransportDIB::Id /* background_buffer */) | 147 TransportDIB::Id /* background_buffer */) |
148 | 148 |
149 IPC_SYNC_MESSAGE_ROUTED0_0(PluginMsg_SetFocus) | 149 IPC_SYNC_MESSAGE_ROUTED0_0(PluginMsg_SetFocus) |
150 | 150 |
151 IPC_SYNC_MESSAGE_ROUTED1_2(PluginMsg_HandleEvent, | 151 IPC_SYNC_MESSAGE_ROUTED1_2(PluginMsg_HandleInputEvent, |
152 NPEvent /* event */, | 152 IPC::WebInputEventPointer /* event */, |
153 bool /* handled */, | 153 bool /* handled */, |
154 WebCursor /* cursor type*/) | 154 WebCursor /* cursor type*/) |
155 | 155 |
156 IPC_SYNC_MESSAGE_ROUTED2_0(PluginMsg_WillSendRequest, | 156 IPC_SYNC_MESSAGE_ROUTED2_0(PluginMsg_WillSendRequest, |
157 int /* id */, | 157 int /* id */, |
158 GURL /* url */) | 158 GURL /* url */) |
159 | 159 |
160 IPC_SYNC_MESSAGE_ROUTED1_1(PluginMsg_DidReceiveResponse, | 160 IPC_SYNC_MESSAGE_ROUTED1_1(PluginMsg_DidReceiveResponse, |
161 PluginMsg_DidReceiveResponseParams, | 161 PluginMsg_DidReceiveResponseParams, |
162 bool /* cancel */) | 162 bool /* cancel */) |
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
323 IPC_SYNC_MESSAGE_ROUTED2_2(NPObjectMsg_Evaluate, | 323 IPC_SYNC_MESSAGE_ROUTED2_2(NPObjectMsg_Evaluate, |
324 std::string /* script */, | 324 std::string /* script */, |
325 bool /* popups_allowed */, | 325 bool /* popups_allowed */, |
326 NPVariant_Param /* result_param */, | 326 NPVariant_Param /* result_param */, |
327 bool /* result */) | 327 bool /* result */) |
328 | 328 |
329 IPC_SYNC_MESSAGE_ROUTED1_0(NPObjectMsg_SetException, | 329 IPC_SYNC_MESSAGE_ROUTED1_0(NPObjectMsg_SetException, |
330 std::string /* message */) | 330 std::string /* message */) |
331 | 331 |
332 IPC_END_MESSAGES(NPObject) | 332 IPC_END_MESSAGES(NPObject) |
OLD | NEW |