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

Unified Diff: content/common/frame_messages.h

Issue 2697713003: Initial Implementation of Iframe Attribute for Feature Policy (Part 2) (Closed)
Patch Set: Update rebase 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
« no previous file with comments | « content/browser/site_per_process_browsertest.cc ('k') | content/common/frame_owner_properties.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/frame_messages.h
diff --git a/content/common/frame_messages.h b/content/common/frame_messages.h
index aca87946f834e628790afc39862f2c3e374e0aed..6993ee14452eefe697bbe42cb75fbbcd0ea30c58 100644
--- a/content/common/frame_messages.h
+++ b/content/common/frame_messages.h
@@ -49,6 +49,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"
@@ -113,6 +114,8 @@ IPC_ENUM_TRAITS_MAX_VALUE(content::FileChooserParams::Mode,
content::FileChooserParams::Save)
IPC_ENUM_TRAITS_MAX_VALUE(content::CSPDirective::Name,
content::CSPDirective::NameLast)
+IPC_ENUM_TRAITS_MAX_VALUE(blink::WebFeaturePolicyFeature,
+ blink::WebFeaturePolicyFeature::LAST_FEATURE)
IPC_STRUCT_TRAITS_BEGIN(blink::WebFindOptions)
IPC_STRUCT_TRAITS_MEMBER(forward)
@@ -180,6 +183,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_features)
IPC_STRUCT_TRAITS_END()
IPC_STRUCT_TRAITS_BEGIN(content::PageImportanceSignals)
« no previous file with comments | « content/browser/site_per_process_browsertest.cc ('k') | content/common/frame_owner_properties.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698