| Index: third_party/WebKit/Source/core/frame/Frame.h
|
| diff --git a/third_party/WebKit/Source/core/frame/Frame.h b/third_party/WebKit/Source/core/frame/Frame.h
|
| index 473b05cc04555c32e515a2d4f9331f0fa8fe522c..3b5501c02bb0623b89f3186d646c203cfc9901de 100644
|
| --- a/third_party/WebKit/Source/core/frame/Frame.h
|
| +++ b/third_party/WebKit/Source/core/frame/Frame.h
|
| @@ -34,6 +34,7 @@
|
| #include "core/loader/FrameLoaderTypes.h"
|
| #include "core/page/FrameTree.h"
|
| #include "platform/heap/Handle.h"
|
| +#include "public/platform/WebFeaturePolicy.h"
|
| #include "wtf/Forward.h"
|
|
|
| namespace blink {
|
| @@ -149,6 +150,10 @@ class CORE_EXPORT Frame : public GarbageCollectedFinalized<Frame> {
|
|
|
| bool isDetaching() const { return m_isDetaching; }
|
|
|
| + // Tests whether the feature-policy controlled feature is enabled by policy in
|
| + // the given frame.
|
| + bool isFeatureEnabled(WebFeaturePolicyFeature) const;
|
| +
|
| protected:
|
| Frame(FrameClient*, FrameHost*, FrameOwner*);
|
|
|
|
|