diff options
Diffstat (limited to 'Source/WebCore/html/HTMLIFrameElement.h')
-rw-r--r-- | Source/WebCore/html/HTMLIFrameElement.h | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/Source/WebCore/html/HTMLIFrameElement.h b/Source/WebCore/html/HTMLIFrameElement.h index 18f68880b..1626e0b98 100644 --- a/Source/WebCore/html/HTMLIFrameElement.h +++ b/Source/WebCore/html/HTMLIFrameElement.h @@ -21,38 +21,38 @@ * */ -#ifndef HTMLIFrameElement_h -#define HTMLIFrameElement_h +#pragma once #include "HTMLFrameElementBase.h" namespace WebCore { +class DOMTokenList; +class RenderIFrame; + class HTMLIFrameElement final : public HTMLFrameElementBase { public: - static PassRefPtr<HTMLIFrameElement> create(const QualifiedName&, Document&); + static Ref<HTMLIFrameElement> create(const QualifiedName&, Document&); + + DOMTokenList& sandbox(); - bool shouldDisplaySeamlessly() const; + RenderIFrame* renderer() const; private: HTMLIFrameElement(const QualifiedName&, Document&); #if PLATFORM(IOS) - virtual bool isKeyboardFocusable(KeyboardEvent*) const override { return false; } + bool isKeyboardFocusable(KeyboardEvent&) const final { return false; } #endif - virtual void parseAttribute(const QualifiedName&, const AtomicString&) override; - virtual bool isPresentationAttribute(const QualifiedName&) const override; - virtual void collectStyleForPresentationAttribute(const QualifiedName&, const AtomicString&, MutableStyleProperties&) override; + void parseAttribute(const QualifiedName&, const AtomicString&) final; + bool isPresentationAttribute(const QualifiedName&) const final; + void collectStyleForPresentationAttribute(const QualifiedName&, const AtomicString&, MutableStyleProperties&) final; - virtual bool rendererIsNeeded(const RenderStyle&) override; - virtual RenderPtr<RenderElement> createElementRenderer(PassRef<RenderStyle>) override; + bool rendererIsNeeded(const RenderStyle&) final; + RenderPtr<RenderElement> createElementRenderer(RenderStyle&&, const RenderTreePosition&) final; - virtual void didRecalcStyle(Style::Change) override; + std::unique_ptr<DOMTokenList> m_sandbox; }; -NODE_TYPE_CASTS(HTMLIFrameElement) - } // namespace WebCore - -#endif // HTMLIFrameElement_h |