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

Unified Diff: content/common/frame_messages.h

Issue 2697713003: Initial Implementation of Iframe Attribute for Feature Policy (Part 2) (Closed)
Patch Set: Initial Impl 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 side-by-side diff with in-line comments
Download patch
Index: content/common/frame_messages.h
diff --git a/content/common/frame_messages.h b/content/common/frame_messages.h
index e19c6c4498c4677002e6cb075be20b1f3fcb7e97..768118b223995e2faab2caef5f35289b4dbfa418 100644
--- a/content/common/frame_messages.h
+++ b/content/common/frame_messages.h
@@ -47,6 +47,7 @@
#include "ipc/ipc_message_macros.h"
#include "ipc/ipc_platform_file.h"
#include "ppapi/features/features.h"
+#include "third_party/WebKit/public/platform/WebFeaturePolicy.h"
#include "third_party/WebKit/public/platform/WebFocusType.h"
#include "third_party/WebKit/public/platform/WebInsecureRequestPolicy.h"
#include "third_party/WebKit/public/web/WebFindOptions.h"
@@ -168,6 +169,10 @@ IPC_STRUCT_TRAITS_BEGIN(content::CustomContextMenuContext)
IPC_STRUCT_TRAITS_MEMBER(link_followed)
IPC_STRUCT_TRAITS_END()
+IPC_ENUM_TRAITS_MIN_MAX_VALUE(blink::WebFeaturePolicyFeature,
iclelland 2017/02/16 15:26:33 There's another block, at the top of this file, wi
lunalu1 2017/02/16 20:16:15 Done.
+ blink::WebFeaturePolicyFeature::NotFound,
+ blink::WebFeaturePolicyFeature::LAST_FEATURE)
+
IPC_STRUCT_TRAITS_BEGIN(content::FrameOwnerProperties)
IPC_STRUCT_TRAITS_MEMBER(name)
IPC_STRUCT_TRAITS_MEMBER(scrolling_mode)
@@ -176,6 +181,7 @@ IPC_STRUCT_TRAITS_BEGIN(content::FrameOwnerProperties)
IPC_STRUCT_TRAITS_MEMBER(allow_fullscreen)
IPC_STRUCT_TRAITS_MEMBER(allow_payment_request)
IPC_STRUCT_TRAITS_MEMBER(required_csp)
+ IPC_STRUCT_TRAITS_MEMBER(allowed_feature_names)
IPC_STRUCT_TRAITS_END()
IPC_STRUCT_TRAITS_BEGIN(content::PageImportanceSignals)

Powered by Google App Engine
This is Rietveld 408576698