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

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

Issue 596393004: Add AX attribute for input type (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Using isTextField() 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') | 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) 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 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 virtual AXObject* titleUIElement() const OVERRIDE; 147 virtual AXObject* titleUIElement() const OVERRIDE;
148 148
149 // Properties of interactive elements. 149 // Properties of interactive elements.
150 virtual AccessibilityButtonState checkboxOrRadioValue() const OVERRIDE FINAL ; 150 virtual AccessibilityButtonState checkboxOrRadioValue() const OVERRIDE FINAL ;
151 virtual void colorValue(int& r, int& g, int& b) const OVERRIDE FINAL; 151 virtual void colorValue(int& r, int& g, int& b) const OVERRIDE FINAL;
152 virtual String valueDescription() const OVERRIDE; 152 virtual String valueDescription() const OVERRIDE;
153 virtual float valueForRange() const OVERRIDE; 153 virtual float valueForRange() const OVERRIDE;
154 virtual float maxValueForRange() const OVERRIDE; 154 virtual float maxValueForRange() const OVERRIDE;
155 virtual float minValueForRange() const OVERRIDE; 155 virtual float minValueForRange() const OVERRIDE;
156 virtual String stringValue() const OVERRIDE; 156 virtual String stringValue() const OVERRIDE;
157 virtual const AtomicString& textInputType() const OVERRIDE;
157 158
158 // ARIA attributes. 159 // ARIA attributes.
159 virtual String ariaDescribedByAttribute() const OVERRIDE FINAL; 160 virtual String ariaDescribedByAttribute() const OVERRIDE FINAL;
160 virtual String ariaLabeledByAttribute() const OVERRIDE FINAL; 161 virtual String ariaLabeledByAttribute() const OVERRIDE FINAL;
161 virtual AccessibilityRole ariaRoleAttribute() const OVERRIDE FINAL; 162 virtual AccessibilityRole ariaRoleAttribute() const OVERRIDE FINAL;
162 163
163 // Accessibility Text. 164 // Accessibility Text.
164 virtual String textUnderElement() const OVERRIDE; 165 virtual String textUnderElement() const OVERRIDE;
165 166
166 // Accessibility Text - (To be deprecated). 167 // Accessibility Text - (To be deprecated).
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 void ariaLabeledByText(Vector<AccessibilityText>&) const; 209 void ariaLabeledByText(Vector<AccessibilityText>&) const;
209 void changeValueByPercent(float percentChange); 210 void changeValueByPercent(float percentChange);
210 float stepValueForRange() const; 211 float stepValueForRange() const;
211 }; 212 };
212 213
213 DEFINE_AX_OBJECT_TYPE_CASTS(AXNodeObject, isAXNodeObject()); 214 DEFINE_AX_OBJECT_TYPE_CASTS(AXNodeObject, isAXNodeObject());
214 215
215 } // namespace blink 216 } // namespace blink
216 217
217 #endif // AXNodeObject_h 218 #endif // AXNodeObject_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/accessibility/AXNodeObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698