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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 bool isLiveLink() const; | 95 bool isLiveLink() const; |
96 | 96 |
97 virtual bool willRespondToMouseClickEvents() OVERRIDE; | 97 virtual bool willRespondToMouseClickEvents() OVERRIDE; |
98 | 98 |
99 bool hasRel(uint32_t relation) const; | 99 bool hasRel(uint32_t relation) const; |
100 void setRel(const String&); | 100 void setRel(const String&); |
101 | 101 |
102 LinkHash visitedLinkHash() const; | 102 LinkHash visitedLinkHash() const; |
103 void invalidateCachedVisitedLinkHash() { m_cachedVisitedLinkHash = 0; } | 103 void invalidateCachedVisitedLinkHash() { m_cachedVisitedLinkHash = 0; } |
104 | 104 |
105 virtual void acceptHeapVisitor(Visitor* visitor) const { HTMLElement::accept
HeapVisitor(visitor); } | |
106 | |
107 protected: | 105 protected: |
108 HTMLAnchorElement(const QualifiedName&, Handle<Document>); | 106 HTMLAnchorElement(const QualifiedName&, Handle<Document>); |
109 | 107 |
110 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; | 108 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; |
111 | 109 |
| 110 virtual void acceptHeapVisitor(Visitor*) const OVERRIDE; |
| 111 |
112 private: | 112 private: |
113 virtual bool supportsFocus() const; | 113 virtual bool supportsFocus() const; |
114 virtual bool isMouseFocusable() const; | 114 virtual bool isMouseFocusable() const; |
115 virtual bool isKeyboardFocusable(KeyboardEvent*) const; | 115 virtual bool isKeyboardFocusable(KeyboardEvent*) const; |
116 virtual void defaultEventHandler(Event*); | 116 virtual void defaultEventHandler(Event*); |
117 virtual void setActive(bool active = true, bool pause = false); | 117 virtual void setActive(bool active = true, bool pause = false); |
118 virtual void accessKeyAction(bool sendMouseEvents); | 118 virtual void accessKeyAction(bool sendMouseEvents); |
119 virtual bool isURLAttribute(const Attribute&) const OVERRIDE; | 119 virtual bool isURLAttribute(const Attribute&) const OVERRIDE; |
120 virtual bool canStartSelection() const; | 120 virtual bool canStartSelection() const; |
121 virtual String target() const; | 121 virtual String target() const; |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
156 } | 156 } |
157 | 157 |
158 // Functions shared with the other anchor elements (i.e., SVG). | 158 // Functions shared with the other anchor elements (i.e., SVG). |
159 | 159 |
160 bool isEnterKeyKeydownEvent(Event*); | 160 bool isEnterKeyKeydownEvent(Event*); |
161 bool isLinkClick(Event*); | 161 bool isLinkClick(Event*); |
162 | 162 |
163 } // namespace WebCore | 163 } // namespace WebCore |
164 | 164 |
165 #endif // HTMLAnchorElement_h | 165 #endif // HTMLAnchorElement_h |
OLD | NEW |