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 1151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1162 url::Origin /* main_frame_origin */, | 1162 url::Origin /* main_frame_origin */, |
1163 std::vector<content::WebPluginInfo> /* plugins */) | 1163 std::vector<content::WebPluginInfo> /* plugins */) |
1164 | 1164 |
1165 // Return information about a plugin for the given URL and MIME | 1165 // Return information about a plugin for the given URL and MIME |
1166 // type. If there is no matching plugin, |found| is false. | 1166 // type. If there is no matching plugin, |found| is false. |
1167 // |actual_mime_type| is the actual mime type supported by the | 1167 // |actual_mime_type| is the actual mime type supported by the |
1168 // found plugin. | 1168 // found plugin. |
1169 IPC_SYNC_MESSAGE_CONTROL4_3(FrameHostMsg_GetPluginInfo, | 1169 IPC_SYNC_MESSAGE_CONTROL4_3(FrameHostMsg_GetPluginInfo, |
1170 int /* render_frame_id */, | 1170 int /* render_frame_id */, |
1171 GURL /* url */, | 1171 GURL /* url */, |
1172 GURL /* page_url */, | 1172 url::Origin /* main_frame_origin */, |
1173 std::string /* mime_type */, | 1173 std::string /* mime_type */, |
1174 bool /* found */, | 1174 bool /* found */, |
1175 content::WebPluginInfo /* plugin info */, | 1175 content::WebPluginInfo /* plugin info */, |
1176 std::string /* actual_mime_type */) | 1176 std::string /* actual_mime_type */) |
1177 | 1177 |
1178 // A renderer sends this to the browser process when it wants to temporarily | 1178 // A renderer sends this to the browser process when it wants to temporarily |
1179 // whitelist an origin's plugin content as essential. This temporary whitelist | 1179 // whitelist an origin's plugin content as essential. This temporary whitelist |
1180 // is specific to a top level frame, and is cleared when the whitelisting | 1180 // is specific to a top level frame, and is cleared when the whitelisting |
1181 // RenderFrame is destroyed. | 1181 // RenderFrame is destroyed. |
1182 IPC_MESSAGE_ROUTED1(FrameHostMsg_PluginContentOriginAllowed, | 1182 IPC_MESSAGE_ROUTED1(FrameHostMsg_PluginContentOriginAllowed, |
(...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1501 // nearest find result in the sending frame. | 1501 // nearest find result in the sending frame. |
1502 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, | 1502 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, |
1503 int /* nfr_request_id */, | 1503 int /* nfr_request_id */, |
1504 float /* distance */) | 1504 float /* distance */) |
1505 #endif | 1505 #endif |
1506 | 1506 |
1507 // Adding a new message? Stick to the sort order above: first platform | 1507 // Adding a new message? Stick to the sort order above: first platform |
1508 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then | 1508 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then |
1509 // platform independent FrameHostMsg, then ifdefs for platform specific | 1509 // platform independent FrameHostMsg, then ifdefs for platform specific |
1510 // FrameHostMsg. | 1510 // FrameHostMsg. |
OLD | NEW |