OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012, Google Inc. All rights reserved. | 2 * Copyright (C) 2012, Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * | 7 * |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 bool isControl() const override; | 102 bool isControl() const override; |
103 bool isControllingVideoElement() const; | 103 bool isControllingVideoElement() const; |
104 bool isEditable() const override { return isTextControl(); } | 104 bool isEditable() const override { return isTextControl(); } |
105 bool isEmbeddedObject() const final; | 105 bool isEmbeddedObject() const final; |
106 bool isFieldset() const final; | 106 bool isFieldset() const final; |
107 bool isHeading() const final; | 107 bool isHeading() const final; |
108 bool isHovered() const final; | 108 bool isHovered() const final; |
109 bool isImage() const final; | 109 bool isImage() const final; |
110 bool isImageButton() const; | 110 bool isImageButton() const; |
111 bool isInputImage() const final; | 111 bool isInputImage() const final; |
112 bool isLink() const final; | 112 bool isLink() const override; |
113 bool isMenu() const final; | 113 bool isMenu() const final; |
114 bool isMenuButton() const final; | 114 bool isMenuButton() const final; |
115 bool isMeter() const final; | 115 bool isMeter() const final; |
116 bool isMultiSelectable() const override; | 116 bool isMultiSelectable() const override; |
117 bool isNativeImage() const; | 117 bool isNativeImage() const; |
118 bool isNativeTextControl() const final; | 118 bool isNativeTextControl() const final; |
119 bool isNonNativeTextControl() const final; | 119 bool isNonNativeTextControl() const final; |
120 bool isPasswordField() const final; | 120 bool isPasswordField() const final; |
121 bool isProgressIndicator() const override; | 121 bool isProgressIndicator() const override; |
122 bool isRichlyEditable() const override { return hasContentEditableAttributeS
et(); } | 122 bool isRichlyEditable() const override { return hasContentEditableAttributeS
et(); } |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
184 | 184 |
185 // Low-level accessibility tree exploration. | 185 // Low-level accessibility tree exploration. |
186 AXObject* firstChild() const override; | 186 AXObject* firstChild() const override; |
187 AXObject* nextSibling() const override; | 187 AXObject* nextSibling() const override; |
188 void addChildren() override; | 188 void addChildren() override; |
189 bool canHaveChildren() const override; | 189 bool canHaveChildren() const override; |
190 void addChild(AXObject*); | 190 void addChild(AXObject*); |
191 void insertChild(AXObject*, unsigned index); | 191 void insertChild(AXObject*, unsigned index); |
192 | 192 |
193 // DOM and Render tree access. | 193 // DOM and Render tree access. |
194 Element* actionElement() const final; | 194 Element* actionElement() const override; |
195 Element* anchorElement() const override; | 195 Element* anchorElement() const override; |
196 Document* document() const override; | 196 Document* document() const override; |
197 Node* node() const override { return m_node; } | 197 Node* node() const override { return m_node; } |
198 | 198 |
199 // Modify or take an action on an object. | 199 // Modify or take an action on an object. |
200 void setFocused(bool) final; | 200 void setFocused(bool) final; |
201 void increment() final; | 201 void increment() final; |
202 void decrement() final; | 202 void decrement() final; |
203 | 203 |
204 // Notifications that this object may have changed. | 204 // Notifications that this object may have changed. |
(...skipping 24 matching lines...) Expand all Loading... |
229 float stepValueForRange() const; | 229 float stepValueForRange() const; |
230 AXObject* findChildWithTagName(const HTMLQualifiedName&) const; | 230 AXObject* findChildWithTagName(const HTMLQualifiedName&) const; |
231 bool isDescendantOfElementType(const HTMLQualifiedName& tagName) const; | 231 bool isDescendantOfElementType(const HTMLQualifiedName& tagName) const; |
232 }; | 232 }; |
233 | 233 |
234 DEFINE_AX_OBJECT_TYPE_CASTS(AXNodeObject, isAXNodeObject()); | 234 DEFINE_AX_OBJECT_TYPE_CASTS(AXNodeObject, isAXNodeObject()); |
235 | 235 |
236 } // namespace blink | 236 } // namespace blink |
237 | 237 |
238 #endif // AXNodeObject_h | 238 #endif // AXNodeObject_h |
OLD | NEW |