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 1216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1227 url::Origin /* main_frame_origin */, | 1227 url::Origin /* main_frame_origin */, |
1228 std::vector<content::WebPluginInfo> /* plugins */) | 1228 std::vector<content::WebPluginInfo> /* plugins */) |
1229 | 1229 |
1230 // Return information about a plugin for the given URL and MIME | 1230 // Return information about a plugin for the given URL and MIME |
1231 // type. If there is no matching plugin, |found| is false. | 1231 // type. If there is no matching plugin, |found| is false. |
1232 // |actual_mime_type| is the actual mime type supported by the | 1232 // |actual_mime_type| is the actual mime type supported by the |
1233 // found plugin. | 1233 // found plugin. |
1234 IPC_SYNC_MESSAGE_CONTROL4_3(FrameHostMsg_GetPluginInfo, | 1234 IPC_SYNC_MESSAGE_CONTROL4_3(FrameHostMsg_GetPluginInfo, |
1235 int /* render_frame_id */, | 1235 int /* render_frame_id */, |
1236 GURL /* url */, | 1236 GURL /* url */, |
1237 GURL /* page_url */, | 1237 url::Origin /* main_frame_origin */, |
1238 std::string /* mime_type */, | 1238 std::string /* mime_type */, |
1239 bool /* found */, | 1239 bool /* found */, |
1240 content::WebPluginInfo /* plugin info */, | 1240 content::WebPluginInfo /* plugin info */, |
1241 std::string /* actual_mime_type */) | 1241 std::string /* actual_mime_type */) |
1242 | 1242 |
1243 // A renderer sends this to the browser process when it wants to temporarily | 1243 // A renderer sends this to the browser process when it wants to temporarily |
1244 // whitelist an origin's plugin content as essential. This temporary whitelist | 1244 // whitelist an origin's plugin content as essential. This temporary whitelist |
1245 // is specific to a top level frame, and is cleared when the whitelisting | 1245 // is specific to a top level frame, and is cleared when the whitelisting |
1246 // RenderFrame is destroyed. | 1246 // RenderFrame is destroyed. |
1247 IPC_MESSAGE_ROUTED1(FrameHostMsg_PluginContentOriginAllowed, | 1247 IPC_MESSAGE_ROUTED1(FrameHostMsg_PluginContentOriginAllowed, |
(...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1566 // nearest find result in the sending frame. | 1566 // nearest find result in the sending frame. |
1567 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, | 1567 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, |
1568 int /* nfr_request_id */, | 1568 int /* nfr_request_id */, |
1569 float /* distance */) | 1569 float /* distance */) |
1570 #endif | 1570 #endif |
1571 | 1571 |
1572 // Adding a new message? Stick to the sort order above: first platform | 1572 // Adding a new message? Stick to the sort order above: first platform |
1573 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then | 1573 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then |
1574 // platform independent FrameHostMsg, then ifdefs for platform specific | 1574 // platform independent FrameHostMsg, then ifdefs for platform specific |
1575 // FrameHostMsg. | 1575 // FrameHostMsg. |
OLD | NEW |