Index: third_party/WebKit/public/web/WebFrame.h |
diff --git a/third_party/WebKit/public/web/WebFrame.h b/third_party/WebKit/public/web/WebFrame.h |
index 1be0587e0a5a6182400299102705af18891eca38..501c3985245edd5f82c1a8b7c36ca7041e107f72 100644 |
--- a/third_party/WebKit/public/web/WebFrame.h |
+++ b/third_party/WebKit/public/web/WebFrame.h |
@@ -31,13 +31,14 @@ |
#ifndef WebFrame_h |
#define WebFrame_h |
+#include <memory> |
#include "WebIconURL.h" |
#include "WebNode.h" |
#include "public/platform/WebCanvas.h" |
+#include "public/platform/WebFeaturePolicy.h" |
#include "public/platform/WebInsecureRequestPolicy.h" |
#include "public/web/WebFrameLoadType.h" |
#include "public/web/WebTreeScopeType.h" |
-#include <memory> |
namespace v8 { |
class Context; |
@@ -147,6 +148,14 @@ class WebFrame { |
// navigation. |
BLINK_EXPORT void setFrameOwnerSandboxFlags(WebSandboxFlags); |
+ // Updates the container policy in the frame's FrameOwner. This is used when |
+ // this frame's parent is in another process, and dynamically updates this |
+ // frame's container policy, by setting the iframe's allowfullscreen, |
+ // allowpaymentrequest, allow, or src attributes. The new container policy has |
+ // no effect until the frame is next navigated. |
+ BLINK_EXPORT void setFrameOwnerContainerPolicy( |
alexmos
2017/04/06 00:44:22
Does it make sense to also merge this with setFram
iclelland
2017/04/09 03:25:54
It does, and it'll go a step further towards just
|
+ const blink::WebParsedFeaturePolicy&); |
+ |
// The frame's insecure request policy. |
BLINK_EXPORT WebInsecureRequestPolicy getInsecureRequestPolicy() const; |