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 981 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
992 IPC_MESSAGE_ROUTED2(FrameMsg_CopyImageAt, | 992 IPC_MESSAGE_ROUTED2(FrameMsg_CopyImageAt, |
993 int /* x */, | 993 int /* x */, |
994 int /* y */) | 994 int /* y */) |
995 | 995 |
996 // Saves the image at location x, y to the disk (if there indeed is an | 996 // Saves the image at location x, y to the disk (if there indeed is an |
997 // image at that location). | 997 // image at that location). |
998 IPC_MESSAGE_ROUTED2(FrameMsg_SaveImageAt, | 998 IPC_MESSAGE_ROUTED2(FrameMsg_SaveImageAt, |
999 int /* x */, | 999 int /* x */, |
1000 int /* y */) | 1000 int /* y */) |
1001 | 1001 |
| 1002 // Notify the renderer of our overlay routing token. |
| 1003 IPC_MESSAGE_ROUTED1(FrameMsg_SetOverlayRoutingToken, |
| 1004 base::UnguessableToken /* routing_token */) |
| 1005 |
1002 #if BUILDFLAG(ENABLE_PLUGINS) | 1006 #if BUILDFLAG(ENABLE_PLUGINS) |
1003 // Notifies the renderer of updates to the Plugin Power Saver origin whitelist. | 1007 // Notifies the renderer of updates to the Plugin Power Saver origin whitelist. |
1004 IPC_MESSAGE_ROUTED1(FrameMsg_UpdatePluginContentOriginWhitelist, | 1008 IPC_MESSAGE_ROUTED1(FrameMsg_UpdatePluginContentOriginWhitelist, |
1005 std::set<url::Origin> /* origin_whitelist */) | 1009 std::set<url::Origin> /* origin_whitelist */) |
1006 | 1010 |
1007 // This message notifies that the frame that the volume of the Pepper instance | 1011 // This message notifies that the frame that the volume of the Pepper instance |
1008 // for |pp_instance| should be changed to |volume|. | 1012 // for |pp_instance| should be changed to |volume|. |
1009 IPC_MESSAGE_ROUTED2(FrameMsg_SetPepperVolume, | 1013 IPC_MESSAGE_ROUTED2(FrameMsg_SetPepperVolume, |
1010 int32_t /* pp_instance */, | 1014 int32_t /* pp_instance */, |
1011 double /* volume */) | 1015 double /* volume */) |
(...skipping 605 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1617 IPC_MESSAGE_ROUTED5(FrameHostMsg_Find_Reply, | 1621 IPC_MESSAGE_ROUTED5(FrameHostMsg_Find_Reply, |
1618 int /* request_id */, | 1622 int /* request_id */, |
1619 int /* number of matches */, | 1623 int /* number of matches */, |
1620 gfx::Rect /* selection_rect */, | 1624 gfx::Rect /* selection_rect */, |
1621 int /* active_match_ordinal */, | 1625 int /* active_match_ordinal */, |
1622 bool /* final_update */) | 1626 bool /* final_update */) |
1623 | 1627 |
1624 // Sends hittesting data needed to perform hittesting on the browser process. | 1628 // Sends hittesting data needed to perform hittesting on the browser process. |
1625 IPC_MESSAGE_ROUTED1(FrameHostMsg_HittestData, FrameHostMsg_HittestData_Params) | 1629 IPC_MESSAGE_ROUTED1(FrameHostMsg_HittestData, FrameHostMsg_HittestData_Params) |
1626 | 1630 |
| 1631 // Request that the host send its overlay routing token for this render frame |
| 1632 // via SetOverlayRoutingToken. |
| 1633 IPC_MESSAGE_ROUTED0(FrameHostMsg_RequestOverlayRoutingToken) |
| 1634 |
1627 // Asks the browser to display the file chooser. The result is returned in a | 1635 // Asks the browser to display the file chooser. The result is returned in a |
1628 // FrameMsg_RunFileChooserResponse message. | 1636 // FrameMsg_RunFileChooserResponse message. |
1629 IPC_MESSAGE_ROUTED1(FrameHostMsg_RunFileChooser, content::FileChooserParams) | 1637 IPC_MESSAGE_ROUTED1(FrameHostMsg_RunFileChooser, content::FileChooserParams) |
1630 | 1638 |
1631 #if BUILDFLAG(USE_EXTERNAL_POPUP_MENU) | 1639 #if BUILDFLAG(USE_EXTERNAL_POPUP_MENU) |
1632 | 1640 |
1633 // Message to show/hide a popup menu using native controls. | 1641 // Message to show/hide a popup menu using native controls. |
1634 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, | 1642 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, |
1635 FrameHostMsg_ShowPopup_Params) | 1643 FrameHostMsg_ShowPopup_Params) |
1636 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) | 1644 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) |
(...skipping 27 matching lines...) Expand all Loading... |
1664 int /* nfr_request_id */, | 1672 int /* nfr_request_id */, |
1665 float /* distance */) | 1673 float /* distance */) |
1666 | 1674 |
1667 IPC_MESSAGE_ROUTED0(FrameHostMsg_NavigationHandledByEmbedder) | 1675 IPC_MESSAGE_ROUTED0(FrameHostMsg_NavigationHandledByEmbedder) |
1668 #endif | 1676 #endif |
1669 | 1677 |
1670 // Adding a new message? Stick to the sort order above: first platform | 1678 // Adding a new message? Stick to the sort order above: first platform |
1671 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then | 1679 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then |
1672 // platform independent FrameHostMsg, then ifdefs for platform specific | 1680 // platform independent FrameHostMsg, then ifdefs for platform specific |
1673 // FrameHostMsg. | 1681 // FrameHostMsg. |
OLD | NEW |