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 // IPC messages for interacting with frames. | 5 // IPC messages for interacting with frames. |
6 // Multiply-included message file, hence no include guard. | 6 // Multiply-included message file, hence no include guard. |
7 | 7 |
8 #include "content/common/content_export.h" | 8 #include "content/common/content_export.h" |
9 #include "content/public/common/common_param_traits.h" | 9 #include "content/public/common/common_param_traits.h" |
10 #include "ipc/ipc_message_macros.h" | 10 #include "ipc/ipc_message_macros.h" |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 GURL /* url */) | 44 GURL /* url */) |
45 | 45 |
46 // Sent to the browser when the renderer detects it is blocked on a pepper | 46 // Sent to the browser when the renderer detects it is blocked on a pepper |
47 // plugin message for too long. This is also sent when it becomes unhung | 47 // plugin message for too long. This is also sent when it becomes unhung |
48 // (according to the value of is_hung). The browser can give the user the | 48 // (according to the value of is_hung). The browser can give the user the |
49 // option of killing the plugin. | 49 // option of killing the plugin. |
50 IPC_MESSAGE_ROUTED3(FrameHostMsg_PepperPluginHung, | 50 IPC_MESSAGE_ROUTED3(FrameHostMsg_PepperPluginHung, |
51 int /* plugin_child_id */, | 51 int /* plugin_child_id */, |
52 base::FilePath /* path */, | 52 base::FilePath /* path */, |
53 bool /* is_hung */) | 53 bool /* is_hung */) |
| 54 |
| 55 // Return information about a plugin for the given URL and MIME |
| 56 // type. If there is no matching plugin, |found| is false. |
| 57 // |actual_mime_type| is the actual mime type supported by the |
| 58 // found plugin. |
| 59 IPC_SYNC_MESSAGE_CONTROL4_3(FrameHostMsg_GetPluginInfo, |
| 60 int /* render_frame_id */, |
| 61 GURL /* url */, |
| 62 GURL /* page_url */, |
| 63 std::string /* mime_type */, |
| 64 bool /* found */, |
| 65 content::WebPluginInfo /* plugin info */, |
| 66 std::string /* actual_mime_type */) |
| 67 |
| 68 // A renderer sends this to the browser process when it wants to |
| 69 // create a plugin. The browser will create the plugin process if |
| 70 // necessary, and will return a handle to the channel on success. |
| 71 // On error an empty string is returned. |
| 72 IPC_SYNC_MESSAGE_CONTROL4_2(FrameHostMsg_OpenChannelToPlugin, |
| 73 int /* render_frame_id */, |
| 74 GURL /* url */, |
| 75 GURL /* page_url */, |
| 76 std::string /* mime_type */, |
| 77 IPC::ChannelHandle /* channel_handle */, |
| 78 content::WebPluginInfo /* info */) |
OLD | NEW |