| 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 12 matching lines...) Expand all Loading... |
| 23 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND | 23 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND |
| 24 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 24 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | 25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
| 26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 27 */ | 27 */ |
| 28 | 28 |
| 29 #ifndef AXNodeObject_h | 29 #ifndef AXNodeObject_h |
| 30 #define AXNodeObject_h | 30 #define AXNodeObject_h |
| 31 | 31 |
| 32 #include "core/accessibility/AXObject.h" | 32 #include "core/accessibility/AXObject.h" |
| 33 #include "platform/geometry/LayoutRect.h" | |
| 34 #include "wtf/Forward.h" | 33 #include "wtf/Forward.h" |
| 35 | 34 |
| 36 namespace blink { | 35 namespace blink { |
| 37 | 36 |
| 38 class AXObjectCache; | |
| 39 class Element; | 37 class Element; |
| 40 class LocalFrame; | |
| 41 class FrameView; | |
| 42 class HitTestResult; | |
| 43 class HTMLAnchorElement; | |
| 44 class HTMLAreaElement; | |
| 45 class HTMLElement; | |
| 46 class HTMLLabelElement; | 38 class HTMLLabelElement; |
| 47 class HTMLMapElement; | 39 class LayoutRect; |
| 48 class HTMLSelectElement; | |
| 49 class IntPoint; | |
| 50 class IntSize; | |
| 51 class Node; | 40 class Node; |
| 52 class RenderListBox; | |
| 53 class RenderTextControl; | |
| 54 class RenderView; | |
| 55 class VisibleSelection; | |
| 56 class Widget; | |
| 57 | 41 |
| 58 class AXNodeObject : public AXObject { | 42 class AXNodeObject : public AXObject { |
| 59 protected: | 43 protected: |
| 60 explicit AXNodeObject(Node*); | 44 explicit AXNodeObject(Node*); |
| 61 | 45 |
| 62 public: | 46 public: |
| 63 static PassRefPtr<AXNodeObject> create(Node*); | 47 static PassRefPtr<AXNodeObject> create(Node*); |
| 64 virtual ~AXNodeObject(); | 48 virtual ~AXNodeObject(); |
| 65 | 49 |
| 66 protected: | 50 protected: |
| (...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 209 void ariaLabeledByText(Vector<AccessibilityText>&) const; | 193 void ariaLabeledByText(Vector<AccessibilityText>&) const; |
| 210 void changeValueByPercent(float percentChange); | 194 void changeValueByPercent(float percentChange); |
| 211 float stepValueForRange() const; | 195 float stepValueForRange() const; |
| 212 }; | 196 }; |
| 213 | 197 |
| 214 DEFINE_AX_OBJECT_TYPE_CASTS(AXNodeObject, isAXNodeObject()); | 198 DEFINE_AX_OBJECT_TYPE_CASTS(AXNodeObject, isAXNodeObject()); |
| 215 | 199 |
| 216 } // namespace blink | 200 } // namespace blink |
| 217 | 201 |
| 218 #endif // AXNodeObject_h | 202 #endif // AXNodeObject_h |
| OLD | NEW |