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 1209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1220 // Notification sent from a renderer to the browser that a Pepper plugin | 1220 // Notification sent from a renderer to the browser that a Pepper plugin |
1221 // instance has started playback. | 1221 // instance has started playback. |
1222 IPC_MESSAGE_ROUTED1(FrameHostMsg_PepperStartsPlayback, | 1222 IPC_MESSAGE_ROUTED1(FrameHostMsg_PepperStartsPlayback, |
1223 int32_t /* pp_instance */) | 1223 int32_t /* pp_instance */) |
1224 | 1224 |
1225 // Notification sent from a renderer to the browser that a Pepper plugin | 1225 // Notification sent from a renderer to the browser that a Pepper plugin |
1226 // instance has stopped playback. | 1226 // instance has stopped playback. |
1227 IPC_MESSAGE_ROUTED1(FrameHostMsg_PepperStopsPlayback, | 1227 IPC_MESSAGE_ROUTED1(FrameHostMsg_PepperStopsPlayback, |
1228 int32_t /* pp_instance */) | 1228 int32_t /* pp_instance */) |
1229 | 1229 |
1230 // Used to get the list of plugins | 1230 // Used to get the list of plugins. |main_frame_origin| is used to handle |
1231 IPC_SYNC_MESSAGE_CONTROL1_1(FrameHostMsg_GetPlugins, | 1231 // exceptions for plugin content settings. |
1232 bool /* refresh*/, | 1232 IPC_SYNC_MESSAGE_CONTROL2_1(FrameHostMsg_GetPlugins, |
1233 std::vector<content::WebPluginInfo> /* plugins */) | 1233 bool /* refresh*/, |
| 1234 url::Origin /* main_frame_origin */, |
| 1235 std::vector<content::WebPluginInfo> /* plugins */) |
1234 | 1236 |
1235 // Return information about a plugin for the given URL and MIME | 1237 // Return information about a plugin for the given URL and MIME |
1236 // type. If there is no matching plugin, |found| is false. | 1238 // type. If there is no matching plugin, |found| is false. |
1237 // |actual_mime_type| is the actual mime type supported by the | 1239 // |actual_mime_type| is the actual mime type supported by the |
1238 // found plugin. | 1240 // found plugin. |
1239 IPC_SYNC_MESSAGE_CONTROL4_3(FrameHostMsg_GetPluginInfo, | 1241 IPC_SYNC_MESSAGE_CONTROL4_3(FrameHostMsg_GetPluginInfo, |
1240 int /* render_frame_id */, | 1242 int /* render_frame_id */, |
1241 GURL /* url */, | 1243 GURL /* url */, |
1242 GURL /* page_url */, | 1244 GURL /* page_url */, |
1243 std::string /* mime_type */, | 1245 std::string /* mime_type */, |
(...skipping 326 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1570 // nearest find result in the sending frame. | 1572 // nearest find result in the sending frame. |
1571 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, | 1573 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, |
1572 int /* nfr_request_id */, | 1574 int /* nfr_request_id */, |
1573 float /* distance */) | 1575 float /* distance */) |
1574 #endif | 1576 #endif |
1575 | 1577 |
1576 // Adding a new message? Stick to the sort order above: first platform | 1578 // Adding a new message? Stick to the sort order above: first platform |
1577 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then | 1579 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then |
1578 // platform independent FrameHostMsg, then ifdefs for platform specific | 1580 // platform independent FrameHostMsg, then ifdefs for platform specific |
1579 // FrameHostMsg. | 1581 // FrameHostMsg. |
OLD | NEW |