diff options
author | Lorry Tar Creator <lorry-tar-importer@lorry> | 2017-06-27 06:07:23 +0000 |
---|---|---|
committer | Lorry Tar Creator <lorry-tar-importer@lorry> | 2017-06-27 06:07:23 +0000 |
commit | 1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c (patch) | |
tree | 46dcd36c86e7fbc6e5df36deb463b33e9967a6f7 /Source/WebCore/html/HTMLKeygenElement.h | |
parent | 32761a6cee1d0dee366b885b7b9c777e67885688 (diff) | |
download | WebKitGtk-tarball-master.tar.gz |
webkitgtk-2.16.5HEADwebkitgtk-2.16.5master
Diffstat (limited to 'Source/WebCore/html/HTMLKeygenElement.h')
-rw-r--r-- | Source/WebCore/html/HTMLKeygenElement.h | 35 |
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 |