| 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 <stddef.h> |     8 #include <stddef.h> | 
|     9 #include <stdint.h> |     9 #include <stdint.h> | 
|    10  |    10  | 
| (...skipping 1109 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  1120                             content::WebPluginInfo /* plugin info */, |  1120                             content::WebPluginInfo /* plugin info */, | 
|  1121                             std::string /* actual_mime_type */) |  1121                             std::string /* actual_mime_type */) | 
|  1122  |  1122  | 
|  1123 // A renderer sends this to the browser process when it wants to temporarily |  1123 // A renderer sends this to the browser process when it wants to temporarily | 
|  1124 // whitelist an origin's plugin content as essential. This temporary whitelist |  1124 // whitelist an origin's plugin content as essential. This temporary whitelist | 
|  1125 // is specific to a top level frame, and is cleared when the whitelisting |  1125 // is specific to a top level frame, and is cleared when the whitelisting | 
|  1126 // RenderFrame is destroyed. |  1126 // RenderFrame is destroyed. | 
|  1127 IPC_MESSAGE_ROUTED1(FrameHostMsg_PluginContentOriginAllowed, |  1127 IPC_MESSAGE_ROUTED1(FrameHostMsg_PluginContentOriginAllowed, | 
|  1128                     url::Origin /* content_origin */) |  1128                     url::Origin /* content_origin */) | 
|  1129  |  1129  | 
|  1130 // A renderer sends this to the browser process when it wants to |  | 
|  1131 // create a plugin.  The browser will create the plugin process if |  | 
|  1132 // necessary, and will return a handle to the channel on success. |  | 
|  1133 // On error an empty string is returned. |  | 
|  1134 IPC_SYNC_MESSAGE_CONTROL4_2(FrameHostMsg_OpenChannelToPlugin, |  | 
|  1135                             int /* render_frame_id */, |  | 
|  1136                             GURL /* url */, |  | 
|  1137                             GURL /* page_url */, |  | 
|  1138                             std::string /* mime_type */, |  | 
|  1139                             IPC::ChannelHandle /* channel_handle */, |  | 
|  1140                             content::WebPluginInfo /* info */) |  | 
|  1141  |  | 
|  1142 // A renderer sends this to the browser process when it wants to create a ppapi |  1130 // A renderer sends this to the browser process when it wants to create a ppapi | 
|  1143 // plugin.  The browser will create the plugin process if necessary, and will |  1131 // plugin.  The browser will create the plugin process if necessary, and will | 
|  1144 // return a handle to the channel on success. |  1132 // return a handle to the channel on success. | 
|  1145 // |  1133 // | 
|  1146 // The plugin_child_id is the ChildProcessHost ID assigned in the browser |  1134 // The plugin_child_id is the ChildProcessHost ID assigned in the browser | 
|  1147 // process. This ID is valid only in the context of the browser process and is |  1135 // process. This ID is valid only in the context of the browser process and is | 
|  1148 // used to identify the proper process when the renderer notifies it that the |  1136 // used to identify the proper process when the renderer notifies it that the | 
|  1149 // plugin is hung. |  1137 // plugin is hung. | 
|  1150 // |  1138 // | 
|  1151 // On error an empty string and null handles are returned. |  1139 // On error an empty string and null handles are returned. | 
| (...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  1458 IPC_MESSAGE_ROUTED3(FrameHostMsg_FindMatchRects_Reply, |  1446 IPC_MESSAGE_ROUTED3(FrameHostMsg_FindMatchRects_Reply, | 
|  1459                     int /* version */, |  1447                     int /* version */, | 
|  1460                     std::vector<gfx::RectF> /* rects */, |  1448                     std::vector<gfx::RectF> /* rects */, | 
|  1461                     gfx::RectF /* active_rect */) |  1449                     gfx::RectF /* active_rect */) | 
|  1462 #endif |  1450 #endif | 
|  1463  |  1451  | 
|  1464 // Adding a new message? Stick to the sort order above: first platform |  1452 // Adding a new message? Stick to the sort order above: first platform | 
|  1465 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then |  1453 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then | 
|  1466 // platform independent FrameHostMsg, then ifdefs for platform specific |  1454 // platform independent FrameHostMsg, then ifdefs for platform specific | 
|  1467 // FrameHostMsg. |  1455 // FrameHostMsg. | 
| OLD | NEW |