summaryrefslogtreecommitdiffstats
path: root/WebCore/html/HTMLParagraphElement.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/html/HTMLParagraphElement.h')
-rw-r--r--WebCore/html/HTMLParagraphElement.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/WebCore/html/HTMLParagraphElement.h b/WebCore/html/HTMLParagraphElement.h
index 496951a..26e34a7 100644
--- a/WebCore/html/HTMLParagraphElement.h
+++ b/WebCore/html/HTMLParagraphElement.h
@@ -1,6 +1,7 @@
/*
* Copyright (C) 1999 Lars Knoll (knoll@kde.org)
* (C) 1999 Antti Koivisto (koivisto@kde.org)
+ * Copyright (C) 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
@@ -28,6 +29,12 @@ namespace WebCore {
class HTMLParagraphElement : public HTMLElement {
public:
+ static PassRefPtr<HTMLParagraphElement> create(const QualifiedName&, Document*);
+
+ String align() const;
+ void setAlign(const String&);
+
+private:
HTMLParagraphElement(const QualifiedName&, Document*);
virtual HTMLTagStatus endTagRequirement() const { return TagStatusRequired; }
@@ -36,9 +43,6 @@ public:
virtual bool mapToEntry(const QualifiedName&, MappedAttributeEntry&) const;
virtual void parseMappedAttribute(Attribute*);
-
- String align() const;
- void setAlign(const String&);
};
} // namespace WebCore