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 381 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 392 IPC_STRUCT_TRAITS_MEMBER(should_clear_history_list) | 392 IPC_STRUCT_TRAITS_MEMBER(should_clear_history_list) |
| 393 IPC_STRUCT_TRAITS_MEMBER(should_create_service_worker) | 393 IPC_STRUCT_TRAITS_MEMBER(should_create_service_worker) |
| 394 IPC_STRUCT_TRAITS_MEMBER(navigation_timing) | 394 IPC_STRUCT_TRAITS_MEMBER(navigation_timing) |
| 395 IPC_STRUCT_TRAITS_MEMBER(service_worker_provider_id) | 395 IPC_STRUCT_TRAITS_MEMBER(service_worker_provider_id) |
| 396 IPC_STRUCT_TRAITS_MEMBER(has_user_gesture) | 396 IPC_STRUCT_TRAITS_MEMBER(has_user_gesture) |
| 397 #if defined(OS_ANDROID) | 397 #if defined(OS_ANDROID) |
| 398 IPC_STRUCT_TRAITS_MEMBER(data_url_as_string) | 398 IPC_STRUCT_TRAITS_MEMBER(data_url_as_string) |
| 399 #endif | 399 #endif |
| 400 IPC_STRUCT_TRAITS_END() | 400 IPC_STRUCT_TRAITS_END() |
| 401 | 401 |
| 402 IPC_STRUCT_TRAITS_BEGIN(content::FeaturePolicyParsedWhitelist) | |
| 403 IPC_STRUCT_TRAITS_MEMBER(feature_name) | |
| 404 IPC_STRUCT_TRAITS_MEMBER(matches_all_origins) | |
| 405 IPC_STRUCT_TRAITS_MEMBER(origins) | |
| 406 IPC_STRUCT_TRAITS_END() | |
| 407 | |
| 402 IPC_STRUCT_TRAITS_BEGIN(content::FrameReplicationState) | 408 IPC_STRUCT_TRAITS_BEGIN(content::FrameReplicationState) |
| 403 IPC_STRUCT_TRAITS_MEMBER(origin) | 409 IPC_STRUCT_TRAITS_MEMBER(origin) |
| 404 IPC_STRUCT_TRAITS_MEMBER(sandbox_flags) | 410 IPC_STRUCT_TRAITS_MEMBER(sandbox_flags) |
| 405 IPC_STRUCT_TRAITS_MEMBER(name) | 411 IPC_STRUCT_TRAITS_MEMBER(name) |
| 406 IPC_STRUCT_TRAITS_MEMBER(unique_name) | 412 IPC_STRUCT_TRAITS_MEMBER(unique_name) |
| 407 IPC_STRUCT_TRAITS_MEMBER(feature_policy_header) | 413 IPC_STRUCT_TRAITS_MEMBER(feature_policy_header) |
| 408 IPC_STRUCT_TRAITS_MEMBER(accumulated_csp_headers) | 414 IPC_STRUCT_TRAITS_MEMBER(accumulated_csp_headers) |
| 409 IPC_STRUCT_TRAITS_MEMBER(scope) | 415 IPC_STRUCT_TRAITS_MEMBER(scope) |
| 410 IPC_STRUCT_TRAITS_MEMBER(insecure_request_policy) | 416 IPC_STRUCT_TRAITS_MEMBER(insecure_request_policy) |
| 411 IPC_STRUCT_TRAITS_MEMBER(has_potentially_trustworthy_unique_origin) | 417 IPC_STRUCT_TRAITS_MEMBER(has_potentially_trustworthy_unique_origin) |
| (...skipping 593 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1005 | 1011 |
| 1006 // Notifies the browser that this frame has new session history information. | 1012 // Notifies the browser that this frame has new session history information. |
| 1007 IPC_MESSAGE_ROUTED1(FrameHostMsg_UpdateState, content::PageState /* state */) | 1013 IPC_MESSAGE_ROUTED1(FrameHostMsg_UpdateState, content::PageState /* state */) |
| 1008 | 1014 |
| 1009 // Sent when the frame changes its window.name. | 1015 // Sent when the frame changes its window.name. |
| 1010 IPC_MESSAGE_ROUTED2(FrameHostMsg_DidChangeName, | 1016 IPC_MESSAGE_ROUTED2(FrameHostMsg_DidChangeName, |
| 1011 std::string /* name */, | 1017 std::string /* name */, |
| 1012 std::string /* unique_name */) | 1018 std::string /* unique_name */) |
| 1013 | 1019 |
| 1014 // Notifies the browser process that a non-empty Feature-Policy HTTP header was | 1020 // Notifies the browser process that a non-empty Feature-Policy HTTP header was |
| 1015 // delivered with the document being loaded into the frame. | 1021 // delivered with the document being loaded into the frame. |
|
alexmos
2016/12/01 02:04:19
Might be worth explaining what the arg is now (a l
raymes
2016/12/01 03:03:09
Done.
| |
| 1016 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidSetFeaturePolicyHeader, std::string) | 1022 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidSetFeaturePolicyHeader, |
| 1023 std::vector<content::FeaturePolicyParsedWhitelist>) | |
| 1017 | 1024 |
| 1018 // Notifies the browser process about a new Content Security Policy that needs | 1025 // Notifies the browser process about a new Content Security Policy that needs |
| 1019 // to be applies to the frame. This message is sent when a frame commits | 1026 // to be applies to the frame. This message is sent when a frame commits |
| 1020 // navigation to a new location (reporting accumulated policies from HTTP | 1027 // navigation to a new location (reporting accumulated policies from HTTP |
| 1021 // headers and/or policies that might have been inherited from the parent frame) | 1028 // headers and/or policies that might have been inherited from the parent frame) |
| 1022 // or when a new policy has been discovered afterwards (i.e. found in a | 1029 // or when a new policy has been discovered afterwards (i.e. found in a |
| 1023 // dynamically added or a static <meta> element). | 1030 // dynamically added or a static <meta> element). |
| 1024 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidAddContentSecurityPolicy, | 1031 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidAddContentSecurityPolicy, |
| 1025 content::ContentSecurityPolicyHeader) | 1032 content::ContentSecurityPolicyHeader) |
| 1026 | 1033 |
| (...skipping 512 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1539 // nearest find result in the sending frame. | 1546 // nearest find result in the sending frame. |
| 1540 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, | 1547 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, |
| 1541 int /* nfr_request_id */, | 1548 int /* nfr_request_id */, |
| 1542 float /* distance */) | 1549 float /* distance */) |
| 1543 #endif | 1550 #endif |
| 1544 | 1551 |
| 1545 // Adding a new message? Stick to the sort order above: first platform | 1552 // Adding a new message? Stick to the sort order above: first platform |
| 1546 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then | 1553 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then |
| 1547 // platform independent FrameHostMsg, then ifdefs for platform specific | 1554 // platform independent FrameHostMsg, then ifdefs for platform specific |
| 1548 // FrameHostMsg. | 1555 // FrameHostMsg. |
| OLD | NEW |