From 1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c Mon Sep 17 00:00:00 2001 From: Lorry Tar Creator Date: Tue, 27 Jun 2017 06:07:23 +0000 Subject: webkitgtk-2.16.5 --- Source/WebCore/html/HTMLIFrameElement.h | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'Source/WebCore/html/HTMLIFrameElement.h') 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 create(const QualifiedName&, Document&); + static Ref 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 createElementRenderer(PassRef) override; + bool rendererIsNeeded(const RenderStyle&) final; + RenderPtr createElementRenderer(RenderStyle&&, const RenderTreePosition&) final; - virtual void didRecalcStyle(Style::Change) override; + std::unique_ptr m_sandbox; }; -NODE_TYPE_CASTS(HTMLIFrameElement) - } // namespace WebCore - -#endif // HTMLIFrameElement_h -- cgit v1.2.1