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 803 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
814 IPC_MESSAGE_ROUTED2(FrameMsg_ExtractSmartClipData, | 814 IPC_MESSAGE_ROUTED2(FrameMsg_ExtractSmartClipData, |
815 uint32_t /* id */, | 815 uint32_t /* id */, |
816 gfx::Rect /* rect */) | 816 gfx::Rect /* rect */) |
817 | 817 |
818 // Change the accessibility mode in the renderer process. | 818 // Change the accessibility mode in the renderer process. |
819 IPC_MESSAGE_ROUTED1(FrameMsg_SetAccessibilityMode, content::AccessibilityMode) | 819 IPC_MESSAGE_ROUTED1(FrameMsg_SetAccessibilityMode, content::AccessibilityMode) |
820 | 820 |
821 // Dispatch a load event in the iframe element containing this frame. | 821 // Dispatch a load event in the iframe element containing this frame. |
822 IPC_MESSAGE_ROUTED0(FrameMsg_DispatchLoad) | 822 IPC_MESSAGE_ROUTED0(FrameMsg_DispatchLoad) |
823 | 823 |
| 824 // Sent to a subframe to control whether to collapse its the frame owner element |
| 825 // in the embedder document, that is, to remove it from the layout as if it did |
| 826 // not exist. |
| 827 IPC_MESSAGE_ROUTED1(FrameMsg_Collapse, bool /* collapsed */) |
| 828 |
824 // Notifies the frame that its parent has changed the frame's sandbox flags or | 829 // Notifies the frame that its parent has changed the frame's sandbox flags or |
825 // container policy. | 830 // container policy. |
826 IPC_MESSAGE_ROUTED2(FrameMsg_DidUpdateFramePolicy, | 831 IPC_MESSAGE_ROUTED2(FrameMsg_DidUpdateFramePolicy, |
827 blink::WebSandboxFlags, | 832 blink::WebSandboxFlags, |
828 content::ParsedFeaturePolicyHeader) | 833 content::ParsedFeaturePolicyHeader) |
829 | 834 |
830 // Update a proxy's window.name property. Used when the frame's name is | 835 // Update a proxy's window.name property. Used when the frame's name is |
831 // changed in another process. | 836 // changed in another process. |
832 IPC_MESSAGE_ROUTED2(FrameMsg_DidUpdateName, | 837 IPC_MESSAGE_ROUTED2(FrameMsg_DidUpdateName, |
833 std::string /* name */, | 838 std::string /* name */, |
(...skipping 842 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1676 int /* nfr_request_id */, | 1681 int /* nfr_request_id */, |
1677 float /* distance */) | 1682 float /* distance */) |
1678 | 1683 |
1679 IPC_MESSAGE_ROUTED0(FrameHostMsg_NavigationHandledByEmbedder) | 1684 IPC_MESSAGE_ROUTED0(FrameHostMsg_NavigationHandledByEmbedder) |
1680 #endif | 1685 #endif |
1681 | 1686 |
1682 // Adding a new message? Stick to the sort order above: first platform | 1687 // Adding a new message? Stick to the sort order above: first platform |
1683 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then | 1688 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then |
1684 // platform independent FrameHostMsg, then ifdefs for platform specific | 1689 // platform independent FrameHostMsg, then ifdefs for platform specific |
1685 // FrameHostMsg. | 1690 // FrameHostMsg. |
OLD | NEW |