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 1597 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1608 int /* active_match_ordinal */, | 1608 int /* active_match_ordinal */, |
1609 bool /* final_update */) | 1609 bool /* final_update */) |
1610 | 1610 |
1611 // Sends hittesting data needed to perform hittesting on the browser process. | 1611 // Sends hittesting data needed to perform hittesting on the browser process. |
1612 IPC_MESSAGE_ROUTED1(FrameHostMsg_HittestData, FrameHostMsg_HittestData_Params) | 1612 IPC_MESSAGE_ROUTED1(FrameHostMsg_HittestData, FrameHostMsg_HittestData_Params) |
1613 | 1613 |
1614 // Asks the browser to display the file chooser. The result is returned in a | 1614 // Asks the browser to display the file chooser. The result is returned in a |
1615 // FrameMsg_RunFileChooserResponse message. | 1615 // FrameMsg_RunFileChooserResponse message. |
1616 IPC_MESSAGE_ROUTED1(FrameHostMsg_RunFileChooser, content::FileChooserParams) | 1616 IPC_MESSAGE_ROUTED1(FrameHostMsg_RunFileChooser, content::FileChooserParams) |
1617 | 1617 |
1618 // Messages to signal the presence or absence of BeforeUnload or Unload handlers | |
1619 // for a frame. |present| is true if there is at least one of the handlers for | |
1620 // the frame. | |
1621 IPC_MESSAGE_ROUTED1(FrameHostMsg_BeforeUnloadHandlersPresent, | |
1622 bool /* present */) | |
1623 IPC_MESSAGE_ROUTED1(FrameHostMsg_UnloadHandlersPresent, bool /* present */) | |
1624 | |
1625 #if BUILDFLAG(USE_EXTERNAL_POPUP_MENU) | 1618 #if BUILDFLAG(USE_EXTERNAL_POPUP_MENU) |
1626 | 1619 |
1627 // Message to show/hide a popup menu using native controls. | 1620 // Message to show/hide a popup menu using native controls. |
1628 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, | 1621 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, |
1629 FrameHostMsg_ShowPopup_Params) | 1622 FrameHostMsg_ShowPopup_Params) |
1630 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) | 1623 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) |
1631 | 1624 |
1632 #endif | 1625 #endif |
1633 | 1626 |
1634 #if defined(OS_ANDROID) | 1627 #if defined(OS_ANDROID) |
(...skipping 23 matching lines...) Expand all Loading... |
1658 int /* nfr_request_id */, | 1651 int /* nfr_request_id */, |
1659 float /* distance */) | 1652 float /* distance */) |
1660 | 1653 |
1661 IPC_MESSAGE_ROUTED0(FrameHostMsg_NavigationHandledByEmbedder) | 1654 IPC_MESSAGE_ROUTED0(FrameHostMsg_NavigationHandledByEmbedder) |
1662 #endif | 1655 #endif |
1663 | 1656 |
1664 // Adding a new message? Stick to the sort order above: first platform | 1657 // Adding a new message? Stick to the sort order above: first platform |
1665 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then | 1658 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then |
1666 // platform independent FrameHostMsg, then ifdefs for platform specific | 1659 // platform independent FrameHostMsg, then ifdefs for platform specific |
1667 // FrameHostMsg. | 1660 // FrameHostMsg. |
OLD | NEW |