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 739 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
750 // renderer. | 750 // renderer. |
751 IPC_MESSAGE_ROUTED1(FrameMsg_FocusedFormFieldDataRequest, int /* request_id */) | 751 IPC_MESSAGE_ROUTED1(FrameMsg_FocusedFormFieldDataRequest, int /* request_id */) |
752 | 752 |
753 // Change the accessibility mode in the renderer process. | 753 // Change the accessibility mode in the renderer process. |
754 IPC_MESSAGE_ROUTED1(FrameMsg_SetAccessibilityMode, | 754 IPC_MESSAGE_ROUTED1(FrameMsg_SetAccessibilityMode, |
755 AccessibilityMode) | 755 AccessibilityMode) |
756 | 756 |
757 // Dispatch a load event in the iframe element containing this frame. | 757 // Dispatch a load event in the iframe element containing this frame. |
758 IPC_MESSAGE_ROUTED0(FrameMsg_DispatchLoad) | 758 IPC_MESSAGE_ROUTED0(FrameMsg_DispatchLoad) |
759 | 759 |
| 760 // Sent to a subframe to control whether to collapse its the frame owner element |
| 761 // in the embedder document, that is, to remove it from the layout as if it did |
| 762 // not exist. |
| 763 IPC_MESSAGE_ROUTED1(FrameMsg_Collapse, bool /* collapsed */) |
| 764 |
760 // Notifies the frame that its parent has changed the frame's sandbox flags. | 765 // Notifies the frame that its parent has changed the frame's sandbox flags. |
761 IPC_MESSAGE_ROUTED1(FrameMsg_DidUpdateSandboxFlags, blink::WebSandboxFlags) | 766 IPC_MESSAGE_ROUTED1(FrameMsg_DidUpdateSandboxFlags, blink::WebSandboxFlags) |
762 | 767 |
763 // Update a proxy's window.name property. Used when the frame's name is | 768 // Update a proxy's window.name property. Used when the frame's name is |
764 // changed in another process. | 769 // changed in another process. |
765 IPC_MESSAGE_ROUTED2(FrameMsg_DidUpdateName, | 770 IPC_MESSAGE_ROUTED2(FrameMsg_DidUpdateName, |
766 std::string /* name */, | 771 std::string /* name */, |
767 std::string /* unique_name */) | 772 std::string /* unique_name */) |
768 | 773 |
769 // Updates replicated ContentSecurityPolicy in a frame proxy. | 774 // Updates replicated ContentSecurityPolicy in a frame proxy. |
(...skipping 820 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1590 // nearest find result in the sending frame. | 1595 // nearest find result in the sending frame. |
1591 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, | 1596 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, |
1592 int /* nfr_request_id */, | 1597 int /* nfr_request_id */, |
1593 float /* distance */) | 1598 float /* distance */) |
1594 #endif | 1599 #endif |
1595 | 1600 |
1596 // Adding a new message? Stick to the sort order above: first platform | 1601 // Adding a new message? Stick to the sort order above: first platform |
1597 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then | 1602 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then |
1598 // platform independent FrameHostMsg, then ifdefs for platform specific | 1603 // platform independent FrameHostMsg, then ifdefs for platform specific |
1599 // FrameHostMsg. | 1604 // FrameHostMsg. |
OLD | NEW |