| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
| 4 * (C) 2000 Simon Hausmann <hausmann@kde.org> | 4 * (C) 2000 Simon Hausmann <hausmann@kde.org> |
| 5 * Copyright (C) 2007, 2008, 2009, 2010 Apple Inc. All rights reserved. | 5 * Copyright (C) 2007, 2008, 2009, 2010 Apple Inc. All rights reserved. |
| 6 * | 6 * |
| 7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
| 8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
| 9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
| 10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 virtual String input() const OVERRIDE; | 72 virtual String input() const OVERRIDE; |
| 73 virtual void setInput(const String&) OVERRIDE; | 73 virtual void setInput(const String&) OVERRIDE; |
| 74 | 74 |
| 75 String text(); | 75 String text(); |
| 76 | 76 |
| 77 bool isLiveLink() const; | 77 bool isLiveLink() const; |
| 78 | 78 |
| 79 virtual bool willRespondToMouseClickEvents() OVERRIDE; | 79 virtual bool willRespondToMouseClickEvents() OVERRIDE; |
| 80 | 80 |
| 81 bool hasRel(uint32_t relation) const; | 81 bool hasRel(uint32_t relation) const; |
| 82 void setRel(const String&); | 82 void setRel(const AtomicString&); |
| 83 | 83 |
| 84 LinkHash visitedLinkHash() const; | 84 LinkHash visitedLinkHash() const; |
| 85 void invalidateCachedVisitedLinkHash() { m_cachedVisitedLinkHash = 0; } | 85 void invalidateCachedVisitedLinkHash() { m_cachedVisitedLinkHash = 0; } |
| 86 | 86 |
| 87 protected: | 87 protected: |
| 88 HTMLAnchorElement(const QualifiedName&, Document&); | 88 HTMLAnchorElement(const QualifiedName&, Document&); |
| 89 | 89 |
| 90 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; | 90 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; |
| 91 | 91 |
| 92 private: | 92 private: |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 139 // Functions shared with the other anchor elements (i.e., SVG). | 139 // Functions shared with the other anchor elements (i.e., SVG). |
| 140 | 140 |
| 141 bool isEnterKeyKeydownEvent(Event*); | 141 bool isEnterKeyKeydownEvent(Event*); |
| 142 bool isLinkClick(Event*); | 142 bool isLinkClick(Event*); |
| 143 | 143 |
| 144 DEFINE_NODE_TYPE_CASTS(HTMLAnchorElement, hasTagName(HTMLNames::aTag)); | 144 DEFINE_NODE_TYPE_CASTS(HTMLAnchorElement, hasTagName(HTMLNames::aTag)); |
| 145 | 145 |
| 146 } // namespace WebCore | 146 } // namespace WebCore |
| 147 | 147 |
| 148 #endif // HTMLAnchorElement_h | 148 #endif // HTMLAnchorElement_h |
| OLD | NEW |