#pragma once
#include "HTMLElement.h"
namespace WebCore {
class HTMLBodyElement final : public HTMLElement {
WTF_MAKE_ISO_ALLOCATED(HTMLBodyElement);
public:
static Ref<HTMLBodyElement> create(Document&);
static Ref<HTMLBodyElement> create(const QualifiedName&, Document&);
virtual ~HTMLBodyElement();
static const AtomicString& eventNameForWindowEventHandlerAttribute(const QualifiedName& attributeName);
private:
HTMLBodyElement(const QualifiedName&, Document&);
void parseAttribute(const QualifiedName&, const AtomicString&) final;
bool isPresentationAttribute(const QualifiedName&) const final;
void collectStyleForPresentationAttribute(const QualifiedName&, const AtomicString&, MutableStyleProperties&) final;
InsertedIntoAncestorResult insertedIntoAncestor(InsertionType, ContainerNode&) final;
void didFinishInsertingNode() final;
bool isURLAttribute(const Attribute&) const final;
bool supportsFocus() const final;
void addSubresourceAttributeURLs(ListHashSet<URL>&) const final;
static EventHandlerNameMap createWindowEventHandlerNameMap();
};
}