OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/content_export.h" | 8 #include "content/common/content_export.h" |
9 #include "content/common/content_param_traits.h" | 9 #include "content/common/content_param_traits.h" |
10 #include "content/public/common/common_param_traits.h" | 10 #include "content/public/common/common_param_traits.h" |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 // These are messages sent from the plugin process to the browser process. | 85 // These are messages sent from the plugin process to the browser process. |
86 // Response to a PluginProcessMsg_CreateChannel message. | 86 // Response to a PluginProcessMsg_CreateChannel message. |
87 IPC_MESSAGE_CONTROL1(PluginProcessHostMsg_ChannelCreated, | 87 IPC_MESSAGE_CONTROL1(PluginProcessHostMsg_ChannelCreated, |
88 IPC::ChannelHandle /* channel_handle */) | 88 IPC::ChannelHandle /* channel_handle */) |
89 | 89 |
90 #if defined(OS_WIN) | 90 #if defined(OS_WIN) |
91 // Destroys the given window's parent on the UI thread. | 91 // Destroys the given window's parent on the UI thread. |
92 IPC_MESSAGE_CONTROL2(PluginProcessHostMsg_PluginWindowDestroyed, | 92 IPC_MESSAGE_CONTROL2(PluginProcessHostMsg_PluginWindowDestroyed, |
93 HWND /* window */, | 93 HWND /* window */, |
94 HWND /* parent */) | 94 HWND /* parent */) |
95 | |
96 IPC_MESSAGE_CONTROL2(PluginProcessHostMsg_ReparentPluginWindow, | |
97 HWND /* window */, | |
98 HWND /* parent */) | |
99 | |
100 IPC_MESSAGE_CONTROL1(PluginProcessHostMsg_ReportExecutableMemory, | |
101 uint32_t /* size */) | |
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. |
109 IPC_SYNC_MESSAGE_CONTROL1_1(PluginProcessHostMsg_MapNativeViewId, | 102 IPC_SYNC_MESSAGE_CONTROL1_1(PluginProcessHostMsg_MapNativeViewId, |
110 gfx::NativeViewId /* input: native view id */, | 103 gfx::NativeViewId /* input: native view id */, |
111 gfx::PluginWindowHandle /* output: X window id */) | 104 gfx::PluginWindowHandle /* output: X window id */) |
(...skipping 404 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
516 IPC_SYNC_MESSAGE_ROUTED1_2(NPObjectMsg_Construct, | 509 IPC_SYNC_MESSAGE_ROUTED1_2(NPObjectMsg_Construct, |
517 std::vector<NPVariant_Param> /* args */, | 510 std::vector<NPVariant_Param> /* args */, |
518 NPVariant_Param /* result_param */, | 511 NPVariant_Param /* result_param */, |
519 bool /* result */) | 512 bool /* result */) |
520 | 513 |
521 IPC_SYNC_MESSAGE_ROUTED2_2(NPObjectMsg_Evaluate, | 514 IPC_SYNC_MESSAGE_ROUTED2_2(NPObjectMsg_Evaluate, |
522 std::string /* script */, | 515 std::string /* script */, |
523 bool /* popups_allowed */, | 516 bool /* popups_allowed */, |
524 NPVariant_Param /* result_param */, | 517 NPVariant_Param /* result_param */, |
525 bool /* result */) | 518 bool /* result */) |
OLD | NEW |