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 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
145 // The WebPluginDelegateProxy sends this to the WebPluginDelegateStub in its | 145 // The WebPluginDelegateProxy sends this to the WebPluginDelegateStub in its |
146 // destructor, so that the stub deletes the actual WebPluginDelegateImpl | 146 // destructor, so that the stub deletes the actual WebPluginDelegateImpl |
147 // object that it's hosting. | 147 // object that it's hosting. |
148 IPC_SYNC_MESSAGE_CONTROL1_0(PluginMsg_DestroyInstance, | 148 IPC_SYNC_MESSAGE_CONTROL1_0(PluginMsg_DestroyInstance, |
149 int /* instance_id */) | 149 int /* instance_id */) |
150 | 150 |
151 IPC_SYNC_MESSAGE_CONTROL0_1(PluginMsg_GenerateRouteID, | 151 IPC_SYNC_MESSAGE_CONTROL0_1(PluginMsg_GenerateRouteID, |
152 int /* id */) | 152 int /* id */) |
153 | 153 |
154 // The messages below all map to WebPluginDelegate methods. | 154 // The messages below all map to WebPluginDelegate methods. |
155 IPC_SYNC_MESSAGE_ROUTED1_1(PluginMsg_Init, | 155 IPC_SYNC_MESSAGE_ROUTED1_2(PluginMsg_Init, |
156 PluginMsg_Init_Params, | 156 PluginMsg_Init_Params, |
| 157 bool /* transparent */, |
157 bool /* result */) | 158 bool /* result */) |
158 | 159 |
159 // Used to synchronously request a paint for windowless plugins. | 160 // Used to synchronously request a paint for windowless plugins. |
160 IPC_SYNC_MESSAGE_ROUTED1_0(PluginMsg_Paint, | 161 IPC_SYNC_MESSAGE_ROUTED1_0(PluginMsg_Paint, |
161 gfx::Rect /* damaged_rect */) | 162 gfx::Rect /* damaged_rect */) |
162 | 163 |
163 // Sent by the renderer after it paints from its backing store so that the | 164 // Sent by the renderer after it paints from its backing store so that the |
164 // plugin knows it can send more invalidates. | 165 // plugin knows it can send more invalidates. |
165 IPC_MESSAGE_ROUTED0(PluginMsg_DidPaint) | 166 IPC_MESSAGE_ROUTED0(PluginMsg_DidPaint) |
166 | 167 |
(...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
507 IPC_SYNC_MESSAGE_ROUTED1_2(NPObjectMsg_Construct, | 508 IPC_SYNC_MESSAGE_ROUTED1_2(NPObjectMsg_Construct, |
508 std::vector<content::NPVariant_Param> /* args */, | 509 std::vector<content::NPVariant_Param> /* args */, |
509 content::NPVariant_Param /* result_param */, | 510 content::NPVariant_Param /* result_param */, |
510 bool /* result */) | 511 bool /* result */) |
511 | 512 |
512 IPC_SYNC_MESSAGE_ROUTED2_2(NPObjectMsg_Evaluate, | 513 IPC_SYNC_MESSAGE_ROUTED2_2(NPObjectMsg_Evaluate, |
513 std::string /* script */, | 514 std::string /* script */, |
514 bool /* popups_allowed */, | 515 bool /* popups_allowed */, |
515 content::NPVariant_Param /* result_param */, | 516 content::NPVariant_Param /* result_param */, |
516 bool /* result */) | 517 bool /* result */) |
OLD | NEW |