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

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

Issue 2648423002: Rename feature policy classes. (Closed)
Patch Set: Rebase Created 3 years, 11 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 376 matching lines...) Expand 10 before | Expand all | Expand 10 after
387 IPC_STRUCT_TRAITS_MEMBER(should_create_service_worker) 387 IPC_STRUCT_TRAITS_MEMBER(should_create_service_worker)
388 IPC_STRUCT_TRAITS_MEMBER(navigation_timing) 388 IPC_STRUCT_TRAITS_MEMBER(navigation_timing)
389 IPC_STRUCT_TRAITS_MEMBER(service_worker_provider_id) 389 IPC_STRUCT_TRAITS_MEMBER(service_worker_provider_id)
390 IPC_STRUCT_TRAITS_MEMBER(appcache_host_id) 390 IPC_STRUCT_TRAITS_MEMBER(appcache_host_id)
391 IPC_STRUCT_TRAITS_MEMBER(has_user_gesture) 391 IPC_STRUCT_TRAITS_MEMBER(has_user_gesture)
392 #if defined(OS_ANDROID) 392 #if defined(OS_ANDROID)
393 IPC_STRUCT_TRAITS_MEMBER(data_url_as_string) 393 IPC_STRUCT_TRAITS_MEMBER(data_url_as_string)
394 #endif 394 #endif
395 IPC_STRUCT_TRAITS_END() 395 IPC_STRUCT_TRAITS_END()
396 396
397 IPC_STRUCT_TRAITS_BEGIN(content::FeaturePolicyParsedWhitelist) 397 IPC_STRUCT_TRAITS_BEGIN(content::ParsedFeaturePolicyDeclaration)
398 IPC_STRUCT_TRAITS_MEMBER(feature_name) 398 IPC_STRUCT_TRAITS_MEMBER(feature_name)
399 IPC_STRUCT_TRAITS_MEMBER(matches_all_origins) 399 IPC_STRUCT_TRAITS_MEMBER(matches_all_origins)
400 IPC_STRUCT_TRAITS_MEMBER(origins) 400 IPC_STRUCT_TRAITS_MEMBER(origins)
401 IPC_STRUCT_TRAITS_END() 401 IPC_STRUCT_TRAITS_END()
402 402
403 IPC_STRUCT_TRAITS_BEGIN(content::FrameReplicationState) 403 IPC_STRUCT_TRAITS_BEGIN(content::FrameReplicationState)
404 IPC_STRUCT_TRAITS_MEMBER(origin) 404 IPC_STRUCT_TRAITS_MEMBER(origin)
405 IPC_STRUCT_TRAITS_MEMBER(sandbox_flags) 405 IPC_STRUCT_TRAITS_MEMBER(sandbox_flags)
406 IPC_STRUCT_TRAITS_MEMBER(name) 406 IPC_STRUCT_TRAITS_MEMBER(name)
407 IPC_STRUCT_TRAITS_MEMBER(unique_name) 407 IPC_STRUCT_TRAITS_MEMBER(unique_name)
(...skipping 606 matching lines...) Expand 10 before | Expand all | Expand 10 after
1014 1014
1015 // Sent when the frame changes its window.name. 1015 // Sent when the frame changes its window.name.
1016 IPC_MESSAGE_ROUTED2(FrameHostMsg_DidChangeName, 1016 IPC_MESSAGE_ROUTED2(FrameHostMsg_DidChangeName,
1017 std::string /* name */, 1017 std::string /* name */,
1018 std::string /* unique_name */) 1018 std::string /* unique_name */)
1019 1019
1020 // 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
1021 // delivered with the document being loaded into the frame. |parsed_header| is 1021 // delivered with the document being loaded into the frame. |parsed_header| is
1022 // a list of an origin whitelist for each feature in the policy. 1022 // a list of an origin whitelist for each feature in the policy.
1023 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidSetFeaturePolicyHeader, 1023 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidSetFeaturePolicyHeader,
1024 content::ParsedFeaturePolicy /* parsed_header */) 1024 content::ParsedFeaturePolicyHeader /* parsed_header */)
1025 1025
1026 // Notifies the browser process about a new Content Security Policy that needs 1026 // Notifies the browser process about a new Content Security Policy that needs
1027 // to be applies to the frame. This message is sent when a frame commits 1027 // to be applies to the frame. This message is sent when a frame commits
1028 // navigation to a new location (reporting accumulated policies from HTTP 1028 // navigation to a new location (reporting accumulated policies from HTTP
1029 // headers and/or policies that might have been inherited from the parent frame) 1029 // headers and/or policies that might have been inherited from the parent frame)
1030 // or when a new policy has been discovered afterwards (i.e. found in a 1030 // or when a new policy has been discovered afterwards (i.e. found in a
1031 // dynamically added or a static <meta> element). 1031 // dynamically added or a static <meta> element).
1032 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidAddContentSecurityPolicy, 1032 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidAddContentSecurityPolicy,
1033 content::ContentSecurityPolicyHeader) 1033 content::ContentSecurityPolicyHeader)
1034 1034
(...skipping 521 matching lines...) Expand 10 before | Expand all | Expand 10 after
1556 // nearest find result in the sending frame. 1556 // nearest find result in the sending frame.
1557 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, 1557 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply,
1558 int /* nfr_request_id */, 1558 int /* nfr_request_id */,
1559 float /* distance */) 1559 float /* distance */)
1560 #endif 1560 #endif
1561 1561
1562 // Adding a new message? Stick to the sort order above: first platform 1562 // Adding a new message? Stick to the sort order above: first platform
1563 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then 1563 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then
1564 // platform independent FrameHostMsg, then ifdefs for platform specific 1564 // platform independent FrameHostMsg, then ifdefs for platform specific
1565 // FrameHostMsg. 1565 // FrameHostMsg.
OLDNEW
« no previous file with comments | « content/browser/site_per_process_browsertest.cc ('k') | content/common/frame_replication_state.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698