Chromium Code Reviews| 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 723 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 734 // renderer. | 734 // renderer. |
| 735 IPC_MESSAGE_ROUTED1(FrameMsg_FocusedFormFieldDataRequest, int /* request_id */) | 735 IPC_MESSAGE_ROUTED1(FrameMsg_FocusedFormFieldDataRequest, int /* request_id */) |
| 736 | 736 |
| 737 // Change the accessibility mode in the renderer process. | 737 // Change the accessibility mode in the renderer process. |
| 738 IPC_MESSAGE_ROUTED1(FrameMsg_SetAccessibilityMode, | 738 IPC_MESSAGE_ROUTED1(FrameMsg_SetAccessibilityMode, |
| 739 AccessibilityMode) | 739 AccessibilityMode) |
| 740 | 740 |
| 741 // Dispatch a load event in the iframe element containing this frame. | 741 // Dispatch a load event in the iframe element containing this frame. |
| 742 IPC_MESSAGE_ROUTED0(FrameMsg_DispatchLoad) | 742 IPC_MESSAGE_ROUTED0(FrameMsg_DispatchLoad) |
| 743 | 743 |
| 744 // Sent to a child frame to control whether its frame owner element in the | |
| 745 // parent frame should be collapsed, i.e. removed from the layout. | |
| 746 IPC_MESSAGE_ROUTED1(FrameMsg_CollapseFrameOwner, bool /* collapsed */) | |
|
clamy
2017/01/18 15:10:55
Wouldn't is be easier to send the IPC to the paren
engedy
2017/01/18 23:37:14
Theoretically, we could use |unique_name|. This wo
engedy
2017/02/17 18:09:25
@Nasko, what do think about this? To me, sending
| |
| 747 | |
| 744 // Notifies the frame that its parent has changed the frame's sandbox flags. | 748 // Notifies the frame that its parent has changed the frame's sandbox flags. |
| 745 IPC_MESSAGE_ROUTED1(FrameMsg_DidUpdateSandboxFlags, blink::WebSandboxFlags) | 749 IPC_MESSAGE_ROUTED1(FrameMsg_DidUpdateSandboxFlags, blink::WebSandboxFlags) |
| 746 | 750 |
| 747 // Update a proxy's window.name property. Used when the frame's name is | 751 // Update a proxy's window.name property. Used when the frame's name is |
| 748 // changed in another process. | 752 // changed in another process. |
| 749 IPC_MESSAGE_ROUTED2(FrameMsg_DidUpdateName, | 753 IPC_MESSAGE_ROUTED2(FrameMsg_DidUpdateName, |
| 750 std::string /* name */, | 754 std::string /* name */, |
| 751 std::string /* unique_name */) | 755 std::string /* unique_name */) |
| 752 | 756 |
| 753 // Updates replicated ContentSecurityPolicy in a frame proxy. | 757 // Updates replicated ContentSecurityPolicy in a frame proxy. |
| (...skipping 786 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1540 // nearest find result in the sending frame. | 1544 // nearest find result in the sending frame. |
| 1541 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, | 1545 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, |
| 1542 int /* nfr_request_id */, | 1546 int /* nfr_request_id */, |
| 1543 float /* distance */) | 1547 float /* distance */) |
| 1544 #endif | 1548 #endif |
| 1545 | 1549 |
| 1546 // Adding a new message? Stick to the sort order above: first platform | 1550 // Adding a new message? Stick to the sort order above: first platform |
| 1547 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then | 1551 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then |
| 1548 // platform independent FrameHostMsg, then ifdefs for platform specific | 1552 // platform independent FrameHostMsg, then ifdefs for platform specific |
| 1549 // FrameHostMsg. | 1553 // FrameHostMsg. |
| OLD | NEW |