| 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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 LinkHash visitedLinkHash() const; | 86 LinkHash visitedLinkHash() const; |
| 87 void invalidateCachedVisitedLinkHash() { m_cachedVisitedLinkHash = 0; } | 87 void invalidateCachedVisitedLinkHash() { m_cachedVisitedLinkHash = 0; } |
| 88 | 88 |
| 89 void sendPings(const KURL& destinationURL) const; | 89 void sendPings(const KURL& destinationURL) const; |
| 90 | 90 |
| 91 DECLARE_VIRTUAL_TRACE(); | 91 DECLARE_VIRTUAL_TRACE(); |
| 92 | 92 |
| 93 protected: | 93 protected: |
| 94 HTMLAnchorElement(const QualifiedName&, Document&); | 94 HTMLAnchorElement(const QualifiedName&, Document&); |
| 95 | 95 |
| 96 void parseAttribute(const QualifiedName&, | 96 void parseAttribute(const AttributeModificationParams&) override; |
| 97 const AtomicString&, | |
| 98 const AtomicString&) override; | |
| 99 bool supportsFocus() const override; | 97 bool supportsFocus() const override; |
| 100 bool matchesEnabledPseudoClass() const override; | 98 bool matchesEnabledPseudoClass() const override; |
| 101 | 99 |
| 102 private: | 100 private: |
| 103 class NavigationHintSender; | 101 class NavigationHintSender; |
| 104 | 102 |
| 105 void attributeChanged(const QualifiedName&, | 103 void attributeChanged(const AttributeModificationParams&) override; |
| 106 const AtomicString&, | |
| 107 const AtomicString&, | |
| 108 AttributeModificationReason) override; | |
| 109 bool shouldHaveFocusAppearance() const final; | 104 bool shouldHaveFocusAppearance() const final; |
| 110 void dispatchFocusEvent(Element* oldFocusedElement, | 105 void dispatchFocusEvent(Element* oldFocusedElement, |
| 111 WebFocusType, | 106 WebFocusType, |
| 112 InputDeviceCapabilities* sourceCapabilities) override; | 107 InputDeviceCapabilities* sourceCapabilities) override; |
| 113 void dispatchBlurEvent(Element* newFocusedElement, | 108 void dispatchBlurEvent(Element* newFocusedElement, |
| 114 WebFocusType, | 109 WebFocusType, |
| 115 InputDeviceCapabilities* sourceCapabilities) override; | 110 InputDeviceCapabilities* sourceCapabilities) override; |
| 116 bool isMouseFocusable() const override; | 111 bool isMouseFocusable() const override; |
| 117 bool isKeyboardFocusable() const override; | 112 bool isKeyboardFocusable() const override; |
| 118 void defaultEventHandler(Event*) final; | 113 void defaultEventHandler(Event*) final; |
| (...skipping 23 matching lines...) Expand all Loading... |
| 142 } | 137 } |
| 143 | 138 |
| 144 // Functions shared with the other anchor elements (i.e., SVG). | 139 // Functions shared with the other anchor elements (i.e., SVG). |
| 145 | 140 |
| 146 bool isEnterKeyKeydownEvent(Event*); | 141 bool isEnterKeyKeydownEvent(Event*); |
| 147 bool isLinkClick(Event*); | 142 bool isLinkClick(Event*); |
| 148 | 143 |
| 149 } // namespace blink | 144 } // namespace blink |
| 150 | 145 |
| 151 #endif // HTMLAnchorElement_h | 146 #endif // HTMLAnchorElement_h |
| OLD | NEW |