Index: third_party/WebKit/Source/core/frame/FrameOwner.h |
diff --git a/third_party/WebKit/Source/core/frame/FrameOwner.h b/third_party/WebKit/Source/core/frame/FrameOwner.h |
index 440b85e3f88d0c78fb23a7c8c4d6b7a8a480657f..103c02a2a080edaeee31627f0237898f914d7f75 100644 |
--- a/third_party/WebKit/Source/core/frame/FrameOwner.h |
+++ b/third_party/WebKit/Source/core/frame/FrameOwner.h |
@@ -48,6 +48,7 @@ class CORE_EXPORT FrameOwner : public GarbageCollectedMixin { |
virtual int marginHeight() const = 0; |
virtual bool allowFullscreen() const = 0; |
virtual bool allowPaymentRequest() const = 0; |
+ virtual bool isDisplayNone() const = 0; |
virtual AtomicString csp() const = 0; |
virtual const WebVector<WebFeaturePolicyFeature>& allowedFeatures() const = 0; |
}; |
@@ -81,6 +82,7 @@ class CORE_EXPORT DummyFrameOwner |
int marginHeight() const override { return -1; } |
bool allowFullscreen() const override { return false; } |
bool allowPaymentRequest() const override { return false; } |
+ bool isDisplayNone() const override { return false; } |
AtomicString csp() const override { return nullAtom; } |
const WebVector<WebFeaturePolicyFeature>& allowedFeatures() const override { |
DEFINE_STATIC_LOCAL(WebVector<WebFeaturePolicyFeature>, features, ()); |