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