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

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

Issue 202953005: Remove a lot of dead code from AXNodeObject (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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 | Annotate | Revision Log
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 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 virtual float maxValueForRange() const OVERRIDE; 153 virtual float maxValueForRange() const OVERRIDE;
154 virtual float minValueForRange() const OVERRIDE; 154 virtual float minValueForRange() const OVERRIDE;
155 virtual String stringValue() const OVERRIDE; 155 virtual String stringValue() const OVERRIDE;
156 156
157 // ARIA attributes. 157 // ARIA attributes.
158 virtual String ariaDescribedByAttribute() const OVERRIDE FINAL; 158 virtual String ariaDescribedByAttribute() const OVERRIDE FINAL;
159 virtual String ariaLabeledByAttribute() const OVERRIDE FINAL; 159 virtual String ariaLabeledByAttribute() const OVERRIDE FINAL;
160 virtual AccessibilityRole ariaRoleAttribute() const OVERRIDE FINAL; 160 virtual AccessibilityRole ariaRoleAttribute() const OVERRIDE FINAL;
161 161
162 // Accessibility Text. 162 // Accessibility Text.
163 virtual void accessibilityText(Vector<AccessibilityText>&) OVERRIDE;
164 virtual String textUnderElement() const OVERRIDE; 163 virtual String textUnderElement() const OVERRIDE;
165 164
166 // Accessibility Text - (To be deprecated). 165 // Accessibility Text - (To be deprecated).
167 virtual String accessibilityDescription() const OVERRIDE; 166 virtual String accessibilityDescription() const OVERRIDE;
168 virtual String title() const OVERRIDE; 167 virtual String title() const OVERRIDE;
169 virtual String helpText() const OVERRIDE; 168 virtual String helpText() const OVERRIDE;
170 169
171 // Location and click point in frame-relative coordinates. 170 // Location and click point in frame-relative coordinates.
172 virtual LayoutRect elementRect() const OVERRIDE; 171 virtual LayoutRect elementRect() const OVERRIDE;
173 172
(...skipping 26 matching lines...) Expand all
200 virtual void textChanged() OVERRIDE; 199 virtual void textChanged() OVERRIDE;
201 virtual void updateAccessibilityRole() OVERRIDE FINAL; 200 virtual void updateAccessibilityRole() OVERRIDE FINAL;
202 201
203 private: 202 private:
204 Node* m_node; 203 Node* m_node;
205 204
206 String alternativeTextForWebArea() const; 205 String alternativeTextForWebArea() const;
207 void alternativeText(Vector<AccessibilityText>&) const; 206 void alternativeText(Vector<AccessibilityText>&) const;
208 void ariaLabeledByText(Vector<AccessibilityText>&) const; 207 void ariaLabeledByText(Vector<AccessibilityText>&) const;
209 void changeValueByPercent(float percentChange); 208 void changeValueByPercent(float percentChange);
210 void helpText(Vector<AccessibilityText>&) const;
211 void titleElementText(Vector<AccessibilityText>&);
212 void visibleText(Vector<AccessibilityText>&) const;
213 float stepValueForRange() const; 209 float stepValueForRange() const;
214 }; 210 };
215 211
216 DEFINE_AX_OBJECT_TYPE_CASTS(AXNodeObject, isAXNodeObject()); 212 DEFINE_AX_OBJECT_TYPE_CASTS(AXNodeObject, isAXNodeObject());
217 213
218 } // namespace WebCore 214 } // namespace WebCore
219 215
220 #endif // AXNodeObject_h 216 #endif // AXNodeObject_h
OLDNEW
« no previous file with comments | « Source/core/accessibility/AXMediaControls.cpp ('k') | Source/core/accessibility/AXNodeObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698