Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(526)

Side by Side Diff: content/common/frame_messages.h

Issue 2632633006: Implement NavigationThrottle::BLOCK_REQUEST_AND_COLLAPSE. (Closed)
Patch Set: Extend tests, fix redirects. Non-PlzNavigate version still broken. Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698