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