summaryrefslogtreecommitdiff
path: root/Source/WebCore/html/HTMLKeygenElement.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/html/HTMLKeygenElement.h')
-rw-r--r--Source/WebCore/html/HTMLKeygenElement.h35
1 files changed, 17 insertions, 18 deletions
diff --git a/Source/WebCore/html/HTMLKeygenElement.h b/Source/WebCore/html/HTMLKeygenElement.h
index c0f59ee37..fc1def425 100644
--- a/Source/WebCore/html/HTMLKeygenElement.h
+++ b/Source/WebCore/html/HTMLKeygenElement.h
@@ -2,7 +2,7 @@
* Copyright (C) 1999 Lars Knoll (knoll@kde.org)
* (C) 1999 Antti Koivisto (koivisto@kde.org)
* (C) 2000 Dirk Mueller (mueller@kde.org)
- * Copyright (C) 2004, 2005, 2006, 2010 Apple Inc. All rights reserved.
+ * Copyright (C) 2004, 2005, 2006, 2010, 2014 Apple Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
@@ -21,8 +21,7 @@
*
*/
-#ifndef HTMLKeygenElement_h
-#define HTMLKeygenElement_h
+#pragma once
#include "HTMLFormControlElementWithState.h"
@@ -32,32 +31,32 @@ class HTMLSelectElement;
class HTMLKeygenElement final : public HTMLFormControlElementWithState {
public:
- static PassRefPtr<HTMLKeygenElement> create(const QualifiedName&, Document&, HTMLFormElement*);
+ static Ref<HTMLKeygenElement> create(const QualifiedName&, Document&, HTMLFormElement*);
- virtual bool willValidate() const override { return false; }
+ void setKeytype(const AtomicString&);
+ String keytype() const;
private:
HTMLKeygenElement(const QualifiedName&, Document&, HTMLFormElement*);
- virtual bool areAuthorShadowsAllowed() const override { return false; }
+ bool computeWillValidate() const final { return false; }
+ bool canStartSelection() const final { return false; }
- virtual bool canStartSelection() const override { return false; }
+ void parseAttribute(const QualifiedName&, const AtomicString&) final;
- virtual void parseAttribute(const QualifiedName&, const AtomicString&) override;
+ bool appendFormData(FormDataList&, bool) final;
+ const AtomicString& formControlType() const final;
+ bool isOptionalFormControl() const final { return false; }
- virtual bool appendFormData(FormDataList&, bool) override;
- virtual const AtomicString& formControlType() const override;
- virtual bool isOptionalFormControl() const override { return false; }
+ bool isEnumeratable() const final { return true; }
+ bool supportLabels() const final { return true; }
- virtual bool isEnumeratable() const override { return true; }
- virtual bool supportLabels() const override { return true; }
+ void reset() final;
+ bool shouldSaveAndRestoreFormControlState() const final;
- virtual void reset() override;
- virtual bool shouldSaveAndRestoreFormControlState() const override;
+ bool isKeytypeRSA() const;
HTMLSelectElement* shadowSelect() const;
};
-} //namespace
-
-#endif
+} // namespace WebCore