summaryrefslogtreecommitdiffstats
path: root/WebCore/html/HTMLHtmlElement.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/html/HTMLHtmlElement.h')
-rw-r--r--WebCore/html/HTMLHtmlElement.h15
1 files changed, 9 insertions, 6 deletions
diff --git a/WebCore/html/HTMLHtmlElement.h b/WebCore/html/HTMLHtmlElement.h
index de80ba8..ed04703 100644
--- a/WebCore/html/HTMLHtmlElement.h
+++ b/WebCore/html/HTMLHtmlElement.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,8 +30,14 @@ namespace WebCore {
class HTMLHtmlElement : public HTMLElement {
public:
+ static PassRefPtr<HTMLHtmlElement> create(Document*);
+ static PassRefPtr<HTMLHtmlElement> create(const QualifiedName&, Document*);
+
+ String version() const;
+ void setVersion(const String&);
+
+private:
HTMLHtmlElement(const QualifiedName&, Document*);
- ~HTMLHtmlElement();
virtual HTMLTagStatus endTagRequirement() const { return TagStatusRequired; }
virtual int tagPriority() const { return 11; }
@@ -40,11 +46,8 @@ public:
#if ENABLE(OFFLINE_WEB_APPLICATIONS)
virtual void insertedIntoDocument();
#endif
-
- String version() const;
- void setVersion(const String&);
};
-} //namespace
+} // namespace
#endif