OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 <stdint.h> | 7 #include <stdint.h> |
8 | 8 |
9 #include "build/build_config.h" | 9 #include "build/build_config.h" |
10 #include "content/child/plugin_param_traits.h" | 10 #include "content/child/plugin_param_traits.h" |
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
231 | 231 |
232 IPC_SYNC_MESSAGE_CONTROL1_0(PluginHostMsg_SetException, | 232 IPC_SYNC_MESSAGE_CONTROL1_0(PluginHostMsg_SetException, |
233 std::string /* message */) | 233 std::string /* message */) |
234 | 234 |
235 IPC_MESSAGE_CONTROL0(PluginHostMsg_PluginShuttingDown) | 235 IPC_MESSAGE_CONTROL0(PluginHostMsg_PluginShuttingDown) |
236 | 236 |
237 IPC_MESSAGE_ROUTED2(PluginHostMsg_URLRedirectResponse, | 237 IPC_MESSAGE_ROUTED2(PluginHostMsg_URLRedirectResponse, |
238 bool /* allow */, | 238 bool /* allow */, |
239 int /* resource_id */) | 239 int /* resource_id */) |
240 | 240 |
241 IPC_SYNC_MESSAGE_ROUTED1_1(PluginHostMsg_CheckIfRunInsecureContent, | |
242 GURL /* url */, | |
243 bool /* result */) | |
244 | |
245 #if defined(OS_WIN) | 241 #if defined(OS_WIN) |
246 // The modal_loop_pump_messages_event parameter is an event handle which is | 242 // The modal_loop_pump_messages_event parameter is an event handle which is |
247 // passed in for windowless plugins and is used to indicate if messages | 243 // passed in for windowless plugins and is used to indicate if messages |
248 // are to be pumped in sync calls to the plugin process. Currently used | 244 // are to be pumped in sync calls to the plugin process. Currently used |
249 // in HandleEvent calls. | 245 // in HandleEvent calls. |
250 IPC_SYNC_MESSAGE_ROUTED2_0(PluginHostMsg_SetWindowlessData, | 246 IPC_SYNC_MESSAGE_ROUTED2_0(PluginHostMsg_SetWindowlessData, |
251 HANDLE /* modal_loop_pump_messages_event */, | 247 HANDLE /* modal_loop_pump_messages_event */, |
252 gfx::NativeViewId /* dummy_activation_window*/) | 248 gfx::NativeViewId /* dummy_activation_window*/) |
253 | 249 |
254 // Send the IME status retrieved from a windowless plugin. A windowless plugin | 250 // Send the IME status retrieved from a windowless plugin. A windowless plugin |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
337 IPC_SYNC_MESSAGE_ROUTED1_2(NPObjectMsg_Construct, | 333 IPC_SYNC_MESSAGE_ROUTED1_2(NPObjectMsg_Construct, |
338 std::vector<content::NPVariant_Param> /* args */, | 334 std::vector<content::NPVariant_Param> /* args */, |
339 content::NPVariant_Param /* result_param */, | 335 content::NPVariant_Param /* result_param */, |
340 bool /* result */) | 336 bool /* result */) |
341 | 337 |
342 IPC_SYNC_MESSAGE_ROUTED2_2(NPObjectMsg_Evaluate, | 338 IPC_SYNC_MESSAGE_ROUTED2_2(NPObjectMsg_Evaluate, |
343 std::string /* script */, | 339 std::string /* script */, |
344 bool /* popups_allowed */, | 340 bool /* popups_allowed */, |
345 content::NPVariant_Param /* result_param */, | 341 content::NPVariant_Param /* result_param */, |
346 bool /* result */) | 342 bool /* result */) |
OLD | NEW |