OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2008, 2009, 2011 Apple Inc. All rights reserved. | 2 * Copyright (C) 2008, 2009, 2011 Apple 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 1100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1111 | 1111 |
1112 const AtomicString& AXObject::containerLiveRegionRelevant() const | 1112 const AtomicString& AXObject::containerLiveRegionRelevant() const |
1113 { | 1113 { |
1114 updateCachedAttributeValuesIfNeeded(); | 1114 updateCachedAttributeValuesIfNeeded(); |
1115 return m_cachedLiveRegionRoot ? m_cachedLiveRegionRoot->liveRegionRelevant()
: nullAtom; | 1115 return m_cachedLiveRegionRoot ? m_cachedLiveRegionRoot->liveRegionRelevant()
: nullAtom; |
1116 } | 1116 } |
1117 | 1117 |
1118 bool AXObject::containerLiveRegionAtomic() const | 1118 bool AXObject::containerLiveRegionAtomic() const |
1119 { | 1119 { |
1120 updateCachedAttributeValuesIfNeeded(); | 1120 updateCachedAttributeValuesIfNeeded(); |
1121 return m_cachedLiveRegionRoot ? m_cachedLiveRegionRoot->liveRegionAtomic() :
false; | 1121 return m_cachedLiveRegionRoot && m_cachedLiveRegionRoot->liveRegionAtomic(); |
1122 } | 1122 } |
1123 | 1123 |
1124 bool AXObject::containerLiveRegionBusy() const | 1124 bool AXObject::containerLiveRegionBusy() const |
1125 { | 1125 { |
1126 updateCachedAttributeValuesIfNeeded(); | 1126 updateCachedAttributeValuesIfNeeded(); |
1127 return m_cachedLiveRegionRoot ? m_cachedLiveRegionRoot->liveRegionBusy() : f
alse; | 1127 return m_cachedLiveRegionRoot && m_cachedLiveRegionRoot->liveRegionBusy(); |
1128 } | 1128 } |
1129 | 1129 |
1130 void AXObject::markCachedElementRectDirty() const | 1130 void AXObject::markCachedElementRectDirty() const |
1131 { | 1131 { |
1132 for (const auto& child : m_children) | 1132 for (const auto& child : m_children) |
1133 child->markCachedElementRectDirty(); | 1133 child->markCachedElementRectDirty(); |
1134 } | 1134 } |
1135 | 1135 |
1136 IntPoint AXObject::clickPoint() | 1136 IntPoint AXObject::clickPoint() |
1137 { | 1137 { |
(...skipping 610 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1748 | 1748 |
1749 DEFINE_TRACE(AXObject) | 1749 DEFINE_TRACE(AXObject) |
1750 { | 1750 { |
1751 visitor->trace(m_children); | 1751 visitor->trace(m_children); |
1752 visitor->trace(m_parent); | 1752 visitor->trace(m_parent); |
1753 visitor->trace(m_cachedLiveRegionRoot); | 1753 visitor->trace(m_cachedLiveRegionRoot); |
1754 visitor->trace(m_axObjectCache); | 1754 visitor->trace(m_axObjectCache); |
1755 } | 1755 } |
1756 | 1756 |
1757 } // namespace blink | 1757 } // namespace blink |
OLD | NEW |