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 AttributeModificationParams&) override; | 96 void parseAttribute(const AttributeModificationParams&) override; |
97 bool supportsFocus() const override; | 97 bool supportsFocus() const override; |
98 bool matchesEnabledPseudoClass() const override; | 98 bool matchesEnabledPseudoClass() const override; |
99 | 99 |
100 private: | 100 private: |
101 class NavigationHintSender; | 101 class NavigationHintSender; |
102 | 102 |
103 void attributeChanged(const AttributeModificationParams&) override; | 103 void attributeChanged(const AttributeModificationParams&) override; |
104 bool shouldHaveFocusAppearance() const final; | 104 bool shouldHaveFocusAppearance() const final; |
105 void dispatchFocusEvent(Element* oldFocusedElement, | 105 void dispatchFocusEvent( |
106 WebFocusType, | 106 Element* oldFocusedElement, |
107 InputDeviceCapabilities* sourceCapabilities) override; | 107 WebFocusType, |
108 void dispatchBlurEvent(Element* newFocusedElement, | 108 const InputDeviceCapabilitiesValue& sourceCapabilities) override; |
109 WebFocusType, | 109 void dispatchBlurEvent( |
110 InputDeviceCapabilities* sourceCapabilities) override; | 110 Element* newFocusedElement, |
| 111 WebFocusType, |
| 112 const InputDeviceCapabilitiesValue& sourceCapabilities) override; |
111 bool isMouseFocusable() const override; | 113 bool isMouseFocusable() const override; |
112 bool isKeyboardFocusable() const override; | 114 bool isKeyboardFocusable() const override; |
113 void defaultEventHandler(Event*) final; | 115 void defaultEventHandler(Event*) final; |
114 void setActive(bool = true) final; | 116 void setActive(bool = true) final; |
115 void accessKeyAction(bool sendMouseEvents) final; | 117 void accessKeyAction(bool sendMouseEvents) final; |
116 bool isURLAttribute(const Attribute&) const final; | 118 bool isURLAttribute(const Attribute&) const final; |
117 bool hasLegalLinkAttribute(const QualifiedName&) const final; | 119 bool hasLegalLinkAttribute(const QualifiedName&) const final; |
118 bool canStartSelection() const final; | 120 bool canStartSelection() const final; |
119 int tabIndex() const final; | 121 int tabIndex() const final; |
120 bool draggable() const final; | 122 bool draggable() const final; |
(...skipping 16 matching lines...) Expand all Loading... |
137 } | 139 } |
138 | 140 |
139 // Functions shared with the other anchor elements (i.e., SVG). | 141 // Functions shared with the other anchor elements (i.e., SVG). |
140 | 142 |
141 bool isEnterKeyKeydownEvent(Event*); | 143 bool isEnterKeyKeydownEvent(Event*); |
142 bool isLinkClick(Event*); | 144 bool isLinkClick(Event*); |
143 | 145 |
144 } // namespace blink | 146 } // namespace blink |
145 | 147 |
146 #endif // HTMLAnchorElement_h | 148 #endif // HTMLAnchorElement_h |
OLD | NEW |