summaryrefslogtreecommitdiff
path: root/Source/WebCore/html/HTMLIFrameElement.h
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@lorry>2017-06-27 06:07:23 +0000
committerLorry Tar Creator <lorry-tar-importer@lorry>2017-06-27 06:07:23 +0000
commit1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c (patch)
tree46dcd36c86e7fbc6e5df36deb463b33e9967a6f7 /Source/WebCore/html/HTMLIFrameElement.h
parent32761a6cee1d0dee366b885b7b9c777e67885688 (diff)
downloadWebKitGtk-tarball-master.tar.gz
Diffstat (limited to 'Source/WebCore/html/HTMLIFrameElement.h')
-rw-r--r--Source/WebCore/html/HTMLIFrameElement.h30
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