| 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 | 95 |
| 96 void parseAttribute(const QualifiedName&, | 96 void parseAttribute(const QualifiedName&, |
| 97 const AtomicString&, | 97 const AtomicString&, |
| 98 const AtomicString&) override; | 98 const AtomicString&) override; |
| 99 bool supportsFocus() const override; | 99 bool supportsFocus() const override; |
| 100 bool matchesEnabledPseudoClass() const override; | 100 bool matchesEnabledPseudoClass() const override; |
| 101 | 101 |
| 102 private: | 102 private: |
| 103 class NavigationHintSender; | 103 class NavigationHintSender; |
| 104 | 104 |
| 105 void attributeChanged(const QualifiedName&, |
| 106 const AtomicString&, |
| 107 const AtomicString&, |
| 108 AttributeModificationReason) override; |
| 105 bool shouldHaveFocusAppearance() const final; | 109 bool shouldHaveFocusAppearance() const final; |
| 106 void dispatchFocusEvent(Element* oldFocusedElement, | 110 void dispatchFocusEvent(Element* oldFocusedElement, |
| 107 WebFocusType, | 111 WebFocusType, |
| 108 InputDeviceCapabilities* sourceCapabilities) override; | 112 InputDeviceCapabilities* sourceCapabilities) override; |
| 109 void dispatchBlurEvent(Element* newFocusedElement, | 113 void dispatchBlurEvent(Element* newFocusedElement, |
| 110 WebFocusType, | 114 WebFocusType, |
| 111 InputDeviceCapabilities* sourceCapabilities) override; | 115 InputDeviceCapabilities* sourceCapabilities) override; |
| 112 bool isMouseFocusable() const override; | 116 bool isMouseFocusable() const override; |
| 113 bool isKeyboardFocusable() const override; | 117 bool isKeyboardFocusable() const override; |
| 114 void defaultEventHandler(Event*) final; | 118 void defaultEventHandler(Event*) final; |
| (...skipping 23 matching lines...) Expand all Loading... |
| 138 } | 142 } |
| 139 | 143 |
| 140 // Functions shared with the other anchor elements (i.e., SVG). | 144 // Functions shared with the other anchor elements (i.e., SVG). |
| 141 | 145 |
| 142 bool isEnterKeyKeydownEvent(Event*); | 146 bool isEnterKeyKeydownEvent(Event*); |
| 143 bool isLinkClick(Event*); | 147 bool isLinkClick(Event*); |
| 144 | 148 |
| 145 } // namespace blink | 149 } // namespace blink |
| 146 | 150 |
| 147 #endif // HTMLAnchorElement_h | 151 #endif // HTMLAnchorElement_h |
| OLD | NEW |