| 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 25 matching lines...) Expand all Loading... |
| 36 namespace blink { | 36 namespace blink { |
| 37 | 37 |
| 38 class AXObjectCacheImpl; | 38 class AXObjectCacheImpl; |
| 39 class Element; | 39 class Element; |
| 40 class HTMLLabelElement; | 40 class HTMLLabelElement; |
| 41 class LayoutRect; | 41 class LayoutRect; |
| 42 class Node; | 42 class Node; |
| 43 | 43 |
| 44 class MODULES_EXPORT AXNodeObject : public AXObject { | 44 class MODULES_EXPORT AXNodeObject : public AXObject { |
| 45 protected: | 45 protected: |
| 46 AXNodeObject(Node*, AXObjectCacheImpl*); | 46 AXNodeObject(Node*, AXObjectCacheImpl&); |
| 47 | 47 |
| 48 public: | 48 public: |
| 49 static PassRefPtr<AXNodeObject> create(Node*, AXObjectCacheImpl*); | 49 static PassRefPtr<AXNodeObject> create(Node*, AXObjectCacheImpl&); |
| 50 virtual ~AXNodeObject(); | 50 virtual ~AXNodeObject(); |
| 51 | 51 |
| 52 protected: | 52 protected: |
| 53 // Protected data. | 53 // Protected data. |
| 54 AccessibilityRole m_ariaRole; | 54 AccessibilityRole m_ariaRole; |
| 55 bool m_childrenDirty; | 55 bool m_childrenDirty; |
| 56 #if ENABLE(ASSERT) | 56 #if ENABLE(ASSERT) |
| 57 bool m_initialized; | 57 bool m_initialized; |
| 58 #endif | 58 #endif |
| 59 | 59 |
| (...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 220 float stepValueForRange() const; | 220 float stepValueForRange() const; |
| 221 AXObject* findChildWithTagName(const HTMLQualifiedName&) const; | 221 AXObject* findChildWithTagName(const HTMLQualifiedName&) const; |
| 222 bool isDescendantOfElementType(const HTMLQualifiedName& tagName) const; | 222 bool isDescendantOfElementType(const HTMLQualifiedName& tagName) const; |
| 223 }; | 223 }; |
| 224 | 224 |
| 225 DEFINE_AX_OBJECT_TYPE_CASTS(AXNodeObject, isAXNodeObject()); | 225 DEFINE_AX_OBJECT_TYPE_CASTS(AXNodeObject, isAXNodeObject()); |
| 226 | 226 |
| 227 } // namespace blink | 227 } // namespace blink |
| 228 | 228 |
| 229 #endif // AXNodeObject_h | 229 #endif // AXNodeObject_h |
| OLD | NEW |