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

Side by Side Diff: content/common/plugin_messages.h

Issue 7812020: Moved the following IPC messages used by the chrome NPAPI plugin installer out of content (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 3 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 | « content/common/content_constants.cc ('k') | content/common/view_messages.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 // Multiply-included message file, hence no include guard. 5 // Multiply-included message file, hence no include guard.
6 6
7 #include "build/build_config.h" 7 #include "build/build_config.h"
8 #include "content/common/common_param_traits.h" 8 #include "content/common/common_param_traits.h"
9 #include "content/common/webkit_param_traits.h" 9 #include "content/common/webkit_param_traits.h"
10 #include "ipc/ipc_channel_handle.h" 10 #include "ipc/ipc_channel_handle.h"
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 IPC_MESSAGE_CONTROL0(PluginProcessMsg_NotifyRenderersOfPendingShutdown) 76 IPC_MESSAGE_CONTROL0(PluginProcessMsg_NotifyRenderersOfPendingShutdown)
77 77
78 78
79 //----------------------------------------------------------------------------- 79 //-----------------------------------------------------------------------------
80 // PluginProcessHost messages 80 // PluginProcessHost messages
81 // These are messages sent from the plugin process to the browser process. 81 // These are messages sent from the plugin process to the browser process.
82 // Response to a PluginProcessMsg_CreateChannel message. 82 // Response to a PluginProcessMsg_CreateChannel message.
83 IPC_MESSAGE_CONTROL1(PluginProcessHostMsg_ChannelCreated, 83 IPC_MESSAGE_CONTROL1(PluginProcessHostMsg_ChannelCreated,
84 IPC::ChannelHandle /* channel_handle */) 84 IPC::ChannelHandle /* channel_handle */)
85 85
86 IPC_SYNC_MESSAGE_CONTROL0_1(PluginProcessHostMsg_GetPluginFinderUrl,
87 std::string /* plugin finder URL */)
88
89 #if defined(OS_WIN) 86 #if defined(OS_WIN)
90 // Destroys the given window's parent on the UI thread. 87 // Destroys the given window's parent on the UI thread.
91 IPC_MESSAGE_CONTROL2(PluginProcessHostMsg_PluginWindowDestroyed, 88 IPC_MESSAGE_CONTROL2(PluginProcessHostMsg_PluginWindowDestroyed,
92 HWND /* window */, 89 HWND /* window */,
93 HWND /* parent */) 90 HWND /* parent */)
94 91
95 IPC_MESSAGE_CONTROL2(PluginProcessHostMsg_DownloadUrl,
96 std::string /* URL */,
97 HWND /* caller window */)
98
99 IPC_MESSAGE_CONTROL2(PluginProcessHostMsg_ReparentPluginWindow, 92 IPC_MESSAGE_CONTROL2(PluginProcessHostMsg_ReparentPluginWindow,
100 HWND /* window */, 93 HWND /* window */,
101 HWND /* parent */) 94 HWND /* parent */)
102 #endif 95 #endif
103 96
104 #if defined(USE_X11) 97 #if defined(USE_X11)
105 // On X11, the mapping between NativeViewId and X window ids 98 // On X11, the mapping between NativeViewId and X window ids
106 // is known only to the browser. This message lets the plugin process 99 // is known only to the browser. This message lets the plugin process
107 // ask about a NativeViewId that was provided by the renderer. 100 // ask about a NativeViewId that was provided by the renderer.
108 // It will get 0 back if it's a bogus input. 101 // It will get 0 back if it's a bogus input.
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 GURL /* url */, 247 GURL /* url */,
255 PluginMsg_DidReceiveResponseParams) 248 PluginMsg_DidReceiveResponseParams)
256 249
257 IPC_MESSAGE_ROUTED1(PluginMsg_DidReceiveManualData, 250 IPC_MESSAGE_ROUTED1(PluginMsg_DidReceiveManualData,
258 std::vector<char> /* buffer */) 251 std::vector<char> /* buffer */)
259 252
260 IPC_MESSAGE_ROUTED0(PluginMsg_DidFinishManualLoading) 253 IPC_MESSAGE_ROUTED0(PluginMsg_DidFinishManualLoading)
261 254
262 IPC_MESSAGE_ROUTED0(PluginMsg_DidManualLoadFail) 255 IPC_MESSAGE_ROUTED0(PluginMsg_DidManualLoadFail)
263 256
264 IPC_MESSAGE_ROUTED0(PluginMsg_InstallMissingPlugin)
265
266 IPC_MESSAGE_ROUTED3(PluginMsg_HandleURLRequestReply, 257 IPC_MESSAGE_ROUTED3(PluginMsg_HandleURLRequestReply,
267 unsigned long /* resource_id */, 258 unsigned long /* resource_id */,
268 GURL /* url */, 259 GURL /* url */,
269 int /* notify_id */) 260 int /* notify_id */)
270 261
271 IPC_MESSAGE_ROUTED2(PluginMsg_HTTPRangeRequestReply, 262 IPC_MESSAGE_ROUTED2(PluginMsg_HTTPRangeRequestReply,
272 unsigned long /* resource_id */, 263 unsigned long /* resource_id */,
273 int /* range_request_id */) 264 int /* range_request_id */)
274 265
275 IPC_MESSAGE_CONTROL1(PluginMsg_SignalModalDialogEvent, 266 IPC_MESSAGE_CONTROL1(PluginMsg_SignalModalDialogEvent,
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
332 IPC_MESSAGE_ROUTED3(PluginHostMsg_SetCookie, 323 IPC_MESSAGE_ROUTED3(PluginHostMsg_SetCookie,
333 GURL /* url */, 324 GURL /* url */,
334 GURL /* first_party_for_cookies */, 325 GURL /* first_party_for_cookies */,
335 std::string /* cookie */) 326 std::string /* cookie */)
336 327
337 IPC_SYNC_MESSAGE_ROUTED2_1(PluginHostMsg_GetCookies, 328 IPC_SYNC_MESSAGE_ROUTED2_1(PluginHostMsg_GetCookies,
338 GURL /* url */, 329 GURL /* url */,
339 GURL /* first_party_for_cookies */, 330 GURL /* first_party_for_cookies */,
340 std::string /* cookies */) 331 std::string /* cookies */)
341 332
342 IPC_MESSAGE_ROUTED1(PluginHostMsg_MissingPluginStatus,
343 int /* status */)
344
345 IPC_MESSAGE_ROUTED0(PluginHostMsg_CancelDocumentLoad) 333 IPC_MESSAGE_ROUTED0(PluginHostMsg_CancelDocumentLoad)
346 334
347 IPC_MESSAGE_ROUTED3(PluginHostMsg_InitiateHTTPRangeRequest, 335 IPC_MESSAGE_ROUTED3(PluginHostMsg_InitiateHTTPRangeRequest,
348 std::string /* url */, 336 std::string /* url */,
349 std::string /* range_info */, 337 std::string /* range_info */,
350 int /* range_request_id */) 338 int /* range_request_id */)
351 339
352 IPC_MESSAGE_ROUTED2(PluginHostMsg_DeferResourceLoading, 340 IPC_MESSAGE_ROUTED2(PluginHostMsg_DeferResourceLoading,
353 unsigned long /* resource_id */, 341 unsigned long /* resource_id */,
354 bool /* defer */) 342 bool /* defer */)
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
471 IPC_SYNC_MESSAGE_ROUTED1_2(NPObjectMsg_Construct, 459 IPC_SYNC_MESSAGE_ROUTED1_2(NPObjectMsg_Construct,
472 std::vector<NPVariant_Param> /* args */, 460 std::vector<NPVariant_Param> /* args */,
473 NPVariant_Param /* result_param */, 461 NPVariant_Param /* result_param */,
474 bool /* result */) 462 bool /* result */)
475 463
476 IPC_SYNC_MESSAGE_ROUTED2_2(NPObjectMsg_Evaluate, 464 IPC_SYNC_MESSAGE_ROUTED2_2(NPObjectMsg_Evaluate,
477 std::string /* script */, 465 std::string /* script */,
478 bool /* popups_allowed */, 466 bool /* popups_allowed */,
479 NPVariant_Param /* result_param */, 467 NPVariant_Param /* result_param */,
480 bool /* result */) 468 bool /* result */)
OLDNEW
« no previous file with comments | « content/common/content_constants.cc ('k') | content/common/view_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698