| 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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 explicit AXNodeObject(Node*); | 60 explicit AXNodeObject(Node*); |
| 61 | 61 |
| 62 public: | 62 public: |
| 63 static PassRefPtr<AXNodeObject> create(Node*); | 63 static PassRefPtr<AXNodeObject> create(Node*); |
| 64 virtual ~AXNodeObject(); | 64 virtual ~AXNodeObject(); |
| 65 | 65 |
| 66 protected: | 66 protected: |
| 67 // Protected data. | 67 // Protected data. |
| 68 AccessibilityRole m_ariaRole; | 68 AccessibilityRole m_ariaRole; |
| 69 bool m_childrenDirty; | 69 bool m_childrenDirty; |
| 70 #ifndef NDEBUG | 70 #if ENABLE(ASSERT) |
| 71 bool m_initialized; | 71 bool m_initialized; |
| 72 #endif | 72 #endif |
| 73 | 73 |
| 74 virtual bool computeAccessibilityIsIgnored() const OVERRIDE; | 74 virtual bool computeAccessibilityIsIgnored() const OVERRIDE; |
| 75 virtual AccessibilityRole determineAccessibilityRole(); | 75 virtual AccessibilityRole determineAccessibilityRole(); |
| 76 | 76 |
| 77 String accessibilityDescriptionForElements(WillBeHeapVector<RawPtrWillBeMemb
er<Element> > &elements) const; | 77 String accessibilityDescriptionForElements(WillBeHeapVector<RawPtrWillBeMemb
er<Element> > &elements) const; |
| 78 void alterSliderValue(bool increase); | 78 void alterSliderValue(bool increase); |
| 79 String ariaAccessibilityDescription() const; | 79 String ariaAccessibilityDescription() const; |
| 80 void ariaLabeledByElements(WillBeHeapVector<RawPtrWillBeMember<Element> >& e
lements) const; | 80 void ariaLabeledByElements(WillBeHeapVector<RawPtrWillBeMember<Element> >& e
lements) const; |
| (...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 208 void ariaLabeledByText(Vector<AccessibilityText>&) const; | 208 void ariaLabeledByText(Vector<AccessibilityText>&) const; |
| 209 void changeValueByPercent(float percentChange); | 209 void changeValueByPercent(float percentChange); |
| 210 float stepValueForRange() const; | 210 float stepValueForRange() const; |
| 211 }; | 211 }; |
| 212 | 212 |
| 213 DEFINE_AX_OBJECT_TYPE_CASTS(AXNodeObject, isAXNodeObject()); | 213 DEFINE_AX_OBJECT_TYPE_CASTS(AXNodeObject, isAXNodeObject()); |
| 214 | 214 |
| 215 } // namespace WebCore | 215 } // namespace WebCore |
| 216 | 216 |
| 217 #endif // AXNodeObject_h | 217 #endif // AXNodeObject_h |
| OLD | NEW |