HTMLKeygenElement.h [plain text]
#pragma once
#include "HTMLFormControlElementWithState.h"
namespace WebCore {
class HTMLSelectElement;
class HTMLKeygenElement final : public HTMLFormControlElementWithState {
WTF_MAKE_ISO_ALLOCATED(HTMLKeygenElement);
public:
static Ref<HTMLKeygenElement> create(const QualifiedName&, Document&, HTMLFormElement*);
void setKeytype(const AtomString&);
String keytype() const;
private:
HTMLKeygenElement(const QualifiedName&, Document&, HTMLFormElement*);
bool computeWillValidate() const final { return false; }
bool canStartSelection() const final { return false; }
void parseAttribute(const QualifiedName&, const AtomString&) final;
bool appendFormData(DOMFormData&, bool) final;
const AtomString& formControlType() const final;
bool isOptionalFormControl() const final { return false; }
bool isEnumeratable() const final { return true; }
bool supportLabels() const final { return true; }
int defaultTabIndex() const final;
void reset() final;
bool shouldSaveAndRestoreFormControlState() const final;
bool isKeytypeRSA() const;
HTMLSelectElement* shadowSelect() const;
};
}