OLD | NEW |
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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 | 91 |
92 IPC_SYNC_MESSAGE_CONTROL0_1(PluginProcessHostMsg_GetPluginFinderUrl, | 92 IPC_SYNC_MESSAGE_CONTROL0_1(PluginProcessHostMsg_GetPluginFinderUrl, |
93 std::string /* plugin finder URL */) | 93 std::string /* plugin finder URL */) |
94 | 94 |
95 #if defined(OS_WIN) | 95 #if defined(OS_WIN) |
96 // Destroys the given window's parent on the UI thread. | 96 // Destroys the given window's parent on the UI thread. |
97 IPC_MESSAGE_CONTROL2(PluginProcessHostMsg_PluginWindowDestroyed, | 97 IPC_MESSAGE_CONTROL2(PluginProcessHostMsg_PluginWindowDestroyed, |
98 HWND /* window */, | 98 HWND /* window */, |
99 HWND /* parent */) | 99 HWND /* parent */) |
100 | 100 |
101 IPC_MESSAGE_ROUTED3(PluginProcessHostMsg_DownloadUrl, | 101 IPC_MESSAGE_CONTROL3(PluginProcessHostMsg_DownloadUrl, |
102 std::string /* URL */, | 102 std::string /* URL */, |
103 int /* process id */, | 103 int /* process id */, |
104 HWND /* caller window */) | 104 HWND /* caller window */) |
105 #endif | 105 #endif |
106 | 106 |
107 #if defined(USE_X11) | 107 #if defined(USE_X11) |
108 // On X11, the mapping between NativeViewId and X window ids | 108 // On X11, the mapping between NativeViewId and X window ids |
109 // is known only to the browser. This message lets the plugin process | 109 // is known only to the browser. This message lets the plugin process |
110 // ask about a NativeViewId that was provided by the renderer. | 110 // ask about a NativeViewId that was provided by the renderer. |
111 // It will get 0 back if it's a bogus input. | 111 // It will get 0 back if it's a bogus input. |
112 IPC_SYNC_MESSAGE_CONTROL1_1(PluginProcessHostMsg_MapNativeViewId, | 112 IPC_SYNC_MESSAGE_CONTROL1_1(PluginProcessHostMsg_MapNativeViewId, |
113 gfx::NativeViewId /* input: native view id */, | 113 gfx::NativeViewId /* input: native view id */, |
114 gfx::PluginWindowHandle /* output: X window id */) | 114 gfx::PluginWindowHandle /* output: X window id */) |
(...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
471 IPC_SYNC_MESSAGE_ROUTED1_2(NPObjectMsg_Construct, | 471 IPC_SYNC_MESSAGE_ROUTED1_2(NPObjectMsg_Construct, |
472 std::vector<NPVariant_Param> /* args */, | 472 std::vector<NPVariant_Param> /* args */, |
473 NPVariant_Param /* result_param */, | 473 NPVariant_Param /* result_param */, |
474 bool /* result */) | 474 bool /* result */) |
475 | 475 |
476 IPC_SYNC_MESSAGE_ROUTED2_2(NPObjectMsg_Evaluate, | 476 IPC_SYNC_MESSAGE_ROUTED2_2(NPObjectMsg_Evaluate, |
477 std::string /* script */, | 477 std::string /* script */, |
478 bool /* popups_allowed */, | 478 bool /* popups_allowed */, |
479 NPVariant_Param /* result_param */, | 479 NPVariant_Param /* result_param */, |
480 bool /* result */) | 480 bool /* result */) |
OLD | NEW |