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 977 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
988 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidStopLoading) | 988 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidStopLoading) |
989 | 989 |
990 // Notifies the browser that this frame has new session history information. | 990 // Notifies the browser that this frame has new session history information. |
991 IPC_MESSAGE_ROUTED1(FrameHostMsg_UpdateState, content::PageState /* state */) | 991 IPC_MESSAGE_ROUTED1(FrameHostMsg_UpdateState, content::PageState /* state */) |
992 | 992 |
993 // Sent when the frame changes its window.name. | 993 // Sent when the frame changes its window.name. |
994 IPC_MESSAGE_ROUTED2(FrameHostMsg_DidChangeName, | 994 IPC_MESSAGE_ROUTED2(FrameHostMsg_DidChangeName, |
995 std::string /* name */, | 995 std::string /* name */, |
996 std::string /* unique_name */) | 996 std::string /* unique_name */) |
997 | 997 |
| 998 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidAddFeaturePolicyHeader, std::string) |
| 999 |
998 // Notifies the browser process about a new Content Security Policy that needs | 1000 // Notifies the browser process about a new Content Security Policy that needs |
999 // to be applies to the frame. This message is sent when a frame commits | 1001 // to be applies to the frame. This message is sent when a frame commits |
1000 // navigation to a new location (reporting accumulated policies from HTTP | 1002 // navigation to a new location (reporting accumulated policies from HTTP |
1001 // headers and/or policies that might have been inherited from the parent frame) | 1003 // headers and/or policies that might have been inherited from the parent frame) |
1002 // or when a new policy has been discovered afterwards (i.e. found in a | 1004 // or when a new policy has been discovered afterwards (i.e. found in a |
1003 // dynamically added or a static <meta> element). | 1005 // dynamically added or a static <meta> element). |
1004 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidAddContentSecurityPolicy, | 1006 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidAddContentSecurityPolicy, |
1005 content::ContentSecurityPolicyHeader) | 1007 content::ContentSecurityPolicyHeader) |
1006 | 1008 |
1007 // Sent when the frame starts enforcing an insecure request policy. Sending | 1009 // Sent when the frame starts enforcing an insecure request policy. Sending |
(...skipping 505 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1513 // nearest find result in the sending frame. | 1515 // nearest find result in the sending frame. |
1514 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, | 1516 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, |
1515 int /* nfr_request_id */, | 1517 int /* nfr_request_id */, |
1516 float /* distance */) | 1518 float /* distance */) |
1517 #endif | 1519 #endif |
1518 | 1520 |
1519 // Adding a new message? Stick to the sort order above: first platform | 1521 // Adding a new message? Stick to the sort order above: first platform |
1520 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then | 1522 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then |
1521 // platform independent FrameHostMsg, then ifdefs for platform specific | 1523 // platform independent FrameHostMsg, then ifdefs for platform specific |
1522 // FrameHostMsg. | 1524 // FrameHostMsg. |
OLD | NEW |