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