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