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

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

Issue 1952863003: Implemented the "aria-current" state on Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed switch statements to handle NONE case. Created 4 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
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 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 // Properties of static elements. 136 // Properties of static elements.
137 RGBA32 colorValue() const final; 137 RGBA32 colorValue() const final;
138 bool canvasHasFallbackContent() const final; 138 bool canvasHasFallbackContent() const final;
139 int headingLevel() const final; 139 int headingLevel() const final;
140 unsigned hierarchicalLevel() const final; 140 unsigned hierarchicalLevel() const final;
141 AccessibilityOrientation orientation() const override; 141 AccessibilityOrientation orientation() const override;
142 String text() const override; 142 String text() const override;
143 143
144 // Properties of interactive elements. 144 // Properties of interactive elements.
145 AccessibilityButtonState checkboxOrRadioValue() const final; 145 AccessibilityButtonState checkboxOrRadioValue() const final;
146 AriaCurrentState ariaCurrentState() const final;
146 InvalidState getInvalidState() const final; 147 InvalidState getInvalidState() const final;
147 // Only used when invalidState() returns InvalidStateOther. 148 // Only used when invalidState() returns InvalidStateOther.
148 String ariaInvalidValue() const final; 149 String ariaInvalidValue() const final;
149 String valueDescription() const override; 150 String valueDescription() const override;
150 float valueForRange() const override; 151 float valueForRange() const override;
151 float maxValueForRange() const override; 152 float maxValueForRange() const override;
152 float minValueForRange() const override; 153 float minValueForRange() const override;
153 String stringValue() const override; 154 String stringValue() const override;
154 155
155 // ARIA attributes. 156 // ARIA attributes.
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 bool isNativeCheckboxInMixedState() const; 210 bool isNativeCheckboxInMixedState() const;
210 String textFromDescendants(AXObjectSet& visited, bool recursive) const overr ide; 211 String textFromDescendants(AXObjectSet& visited, bool recursive) const overr ide;
211 String nativeTextAlternative(AXObjectSet& visited, AXNameFrom&, AXRelatedObj ectVector*, NameSources*, bool* foundTextAlternative) const; 212 String nativeTextAlternative(AXObjectSet& visited, AXNameFrom&, AXRelatedObj ectVector*, NameSources*, bool* foundTextAlternative) const;
212 float stepValueForRange() const; 213 float stepValueForRange() const;
213 bool isDescendantOfElementType(const HTMLQualifiedName& tagName) const; 214 bool isDescendantOfElementType(const HTMLQualifiedName& tagName) const;
214 }; 215 };
215 216
216 } // namespace blink 217 } // namespace blink
217 218
218 #endif // AXNodeObject_h 219 #endif // AXNodeObject_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698