summaryrefslogtreecommitdiffstats
path: root/WebCore/html/HTMLKeygenElement.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/html/HTMLKeygenElement.h')
-rw-r--r--WebCore/html/HTMLKeygenElement.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/WebCore/html/HTMLKeygenElement.h b/WebCore/html/HTMLKeygenElement.h
index 8b6b198..baa9a17 100644
--- a/WebCore/html/HTMLKeygenElement.h
+++ b/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 Apple Computer, Inc.
+ * Copyright (C) 2004, 2005, 2006, 2010 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
@@ -30,7 +30,10 @@ namespace WebCore {
class HTMLKeygenElement : public HTMLSelectElement {
public:
- HTMLKeygenElement(const QualifiedName&, Document*, HTMLFormElement* = 0);
+ static PassRefPtr<HTMLKeygenElement> create(const QualifiedName&, Document*, HTMLFormElement*);
+
+private:
+ HTMLKeygenElement(const QualifiedName&, Document*, HTMLFormElement*);
virtual int tagPriority() const { return 0; }
virtual const AtomicString& formControlType() const;
@@ -38,7 +41,6 @@ public:
virtual void parseMappedAttribute(Attribute*);
virtual bool appendFormData(FormDataList&, bool);
-private:
virtual bool isOptionalFormControl() const { return false; }
AtomicString m_challenge;