HTMLKeygenElement.h [plain text]
#ifndef HTMLKeygenElement_h
#define HTMLKeygenElement_h
#include "HTMLFormControlElementWithState.h"
namespace WebCore {
class HTMLSelectElement;
class HTMLKeygenElement final : public HTMLFormControlElementWithState {
public:
static Ref<HTMLKeygenElement> create(const QualifiedName&, Document&, HTMLFormElement*);
private:
HTMLKeygenElement(const QualifiedName&, Document&, HTMLFormElement*);
virtual bool computeWillValidate() const override { return false; }
virtual bool canStartSelection() const override { return false; }
virtual void parseAttribute(const QualifiedName&, const AtomicString&) override;
virtual bool appendFormData(FormDataList&, bool) override;
virtual const AtomicString& formControlType() const override;
virtual bool isOptionalFormControl() const override { return false; }
virtual bool isEnumeratable() const override { return true; }
virtual bool supportLabels() const override { return true; }
virtual void reset() override;
virtual bool shouldSaveAndRestoreFormControlState() const override;
HTMLSelectElement* shadowSelect() const;
};
}
#endif