Index: third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.h |
diff --git a/third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.h b/third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.h |
index b091ad63ff7d9c91d2c384f70b88b6e1964c05ac..4bf70e85f358d56b337bb62826e9e2bc5141108c 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.h |
+++ b/third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.h |
@@ -87,6 +87,7 @@ class CORE_EXPORT HTMLFrameOwnerElement : public HTMLElement, |
int marginHeight() const override { return -1; } |
bool allowFullscreen() const override { return false; } |
bool allowPaymentRequest() const override { return false; } |
+ bool isDisplayNone() const override { return !m_widget; } |
AtomicString csp() const override { return nullAtom; } |
const WebVector<WebPermissionType>& delegatedPermissions() const override; |
@@ -102,6 +103,7 @@ class CORE_EXPORT HTMLFrameOwnerElement : public HTMLElement, |
bool isKeyboardFocusable() const override; |
void disposeWidgetSoon(Widget*); |
+ void frameOwnerPropertiesChanged(); |
private: |
// Intentionally private to prevent redundant checks when the type is |