| 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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 | 89 |
| 90 // | 90 // |
| 91 // Overridden from AXObject. | 91 // Overridden from AXObject. |
| 92 // | 92 // |
| 93 | 93 |
| 94 void init() override; | 94 void init() override; |
| 95 void detach() override; | 95 void detach() override; |
| 96 bool isDetached() const override { return !m_node; } | 96 bool isDetached() const override { return !m_node; } |
| 97 bool isAXNodeObject() const final { return true; } | 97 bool isAXNodeObject() const final { return true; } |
| 98 | 98 |
| 99 void getSparseAXAttributes(AXSparseAttributeClient&) const override; |
| 100 |
| 99 // Check object role or purpose. | 101 // Check object role or purpose. |
| 100 bool isAnchor() const final; | 102 bool isAnchor() const final; |
| 101 bool isControl() const override; | 103 bool isControl() const override; |
| 102 bool isControllingVideoElement() const; | 104 bool isControllingVideoElement() const; |
| 103 bool isEditable() const override { return isNativeTextControl(); } | 105 bool isEditable() const override { return isNativeTextControl(); } |
| 104 bool isEmbeddedObject() const final; | 106 bool isEmbeddedObject() const final; |
| 105 bool isFieldset() const final; | 107 bool isFieldset() const final; |
| 106 bool isHeading() const final; | 108 bool isHeading() const final; |
| 107 bool isHovered() const final; | 109 bool isHovered() const final; |
| 108 bool isImage() const final; | 110 bool isImage() const final; |
| (...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 233 NameSources*, | 235 NameSources*, |
| 234 bool* foundTextAlternative) const; | 236 bool* foundTextAlternative) const; |
| 235 float stepValueForRange() const; | 237 float stepValueForRange() const; |
| 236 bool isDescendantOfElementType(const HTMLQualifiedName& tagName) const; | 238 bool isDescendantOfElementType(const HTMLQualifiedName& tagName) const; |
| 237 String placeholderFromNativeAttribute() const; | 239 String placeholderFromNativeAttribute() const; |
| 238 }; | 240 }; |
| 239 | 241 |
| 240 } // namespace blink | 242 } // namespace blink |
| 241 | 243 |
| 242 #endif // AXNodeObject_h | 244 #endif // AXNodeObject_h |
| OLD | NEW |