summaryrefslogtreecommitdiffstats
path: root/WebCore/html/HTMLIsIndexElement.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/html/HTMLIsIndexElement.h')
-rw-r--r--WebCore/html/HTMLIsIndexElement.h22
1 files changed, 12 insertions, 10 deletions
diff --git a/WebCore/html/HTMLIsIndexElement.h b/WebCore/html/HTMLIsIndexElement.h
index f8124f6..528f3e2 100644
--- a/WebCore/html/HTMLIsIndexElement.h
+++ b/WebCore/html/HTMLIsIndexElement.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
@@ -20,6 +20,7 @@
* Boston, MA 02110-1301, USA.
*
*/
+
#ifndef HTMLIsIndexElement_h
#define HTMLIsIndexElement_h
@@ -29,21 +30,22 @@ namespace WebCore {
class HTMLIsIndexElement : public HTMLInputElement {
public:
- HTMLIsIndexElement(const QualifiedName&, Document *doc, HTMLFormElement *f = 0);
+ static PassRefPtr<HTMLIsIndexElement> create(Document*, HTMLFormElement*);
+ static PassRefPtr<HTMLIsIndexElement> create(const QualifiedName&, Document*, HTMLFormElement*);
+
+ String prompt() const;
+ void setPrompt(const String&);
+
+private:
+ HTMLIsIndexElement(const QualifiedName&, Document*, HTMLFormElement*);
virtual HTMLTagStatus endTagRequirement() const { return TagStatusForbidden; }
virtual int tagPriority() const { return 0; }
virtual bool canTriggerImplicitSubmission() const { return true; }
- virtual void parseMappedAttribute(Attribute* attr);
-
- String prompt() const;
- void setPrompt(const String &);
-
-protected:
- String m_prompt;
+ virtual void parseMappedAttribute(Attribute*);
};
-} //namespace
+} // namespace
#endif