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

Side by Side Diff: Source/core/accessibility/AXNodeObject.h

Issue 679623002: Check whether aria-expanded attribute is defined (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 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 | « no previous file | Source/core/accessibility/AXNodeObject.cpp » ('j') | public/web/WebAXObject.h » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 virtual float valueForRange() const override; 138 virtual float valueForRange() const override;
139 virtual float maxValueForRange() const override; 139 virtual float maxValueForRange() const override;
140 virtual float minValueForRange() const override; 140 virtual float minValueForRange() const override;
141 virtual String stringValue() const override; 141 virtual String stringValue() const override;
142 virtual const AtomicString& textInputType() const override; 142 virtual const AtomicString& textInputType() const override;
143 143
144 // ARIA attributes. 144 // ARIA attributes.
145 virtual String ariaDescribedByAttribute() const override final; 145 virtual String ariaDescribedByAttribute() const override final;
146 virtual String ariaLabeledByAttribute() const override final; 146 virtual String ariaLabeledByAttribute() const override final;
147 virtual AccessibilityRole ariaRoleAttribute() const override final; 147 virtual AccessibilityRole ariaRoleAttribute() const override final;
148 virtual bool supportsARIAExpanded() const final;
148 149
149 // Accessibility Text. 150 // Accessibility Text.
150 virtual String textUnderElement() const override; 151 virtual String textUnderElement() const override;
151 152
152 // Accessibility Text - (To be deprecated). 153 // Accessibility Text - (To be deprecated).
153 virtual String accessibilityDescription() const override; 154 virtual String accessibilityDescription() const override;
154 virtual String title() const override; 155 virtual String title() const override;
155 virtual String helpText() const override; 156 virtual String helpText() const override;
156 157
157 // Location and click point in frame-relative coordinates. 158 // Location and click point in frame-relative coordinates.
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 void ariaLabeledByText(Vector<AccessibilityText>&) const; 195 void ariaLabeledByText(Vector<AccessibilityText>&) const;
195 void changeValueByPercent(float percentChange); 196 void changeValueByPercent(float percentChange);
196 float stepValueForRange() const; 197 float stepValueForRange() const;
197 }; 198 };
198 199
199 DEFINE_AX_OBJECT_TYPE_CASTS(AXNodeObject, isAXNodeObject()); 200 DEFINE_AX_OBJECT_TYPE_CASTS(AXNodeObject, isAXNodeObject());
200 201
201 } // namespace blink 202 } // namespace blink
202 203
203 #endif // AXNodeObject_h 204 #endif // AXNodeObject_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/accessibility/AXNodeObject.cpp » ('j') | public/web/WebAXObject.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698