| 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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 | 48 |
| 49 public: | 49 public: |
| 50 static AXNodeObject* create(Node*, AXObjectCacheImpl&); | 50 static AXNodeObject* create(Node*, AXObjectCacheImpl&); |
| 51 ~AXNodeObject() override; | 51 ~AXNodeObject() override; |
| 52 DECLARE_VIRTUAL_TRACE(); | 52 DECLARE_VIRTUAL_TRACE(); |
| 53 | 53 |
| 54 protected: | 54 protected: |
| 55 // Protected data. | 55 // Protected data. |
| 56 AccessibilityRole m_ariaRole; | 56 AccessibilityRole m_ariaRole; |
| 57 bool m_childrenDirty; | 57 bool m_childrenDirty; |
| 58 #if ENABLE(ASSERT) | 58 #if DCHECK_IS_ON() |
| 59 bool m_initialized; | 59 bool m_initialized = false; |
| 60 #endif | 60 #endif |
| 61 | 61 |
| 62 bool computeAccessibilityIsIgnored(IgnoredReasons* = nullptr) const override; | 62 bool computeAccessibilityIsIgnored(IgnoredReasons* = nullptr) const override; |
| 63 const AXObject* inheritsPresentationalRoleFrom() const override; | 63 const AXObject* inheritsPresentationalRoleFrom() const override; |
| 64 virtual AccessibilityRole determineAccessibilityRole(); | 64 virtual AccessibilityRole determineAccessibilityRole(); |
| 65 virtual AccessibilityRole nativeAccessibilityRoleIgnoringAria() const; | 65 virtual AccessibilityRole nativeAccessibilityRoleIgnoringAria() const; |
| 66 String accessibilityDescriptionForElements( | 66 String accessibilityDescriptionForElements( |
| 67 HeapVector<Member<Element>>& elements) const; | 67 HeapVector<Member<Element>>& elements) const; |
| 68 void alterSliderValue(bool increase); | 68 void alterSliderValue(bool increase); |
| 69 AXObject* activeDescendant() override; | 69 AXObject* activeDescendant() override; |
| (...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 233 NameSources*, | 233 NameSources*, |
| 234 bool* foundTextAlternative) const; | 234 bool* foundTextAlternative) const; |
| 235 float stepValueForRange() const; | 235 float stepValueForRange() const; |
| 236 bool isDescendantOfElementType(const HTMLQualifiedName& tagName) const; | 236 bool isDescendantOfElementType(const HTMLQualifiedName& tagName) const; |
| 237 String placeholderFromNativeAttribute() const; | 237 String placeholderFromNativeAttribute() const; |
| 238 }; | 238 }; |
| 239 | 239 |
| 240 } // namespace blink | 240 } // namespace blink |
| 241 | 241 |
| 242 #endif // AXNodeObject_h | 242 #endif // AXNodeObject_h |
| OLD | NEW |