summaryrefslogtreecommitdiffstats
path: root/WebCore/html/HTMLAreaElement.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/html/HTMLAreaElement.h')
-rw-r--r--WebCore/html/HTMLAreaElement.h27
1 files changed, 14 insertions, 13 deletions
diff --git a/WebCore/html/HTMLAreaElement.h b/WebCore/html/HTMLAreaElement.h
index 7de5832..19533b1 100644
--- a/WebCore/html/HTMLAreaElement.h
+++ b/WebCore/html/HTMLAreaElement.h
@@ -1,7 +1,7 @@
/*
* Copyright (C) 1999 Lars Knoll (knoll@kde.org)
* (C) 1999 Antti Koivisto (koivisto@kde.org)
- * Copyright (C) 2004, 2008 Apple Inc. All rights reserved.
+ * Copyright (C) 2004, 2008, 2009 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
@@ -25,11 +25,11 @@
#include "HTMLAnchorElement.h"
#include "IntSize.h"
-#include "Path.h"
namespace WebCore {
class HitTestResult;
+class Path;
class HTMLAreaElement : public HTMLAnchorElement {
public:
@@ -47,33 +47,34 @@ public:
virtual IntRect getRect(RenderObject*) const;
- String accessKey() const;
- void setAccessKey(const String&);
+ const AtomicString& accessKey() const;
+ void setAccessKey(const AtomicString&);
- String alt() const;
- void setAlt(const String&);
+ const AtomicString& alt() const;
+ void setAlt(const AtomicString&);
- String coords() const;
- void setCoords(const String&);
+ const AtomicString& coords() const;
+ void setCoords(const AtomicString&);
KURL href() const;
- void setHref(const String&);
+ void setHref(const AtomicString&);
bool noHref() const;
void setNoHref(bool);
- String shape() const;
- void setShape(const String&);
+ const AtomicString& shape() const;
+ void setShape(const AtomicString&);
virtual bool isFocusable() const;
virtual String target() const;
- void setTarget(const String&);
+ void setTarget(const AtomicString&);
private:
enum Shape { Default, Poly, Rect, Circle, Unknown };
Path getRegion(const IntSize&) const;
- Path region;
+
+ OwnPtr<Path> m_region;
Length* m_coords;
int m_coordsLen;
IntSize m_lastSize;