diff options
Diffstat (limited to 'WebCore/html/HTMLHeadingElement.h')
-rw-r--r-- | WebCore/html/HTMLHeadingElement.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/WebCore/html/HTMLHeadingElement.h b/WebCore/html/HTMLHeadingElement.h index 765bede..e783360 100644 --- a/WebCore/html/HTMLHeadingElement.h +++ b/WebCore/html/HTMLHeadingElement.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,14 +29,17 @@ namespace WebCore { class HTMLHeadingElement : public HTMLElement { public: + static PassRefPtr<HTMLHeadingElement> create(const QualifiedName&, Document*); + + String align() const; + void setAlign(const String&); + +private: HTMLHeadingElement(const QualifiedName&, Document*); virtual HTMLTagStatus endTagRequirement() const { return TagStatusRequired; } virtual int tagPriority() const { return 5; } virtual bool checkDTD(const Node* newChild); - - String align() const; - void setAlign(const String&); }; } // namespace WebCore |