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