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

Side by Side Diff: Source/modules/accessibility/AXNodeObject.h

Issue 1076453004: Show reasons why nodes are ignored in accessibility sidebar (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase Created 5 years, 8 months 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) 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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
60 virtual bool computeAccessibilityIsIgnored() const override; 60 virtual bool computeAccessibilityIsIgnored(PassRefPtr<TypeBuilder::Array<Typ eBuilder::Accessibility::AXProperty>> = PassRefPtr<TypeBuilder::Array<TypeBuilde r::Accessibility::AXProperty>>()) const override;
61 virtual bool computeHasInheritedPresentationalRole() const override; 61 virtual AXObject* inheritsPresentationalRoleFrom() const override;
62 virtual AccessibilityRole determineAccessibilityRole(); 62 virtual AccessibilityRole determineAccessibilityRole();
63 AccessibilityRole determineAccessibilityRoleUtil(); 63 AccessibilityRole determineAccessibilityRoleUtil();
64 String accessibilityDescriptionForElements(WillBeHeapVector<RawPtrWillBeMemb er<Element>> &elements) const; 64 String accessibilityDescriptionForElements(WillBeHeapVector<RawPtrWillBeMemb er<Element>> &elements) const;
65 void alterSliderValue(bool increase); 65 void alterSliderValue(bool increase);
66 String ariaAccessibilityDescription() const; 66 String ariaAccessibilityDescription() const;
67 String ariaAutoComplete() const; 67 String ariaAutoComplete() const;
68 void ariaLabeledByElements(WillBeHeapVector<RawPtrWillBeMember<Element>>& el ements) const; 68 void ariaLabeledByElements(WillBeHeapVector<RawPtrWillBeMember<Element>>& el ements) const;
69 AccessibilityRole determineAriaRoleAttribute() const; 69 AccessibilityRole determineAriaRoleAttribute() const;
70 void elementsFromAttribute(WillBeHeapVector<RawPtrWillBeMember<Element>>& el ements, const QualifiedName&) const; 70 void elementsFromAttribute(WillBeHeapVector<RawPtrWillBeMember<Element>>& el ements, const QualifiedName&) const;
71 bool hasContentEditableAttributeSet() const; 71 bool hasContentEditableAttributeSet() const;
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 float stepValueForRange() const; 205 float stepValueForRange() const;
206 AXObject* findChildWithTagName(const HTMLQualifiedName&) const; 206 AXObject* findChildWithTagName(const HTMLQualifiedName&) const;
207 bool isDescendantOfElementType(const HTMLQualifiedName& tagName) const; 207 bool isDescendantOfElementType(const HTMLQualifiedName& tagName) const;
208 }; 208 };
209 209
210 DEFINE_AX_OBJECT_TYPE_CASTS(AXNodeObject, isAXNodeObject()); 210 DEFINE_AX_OBJECT_TYPE_CASTS(AXNodeObject, isAXNodeObject());
211 211
212 } // namespace blink 212 } // namespace blink
213 213
214 #endif // AXNodeObject_h 214 #endif // AXNodeObject_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698