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 RenderObject* createRenderer(RenderArena*, RenderStyle*);
virtual bool childShouldCreateRenderer(const NodeRenderingContext&) const OVERRIDE;
virtual void defaultEventHandler(Event*);
virtual void didAddUserAgentShadowRoot(ShadowRoot*) OVERRIDE;
HTMLDetailsElement* detailsElement() const;
bool supportsFocus() const OVERRIDE;
};
}
#endif // HTMLSummaryElement_h