summaryrefslogtreecommitdiffstats
path: root/WebCore/html/HTMLMapElement.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/html/HTMLMapElement.h')
-rw-r--r--WebCore/html/HTMLMapElement.h21
1 files changed, 12 insertions, 9 deletions
diff --git a/WebCore/html/HTMLMapElement.h b/WebCore/html/HTMLMapElement.h
index 8dc9edf..9c8ab79 100644
--- a/WebCore/html/HTMLMapElement.h
+++ b/WebCore/html/HTMLMapElement.h
@@ -1,7 +1,7 @@
/*
* Copyright (C) 1999 Lars Knoll (knoll@kde.org)
* (C) 1999 Antti Koivisto (koivisto@kde.org)
- * Copyright (C) 2004 Apple Computer, Inc.
+ * Copyright (C) 2004, 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
@@ -33,17 +33,12 @@ class HTMLImageElement;
class HTMLMapElement : public HTMLElement {
public:
- HTMLMapElement(const QualifiedName&, Document*);
- ~HTMLMapElement();
-
- virtual HTMLTagStatus endTagRequirement() const { return TagStatusRequired; }
- virtual int tagPriority() const { return 1; }
- virtual bool checkDTD(const Node*);
+ static PassRefPtr<HTMLMapElement> create(Document*);
+ static PassRefPtr<HTMLMapElement> create(const QualifiedName&, Document*);
+ virtual ~HTMLMapElement();
const AtomicString& getName() const { return m_name; }
- virtual void parseMappedAttribute(Attribute*);
-
bool mapMouseEvent(int x, int y, const IntSize&, HitTestResult&);
HTMLImageElement* imageElement() const;
@@ -53,6 +48,14 @@ public:
void setName(const String&);
private:
+ HTMLMapElement(const QualifiedName&, Document*);
+
+ virtual HTMLTagStatus endTagRequirement() const { return TagStatusRequired; }
+ virtual int tagPriority() const { return 1; }
+ virtual bool checkDTD(const Node*);
+
+ virtual void parseMappedAttribute(Attribute*);
+
AtomicString m_name;
};