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 // Position in set and Size of set |
| 199 virtual int posInSet() const override; |
| 200 virtual int setSize() const override; |
| 201 |
198 private: | 202 private: |
199 Node* m_node; | 203 Node* m_node; |
200 | 204 |
201 String alternativeTextForWebArea() const; | 205 String alternativeTextForWebArea() const; |
202 void alternativeText(Vector<AccessibilityText>&) const; | 206 void alternativeText(Vector<AccessibilityText>&) const; |
203 void ariaLabeledByText(Vector<AccessibilityText>&) const; | 207 void ariaLabeledByText(Vector<AccessibilityText>&) const; |
204 void changeValueByPercent(float percentChange); | 208 void changeValueByPercent(float percentChange); |
205 float stepValueForRange() const; | 209 float stepValueForRange() const; |
206 AXObject* findChildWithTagName(const HTMLQualifiedName&) const; | 210 AXObject* findChildWithTagName(const HTMLQualifiedName&) const; |
207 }; | 211 }; |
208 | 212 |
209 DEFINE_AX_OBJECT_TYPE_CASTS(AXNodeObject, isAXNodeObject()); | 213 DEFINE_AX_OBJECT_TYPE_CASTS(AXNodeObject, isAXNodeObject()); |
210 | 214 |
211 } // namespace blink | 215 } // namespace blink |
212 | 216 |
213 #endif // AXNodeObject_h | 217 #endif // AXNodeObject_h |
OLD | NEW |