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

Side by Side Diff: third_party/WebKit/Source/modules/accessibility/AXNodeObject.h

Issue 1841333002: Various fixes for aria-activedescendant. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added selectable and selected states to ARIA list box options. Created 4 years, 8 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
OLDNEW
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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 bool isClickable() const final; 123 bool isClickable() const final;
124 bool isEnabled() const override; 124 bool isEnabled() const override;
125 AccessibilityExpanded isExpanded() const override; 125 AccessibilityExpanded isExpanded() const override;
126 bool isPressed() const final; 126 bool isPressed() const final;
127 bool isReadOnly() const override; 127 bool isReadOnly() const override;
128 bool isRequired() const final; 128 bool isRequired() const final;
129 129
130 // Check whether certain properties can be modified. 130 // Check whether certain properties can be modified.
131 bool canSetFocusAttribute() const override; 131 bool canSetFocusAttribute() const override;
132 bool canSetValueAttribute() const override; 132 bool canSetValueAttribute() const override;
133 bool canSetSelectedAttribute() const override;
133 134
134 // Properties of static elements. 135 // Properties of static elements.
135 RGBA32 colorValue() const final; 136 RGBA32 colorValue() const final;
136 bool canvasHasFallbackContent() const final; 137 bool canvasHasFallbackContent() const final;
137 int headingLevel() const final; 138 int headingLevel() const final;
138 unsigned hierarchicalLevel() const final; 139 unsigned hierarchicalLevel() const final;
139 AccessibilityOrientation orientation() const override; 140 AccessibilityOrientation orientation() const override;
140 String text() const override; 141 String text() const override;
141 142
142 // Properties of interactive elements. 143 // Properties of interactive elements.
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 bool isNativeCheckboxInMixedState() const; 208 bool isNativeCheckboxInMixedState() const;
208 String textFromDescendants(AXObjectSet& visited, bool recursive) const overr ide; 209 String textFromDescendants(AXObjectSet& visited, bool recursive) const overr ide;
209 String nativeTextAlternative(AXObjectSet& visited, AXNameFrom&, AXRelatedObj ectVector*, NameSources*, bool* foundTextAlternative) const; 210 String nativeTextAlternative(AXObjectSet& visited, AXNameFrom&, AXRelatedObj ectVector*, NameSources*, bool* foundTextAlternative) const;
210 float stepValueForRange() const; 211 float stepValueForRange() const;
211 bool isDescendantOfElementType(const HTMLQualifiedName& tagName) const; 212 bool isDescendantOfElementType(const HTMLQualifiedName& tagName) const;
212 }; 213 };
213 214
214 } // namespace blink 215 } // namespace blink
215 216
216 #endif // AXNodeObject_h 217 #endif // AXNodeObject_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698