summaryrefslogtreecommitdiffstats
path: root/WebCore/html/HTMLModElement.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/html/HTMLModElement.h')
-rw-r--r--WebCore/html/HTMLModElement.h15
1 files changed, 9 insertions, 6 deletions
diff --git a/WebCore/html/HTMLModElement.h b/WebCore/html/HTMLModElement.h
index 9d9e6c1..af003d7 100644
--- a/WebCore/html/HTMLModElement.h
+++ b/WebCore/html/HTMLModElement.h
@@ -2,6 +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) 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
@@ -19,6 +20,7 @@
* Boston, MA 02110-1301, USA.
*
*/
+
#ifndef HTMLModElement_h
#define HTMLModElement_h
@@ -26,20 +28,21 @@
namespace WebCore {
-class String;
-
class HTMLModElement : public HTMLElement {
public:
- HTMLModElement(const QualifiedName&, Document*);
-
- virtual HTMLTagStatus endTagRequirement() const { return TagStatusRequired; }
- virtual int tagPriority() const { return 1; }
+ static PassRefPtr<HTMLModElement> create(const QualifiedName&, Document*);
String cite() const;
void setCite(const String&);
String dateTime() const;
void setDateTime(const String&);
+
+private:
+ HTMLModElement(const QualifiedName&, Document*);
+
+ virtual HTMLTagStatus endTagRequirement() const { return TagStatusRequired; }
+ virtual int tagPriority() const { return 1; }
};
} //namespace