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 797 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
808 IPC_MESSAGE_ROUTED2(FrameMsg_ExtractSmartClipData, | 808 IPC_MESSAGE_ROUTED2(FrameMsg_ExtractSmartClipData, |
809 uint32_t /* id */, | 809 uint32_t /* id */, |
810 gfx::Rect /* rect */) | 810 gfx::Rect /* rect */) |
811 | 811 |
812 // Change the accessibility mode in the renderer process. | 812 // Change the accessibility mode in the renderer process. |
813 IPC_MESSAGE_ROUTED1(FrameMsg_SetAccessibilityMode, content::AccessibilityMode) | 813 IPC_MESSAGE_ROUTED1(FrameMsg_SetAccessibilityMode, content::AccessibilityMode) |
814 | 814 |
815 // Dispatch a load event in the iframe element containing this frame. | 815 // Dispatch a load event in the iframe element containing this frame. |
816 IPC_MESSAGE_ROUTED0(FrameMsg_DispatchLoad) | 816 IPC_MESSAGE_ROUTED0(FrameMsg_DispatchLoad) |
817 | 817 |
| 818 // Sent to a subframe to control whether to collapse its the frame owner element |
| 819 // in the embedder document, that is, to remove it from the layout as if it did |
| 820 // not exist. |
| 821 IPC_MESSAGE_ROUTED1(FrameMsg_Collapse, bool /* collapsed */) |
| 822 |
818 // Notifies the frame that its parent has changed the frame's sandbox flags or | 823 // Notifies the frame that its parent has changed the frame's sandbox flags or |
819 // container policy. | 824 // container policy. |
820 IPC_MESSAGE_ROUTED2(FrameMsg_DidUpdateFramePolicy, | 825 IPC_MESSAGE_ROUTED2(FrameMsg_DidUpdateFramePolicy, |
821 blink::WebSandboxFlags, | 826 blink::WebSandboxFlags, |
822 content::ParsedFeaturePolicyHeader) | 827 content::ParsedFeaturePolicyHeader) |
823 | 828 |
824 // Update a proxy's window.name property. Used when the frame's name is | 829 // Update a proxy's window.name property. Used when the frame's name is |
825 // changed in another process. | 830 // changed in another process. |
826 IPC_MESSAGE_ROUTED2(FrameMsg_DidUpdateName, | 831 IPC_MESSAGE_ROUTED2(FrameMsg_DidUpdateName, |
827 std::string /* name */, | 832 std::string /* name */, |
(...skipping 828 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1656 int /* nfr_request_id */, | 1661 int /* nfr_request_id */, |
1657 float /* distance */) | 1662 float /* distance */) |
1658 | 1663 |
1659 IPC_MESSAGE_ROUTED0(FrameHostMsg_NavigationHandledByEmbedder) | 1664 IPC_MESSAGE_ROUTED0(FrameHostMsg_NavigationHandledByEmbedder) |
1660 #endif | 1665 #endif |
1661 | 1666 |
1662 // Adding a new message? Stick to the sort order above: first platform | 1667 // Adding a new message? Stick to the sort order above: first platform |
1663 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then | 1668 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then |
1664 // platform independent FrameHostMsg, then ifdefs for platform specific | 1669 // platform independent FrameHostMsg, then ifdefs for platform specific |
1665 // FrameHostMsg. | 1670 // FrameHostMsg. |
OLD | NEW |