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 e49a47aaf2ed40e62b148253006d4f8cfec6c393..7b3e017b8c31cb53b53273da44c4ffe8d1adfcd6 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.h |
+++ b/third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.h |
@@ -90,6 +90,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; |
@@ -105,6 +106,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 |