Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(307)

Side by Side Diff: third_party/WebKit/Source/modules/accessibility/AXObjectImpl.cpp

Issue 2890723003: Slider events with valuetext (Closed)
Patch Set: Fix test Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/WebKit/Source/modules/accessibility/AXObjectImpl.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/modules/accessibility/AXObjectImpl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698