HTMLSummaryElement.h [plain text]
#ifndef HTMLSummaryElement_h
#define HTMLSummaryElement_h
#include "HTMLElement.h"
namespace WebCore {
class HTMLDetailsElement;
class HTMLSummaryElement final : public HTMLElement {
public:
static PassRefPtr<HTMLSummaryElement> create(const QualifiedName&, Document&);
bool isMainSummary() const;
virtual bool willRespondToMouseClickEvents() override;
private:
HTMLSummaryElement(const QualifiedName&, Document&);
virtual RenderPtr<RenderElement> createElementRenderer(PassRef<RenderStyle>) override;
virtual bool childShouldCreateRenderer(const Node&) const override;
virtual void defaultEventHandler(Event*) override;
virtual void didAddUserAgentShadowRoot(ShadowRoot*) override;
HTMLDetailsElement* detailsElement() const;
bool supportsFocus() const override;
};
NODE_TYPE_CASTS(HTMLSummaryElement)
}
#endif // HTMLSummaryElement_h