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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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_CONTROL2(PluginProcessHostMsg_DownloadUrl, | 101 IPC_MESSAGE_CONTROL2(PluginProcessHostMsg_DownloadUrl, |
102 std::string /* URL */, | 102 std::string /* URL */, |
103 HWND /* caller window */) | 103 HWND /* caller window */) |
| 104 |
| 105 IPC_MESSAGE_CONTROL2(PluginProcessHostMsg_ReparentPluginWindow, |
| 106 HWND /* window */, |
| 107 HWND /* parent */) |
104 #endif | 108 #endif |
105 | 109 |
106 #if defined(USE_X11) | 110 #if defined(USE_X11) |
107 // On X11, the mapping between NativeViewId and X window ids | 111 // On X11, the mapping between NativeViewId and X window ids |
108 // is known only to the browser. This message lets the plugin process | 112 // is known only to the browser. This message lets the plugin process |
109 // ask about a NativeViewId that was provided by the renderer. | 113 // ask about a NativeViewId that was provided by the renderer. |
110 // It will get 0 back if it's a bogus input. | 114 // It will get 0 back if it's a bogus input. |
111 IPC_SYNC_MESSAGE_CONTROL1_1(PluginProcessHostMsg_MapNativeViewId, | 115 IPC_SYNC_MESSAGE_CONTROL1_1(PluginProcessHostMsg_MapNativeViewId, |
112 gfx::NativeViewId /* input: native view id */, | 116 gfx::NativeViewId /* input: native view id */, |
113 gfx::PluginWindowHandle /* output: X window id */) | 117 gfx::PluginWindowHandle /* output: X window id */) |
(...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
470 IPC_SYNC_MESSAGE_ROUTED1_2(NPObjectMsg_Construct, | 474 IPC_SYNC_MESSAGE_ROUTED1_2(NPObjectMsg_Construct, |
471 std::vector<NPVariant_Param> /* args */, | 475 std::vector<NPVariant_Param> /* args */, |
472 NPVariant_Param /* result_param */, | 476 NPVariant_Param /* result_param */, |
473 bool /* result */) | 477 bool /* result */) |
474 | 478 |
475 IPC_SYNC_MESSAGE_ROUTED2_2(NPObjectMsg_Evaluate, | 479 IPC_SYNC_MESSAGE_ROUTED2_2(NPObjectMsg_Evaluate, |
476 std::string /* script */, | 480 std::string /* script */, |
477 bool /* popups_allowed */, | 481 bool /* popups_allowed */, |
478 NPVariant_Param /* result_param */, | 482 NPVariant_Param /* result_param */, |
479 bool /* result */) | 483 bool /* result */) |
OLD | NEW |