summaryrefslogtreecommitdiffstats
path: root/WebCore/html/HTMLHeadElement.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/html/HTMLHeadElement.h')
-rw-r--r--WebCore/html/HTMLHeadElement.h18
1 files changed, 11 insertions, 7 deletions
diff --git a/WebCore/html/HTMLHeadElement.h b/WebCore/html/HTMLHeadElement.h
index 14a4409..a91f5f8 100644
--- a/WebCore/html/HTMLHeadElement.h
+++ b/WebCore/html/HTMLHeadElement.h
@@ -2,7 +2,7 @@
* Copyright (C) 1999 Lars Knoll (knoll@kde.org)
* (C) 1999 Antti Koivisto (koivisto@kde.org)
* (C) 2000 Simon Hausmann <hausmann@kde.org>
- * Copyright (C) 2004, 2006 Apple Computer, Inc.
+ * Copyright (C) 2004, 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,18 +30,22 @@ namespace WebCore {
class HTMLHeadElement : public HTMLElement {
public:
+ static PassRefPtr<HTMLHeadElement> create(Document*);
+ static PassRefPtr<HTMLHeadElement> create(const QualifiedName&, Document*);
+
+ String profile() const;
+ void setProfile(const String&);
+
+ virtual int tagPriority() const { return 10; }
+
+private:
HTMLHeadElement(const QualifiedName&, Document*);
- ~HTMLHeadElement();
virtual HTMLTagStatus endTagRequirement() const { return TagStatusOptional; }
- virtual int tagPriority() const { return 10; }
virtual bool childAllowed(Node* newChild);
virtual bool checkDTD(const Node* newChild);
-
- String profile() const;
- void setProfile(const String&);
};
-} //namespace
+} // namespace
#endif