OLD | NEW |
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 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
188 virtual void setFocused(bool) override final; | 188 virtual void setFocused(bool) override final; |
189 virtual void increment() override final; | 189 virtual void increment() override final; |
190 virtual void decrement() override final; | 190 virtual void decrement() override final; |
191 | 191 |
192 // Notifications that this object may have changed. | 192 // Notifications that this object may have changed. |
193 virtual void childrenChanged() override; | 193 virtual void childrenChanged() override; |
194 virtual void selectionChanged() override final; | 194 virtual void selectionChanged() override final; |
195 virtual void textChanged() override; | 195 virtual void textChanged() override; |
196 virtual void updateAccessibilityRole() override final; | 196 virtual void updateAccessibilityRole() override final; |
197 | 197 |
| 198 virtual int posInSet() const override; |
| 199 virtual int setSize() const override; |
| 200 |
198 private: | 201 private: |
199 Node* m_node; | 202 Node* m_node; |
200 | 203 |
201 String alternativeTextForWebArea() const; | 204 String alternativeTextForWebArea() const; |
202 void alternativeText(Vector<AccessibilityText>&) const; | 205 void alternativeText(Vector<AccessibilityText>&) const; |
203 void ariaLabeledByText(Vector<AccessibilityText>&) const; | 206 void ariaLabeledByText(Vector<AccessibilityText>&) const; |
204 void changeValueByPercent(float percentChange); | 207 void changeValueByPercent(float percentChange); |
205 float stepValueForRange() const; | 208 float stepValueForRange() const; |
206 AXObject* findChildWithTagName(const HTMLQualifiedName&) const; | 209 AXObject* findChildWithTagName(const HTMLQualifiedName&) const; |
207 }; | 210 }; |
208 | 211 |
209 DEFINE_AX_OBJECT_TYPE_CASTS(AXNodeObject, isAXNodeObject()); | 212 DEFINE_AX_OBJECT_TYPE_CASTS(AXNodeObject, isAXNodeObject()); |
210 | 213 |
211 } // namespace blink | 214 } // namespace blink |
212 | 215 |
213 #endif // AXNodeObject_h | 216 #endif // AXNodeObject_h |
OLD | NEW |