Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Side by Side Diff: third_party/WebKit/Source/modules/accessibility/AXLayoutObject.h

Issue 1477043003: Handle aria-owns and presentational children in AX name calc. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@garaventa_visibility_hidden
Patch Set: Rebase Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2008 Apple 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 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 // Hit testing. 158 // Hit testing.
159 AXObject* accessibilityHitTest(const IntPoint&) const override; 159 AXObject* accessibilityHitTest(const IntPoint&) const override;
160 AXObject* elementAccessibilityHitTest(const IntPoint&) const override; 160 AXObject* elementAccessibilityHitTest(const IntPoint&) const override;
161 161
162 // High-level accessibility tree access. Other modules should only use these functions. 162 // High-level accessibility tree access. Other modules should only use these functions.
163 AXObject* computeParent() const override; 163 AXObject* computeParent() const override;
164 AXObject* computeParentIfExists() const override; 164 AXObject* computeParentIfExists() const override;
165 165
166 // Low-level accessibility tree exploration, only for use within the accessi bility module. 166 // Low-level accessibility tree exploration, only for use within the accessi bility module.
167 AXObject* rawFirstChild() const override; 167 AXObject* rawFirstChild() const override;
168 AXObject* rawFirstSibling() const override; 168 AXObject* rawNextSibling() const override;
169 void addChildren() override; 169 void addChildren() override;
170 bool canHaveChildren() const override; 170 bool canHaveChildren() const override;
171 void updateChildrenIfNecessary() override; 171 void updateChildrenIfNecessary() override;
172 bool needsToUpdateChildren() const override { return m_childrenDirty; } 172 bool needsToUpdateChildren() const override { return m_childrenDirty; }
173 void setNeedsToUpdateChildren() override { m_childrenDirty = true; } 173 void setNeedsToUpdateChildren() override { m_childrenDirty = true; }
174 void clearChildren() override; 174 void clearChildren() override;
175 175
176 // Properties of the object's owning document or page. 176 // Properties of the object's owning document or page.
177 double estimatedLoadingProgress() const override; 177 double estimatedLoadingProgress() const override;
178 178
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 AXRange textControlSelection() const; 220 AXRange textControlSelection() const;
221 int indexForVisiblePosition(const VisiblePosition&) const; 221 int indexForVisiblePosition(const VisiblePosition&) const;
222 AXLayoutObject* getUnignoredObjectFromNode(Node&) const; 222 AXLayoutObject* getUnignoredObjectFromNode(Node&) const;
223 }; 223 };
224 224
225 DEFINE_AX_OBJECT_TYPE_CASTS(AXLayoutObject, isAXLayoutObject()); 225 DEFINE_AX_OBJECT_TYPE_CASTS(AXLayoutObject, isAXLayoutObject());
226 226
227 } // namespace blink 227 } // namespace blink
228 228
229 #endif // AXLayoutObject_h 229 #endif // AXLayoutObject_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698