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 1113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1124 } | 1124 } |
1125 | 1125 |
1126 bool AXObjectImpl::SupportsARIAAttributes() const { | 1126 bool AXObjectImpl::SupportsARIAAttributes() const { |
1127 return IsLiveRegion() || SupportsARIADragging() || SupportsARIADropping() || | 1127 return IsLiveRegion() || SupportsARIADragging() || SupportsARIADropping() || |
1128 SupportsARIAFlowTo() || SupportsARIAOwns() || | 1128 SupportsARIAFlowTo() || SupportsARIAOwns() || |
1129 HasAttribute(aria_labelAttr); | 1129 HasAttribute(aria_labelAttr); |
1130 } | 1130 } |
1131 | 1131 |
1132 bool AXObjectImpl::SupportsRangeValue() const { | 1132 bool AXObjectImpl::SupportsRangeValue() const { |
1133 return IsProgressIndicator() || IsMeter() || IsSlider() || IsScrollbar() || | 1133 return IsProgressIndicator() || IsMeter() || IsSlider() || IsScrollbar() || |
1134 IsSpinButton(); | 1134 IsSpinButton() || IsMoveableSplitter(); |
1135 } | 1135 } |
1136 | 1136 |
1137 bool AXObjectImpl::SupportsSetSizeAndPosInSet() const { | 1137 bool AXObjectImpl::SupportsSetSizeAndPosInSet() const { |
1138 AXObjectImpl* parent = ParentObjectUnignored(); | 1138 AXObjectImpl* parent = ParentObjectUnignored(); |
1139 if (!parent) | 1139 if (!parent) |
1140 return false; | 1140 return false; |
1141 | 1141 |
1142 int role = RoleValue(); | 1142 int role = RoleValue(); |
1143 int parent_role = parent->RoleValue(); | 1143 int parent_role = parent->RoleValue(); |
1144 | 1144 |
(...skipping 877 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2022 } | 2022 } |
2023 | 2023 |
2024 DEFINE_TRACE(AXObjectImpl) { | 2024 DEFINE_TRACE(AXObjectImpl) { |
2025 visitor->Trace(children_); | 2025 visitor->Trace(children_); |
2026 visitor->Trace(parent_); | 2026 visitor->Trace(parent_); |
2027 visitor->Trace(cached_live_region_root_); | 2027 visitor->Trace(cached_live_region_root_); |
2028 visitor->Trace(ax_object_cache_); | 2028 visitor->Trace(ax_object_cache_); |
2029 } | 2029 } |
2030 | 2030 |
2031 } // namespace blink | 2031 } // namespace blink |
OLD | NEW |