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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 | 90 |
91 void init() override; | 91 void init() override; |
92 void detach() override; | 92 void detach() override; |
93 bool isDetached() const override { return !m_node; } | 93 bool isDetached() const override { return !m_node; } |
94 bool isAXNodeObject() const final { return true; } | 94 bool isAXNodeObject() const final { return true; } |
95 | 95 |
96 // Check object role or purpose. | 96 // Check object role or purpose. |
97 bool isAnchor() const final; | 97 bool isAnchor() const final; |
98 bool isControl() const override; | 98 bool isControl() const override; |
99 bool isControllingVideoElement() const; | 99 bool isControllingVideoElement() const; |
100 bool isEditable() const override { return isTextControl(); } | 100 bool isEditable() const override { return isNativeTextControl(); } |
101 bool isEmbeddedObject() const final; | 101 bool isEmbeddedObject() const final; |
102 bool isFieldset() const final; | 102 bool isFieldset() const final; |
103 bool isHeading() const final; | 103 bool isHeading() const final; |
104 bool isHovered() const final; | 104 bool isHovered() const final; |
105 bool isImage() const final; | 105 bool isImage() const final; |
106 bool isImageButton() const; | 106 bool isImageButton() const; |
107 bool isInputImage() const final; | 107 bool isInputImage() const final; |
108 bool isLink() const override; | 108 bool isLink() const override; |
109 bool isMenu() const final; | 109 bool isMenu() const final; |
110 bool isMenuButton() const final; | 110 bool isMenuButton() const final; |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
211 bool isNativeCheckboxInMixedState() const; | 211 bool isNativeCheckboxInMixedState() const; |
212 String textFromDescendants(AXObjectSet& visited, bool recursive) const overr
ide; | 212 String textFromDescendants(AXObjectSet& visited, bool recursive) const overr
ide; |
213 String nativeTextAlternative(AXObjectSet& visited, AXNameFrom&, AXRelatedObj
ectVector*, NameSources*, bool* foundTextAlternative) const; | 213 String nativeTextAlternative(AXObjectSet& visited, AXNameFrom&, AXRelatedObj
ectVector*, NameSources*, bool* foundTextAlternative) const; |
214 float stepValueForRange() const; | 214 float stepValueForRange() const; |
215 bool isDescendantOfElementType(const HTMLQualifiedName& tagName) const; | 215 bool isDescendantOfElementType(const HTMLQualifiedName& tagName) const; |
216 }; | 216 }; |
217 | 217 |
218 } // namespace blink | 218 } // namespace blink |
219 | 219 |
220 #endif // AXNodeObject_h | 220 #endif // AXNodeObject_h |
OLD | NEW |