Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(351)

Side by Side Diff: chrome/common/plugin_messages_internal.h

Issue 165381: Merge 22369 - Fix plugin IPC issues.... (Closed) Base URL: svn://chrome-svn/chrome/branches/195/src/
Patch Set: Created 11 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/plugin/webplugin_delegate_stub.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Modified: svn:mergeinfo
Merged /trunk/src/chrome/common/plugin_messages_internal.h:r22369
OLDNEW
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 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 176
177 IPC_SYNC_MESSAGE_ROUTED1_2(PluginMsg_HandleInputEvent, 177 IPC_SYNC_MESSAGE_ROUTED1_2(PluginMsg_HandleInputEvent,
178 IPC::WebInputEventPointer /* event */, 178 IPC::WebInputEventPointer /* event */,
179 bool /* handled */, 179 bool /* handled */,
180 WebCursor /* cursor type*/) 180 WebCursor /* cursor type*/)
181 181
182 IPC_SYNC_MESSAGE_ROUTED2_0(PluginMsg_WillSendRequest, 182 IPC_SYNC_MESSAGE_ROUTED2_0(PluginMsg_WillSendRequest,
183 int /* id */, 183 int /* id */,
184 GURL /* url */) 184 GURL /* url */)
185 185
186 IPC_SYNC_MESSAGE_ROUTED1_1(PluginMsg_DidReceiveResponse, 186 IPC_MESSAGE_ROUTED1(PluginMsg_DidReceiveResponse,
187 PluginMsg_DidReceiveResponseParams, 187 PluginMsg_DidReceiveResponseParams)
188 bool /* cancel */)
189 188
190 IPC_SYNC_MESSAGE_ROUTED3_0(PluginMsg_DidReceiveData, 189 IPC_MESSAGE_ROUTED3(PluginMsg_DidReceiveData,
191 int /* id */, 190 int /* id */,
192 std::vector<char> /* buffer */, 191 std::vector<char> /* buffer */,
193 int /* data_offset */) 192 int /* data_offset */)
194 193
195 IPC_SYNC_MESSAGE_ROUTED1_0(PluginMsg_DidFinishLoading, 194 IPC_MESSAGE_ROUTED1(PluginMsg_DidFinishLoading,
196 int /* id */) 195 int /* id */)
197 196
198 IPC_SYNC_MESSAGE_ROUTED1_0(PluginMsg_DidFail, 197 IPC_MESSAGE_ROUTED1(PluginMsg_DidFail,
199 int /* id */) 198 int /* id */)
200 199
201 IPC_MESSAGE_ROUTED5(PluginMsg_SendJavaScriptStream, 200 IPC_MESSAGE_ROUTED5(PluginMsg_SendJavaScriptStream,
202 std::string /* url */, 201 std::string /* url */,
203 std::wstring /* result */, 202 std::wstring /* result */,
204 bool /* success */, 203 bool /* success */,
205 bool /* notify required */, 204 bool /* notify required */,
206 intptr_t /* notify data */) 205 intptr_t /* notify data */)
207 206
208 IPC_MESSAGE_ROUTED2(PluginMsg_DidReceiveManualResponse, 207 IPC_MESSAGE_ROUTED2(PluginMsg_DidReceiveManualResponse,
209 std::string /* url */, 208 std::string /* url */,
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
315 314
316 IPC_MESSAGE_ROUTED0(PluginHostMsg_CancelDocumentLoad) 315 IPC_MESSAGE_ROUTED0(PluginHostMsg_CancelDocumentLoad)
317 316
318 IPC_MESSAGE_ROUTED5(PluginHostMsg_InitiateHTTPRangeRequest, 317 IPC_MESSAGE_ROUTED5(PluginHostMsg_InitiateHTTPRangeRequest,
319 std::string /* url */, 318 std::string /* url */,
320 std::string /* range_info */, 319 std::string /* range_info */,
321 intptr_t /* existing_stream */, 320 intptr_t /* existing_stream */,
322 bool /* notify_needed */, 321 bool /* notify_needed */,
323 intptr_t /* notify_data */) 322 intptr_t /* notify_data */)
324 323
324 IPC_MESSAGE_ROUTED2(PluginHostMsg_DeferResourceLoading,
325 int /* resource_id */,
326 bool /* defer */)
327
325 IPC_END_MESSAGES(PluginHost) 328 IPC_END_MESSAGES(PluginHost)
326 329
327 //----------------------------------------------------------------------------- 330 //-----------------------------------------------------------------------------
328 // NPObject messages 331 // NPObject messages
329 // These are messages used to marshall NPObjects. They are sent both from the 332 // These are messages used to marshall NPObjects. They are sent both from the
330 // plugin to the renderer and from the renderer to the plugin. 333 // plugin to the renderer and from the renderer to the plugin.
331 IPC_BEGIN_MESSAGES(NPObject) 334 IPC_BEGIN_MESSAGES(NPObject)
332 IPC_SYNC_MESSAGE_ROUTED0_0(NPObjectMsg_Release) 335 IPC_SYNC_MESSAGE_ROUTED0_0(NPObjectMsg_Release)
333 336
334 IPC_SYNC_MESSAGE_ROUTED1_1(NPObjectMsg_HasMethod, 337 IPC_SYNC_MESSAGE_ROUTED1_1(NPObjectMsg_HasMethod,
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
374 IPC_SYNC_MESSAGE_ROUTED2_2(NPObjectMsg_Evaluate, 377 IPC_SYNC_MESSAGE_ROUTED2_2(NPObjectMsg_Evaluate,
375 std::string /* script */, 378 std::string /* script */,
376 bool /* popups_allowed */, 379 bool /* popups_allowed */,
377 NPVariant_Param /* result_param */, 380 NPVariant_Param /* result_param */,
378 bool /* result */) 381 bool /* result */)
379 382
380 IPC_SYNC_MESSAGE_ROUTED1_0(NPObjectMsg_SetException, 383 IPC_SYNC_MESSAGE_ROUTED1_0(NPObjectMsg_SetException,
381 std::string /* message */) 384 std::string /* message */)
382 385
383 IPC_END_MESSAGES(NPObject) 386 IPC_END_MESSAGES(NPObject)
OLDNEW
« no previous file with comments | « no previous file | chrome/plugin/webplugin_delegate_stub.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698