| 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 24 matching lines...) Expand all Loading... |
| 35 | 35 |
| 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 WTF_MAKE_NONCOPYABLE(AXNodeObject); |
| 45 protected: | 46 protected: |
| 46 AXNodeObject(Node*, AXObjectCacheImpl&); | 47 AXNodeObject(Node*, AXObjectCacheImpl&); |
| 47 | 48 |
| 48 public: | 49 public: |
| 49 static AXNodeObject* create(Node*, AXObjectCacheImpl&); | 50 static AXNodeObject* create(Node*, AXObjectCacheImpl&); |
| 50 ~AXNodeObject() override; | 51 ~AXNodeObject() override; |
| 51 DECLARE_VIRTUAL_TRACE(); | 52 DECLARE_VIRTUAL_TRACE(); |
| 52 | 53 |
| 53 protected: | 54 protected: |
| 54 // Protected data. | 55 // Protected data. |
| (...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 210 bool isNativeCheckboxInMixedState() const; | 211 bool isNativeCheckboxInMixedState() const; |
| 211 String textFromDescendants(AXObjectSet& visited, bool recursive) const overr
ide; | 212 String textFromDescendants(AXObjectSet& visited, bool recursive) const overr
ide; |
| 212 String nativeTextAlternative(AXObjectSet& visited, AXNameFrom&, AXRelatedObj
ectVector*, NameSources*, bool* foundTextAlternative) const; | 213 String nativeTextAlternative(AXObjectSet& visited, AXNameFrom&, AXRelatedObj
ectVector*, NameSources*, bool* foundTextAlternative) const; |
| 213 float stepValueForRange() const; | 214 float stepValueForRange() const; |
| 214 bool isDescendantOfElementType(const HTMLQualifiedName& tagName) const; | 215 bool isDescendantOfElementType(const HTMLQualifiedName& tagName) const; |
| 215 }; | 216 }; |
| 216 | 217 |
| 217 } // namespace blink | 218 } // namespace blink |
| 218 | 219 |
| 219 #endif // AXNodeObject_h | 220 #endif // AXNodeObject_h |
| OLD | NEW |