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

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

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 AccessibilityRole m_ariaRole; 55 AccessibilityRole m_ariaRole;
56 bool m_childrenDirty; 56 bool m_childrenDirty;
57 #if ENABLE(ASSERT) 57 #if ENABLE(ASSERT)
58 bool m_initialized; 58 bool m_initialized;
59 #endif 59 #endif
60 60
61 bool computeAccessibilityIsIgnored(IgnoredReasons* = nullptr) const override ; 61 bool computeAccessibilityIsIgnored(IgnoredReasons* = nullptr) const override ;
62 const AXObject* inheritsPresentationalRoleFrom() const override; 62 const AXObject* inheritsPresentationalRoleFrom() const override;
63 virtual AccessibilityRole determineAccessibilityRole(); 63 virtual AccessibilityRole determineAccessibilityRole();
64 virtual AccessibilityRole nativeAccessibilityRoleIgnoringAria() const; 64 virtual AccessibilityRole nativeAccessibilityRoleIgnoringAria() const;
65 String accessibilityDescriptionForElements(WillBeHeapVector<RawPtrWillBeMemb er<Element>> &elements) const; 65 String accessibilityDescriptionForElements(HeapVector<Member<Element>> &elem ents) const;
66 void alterSliderValue(bool increase); 66 void alterSliderValue(bool increase);
67 String ariaAccessibilityDescription() const; 67 String ariaAccessibilityDescription() const;
68 String ariaAutoComplete() const; 68 String ariaAutoComplete() const;
69 AccessibilityRole determineAriaRoleAttribute() const; 69 AccessibilityRole determineAriaRoleAttribute() const;
70 void accessibilityChildrenFromAttribute(QualifiedName attr, AXObject::AXObje ctVector&) const; 70 void accessibilityChildrenFromAttribute(QualifiedName attr, AXObject::AXObje ctVector&) const;
71 71
72 bool hasContentEditableAttributeSet() const; 72 bool hasContentEditableAttributeSet() const;
73 bool isTextControl() const override; 73 bool isTextControl() const override;
74 // This returns true if it's focusable but it's not content editable and it' s not a control or ARIA control. 74 // This returns true if it's focusable but it's not content editable and it' s not a control or ARIA control.
75 bool isGenericFocusableElement() const; 75 bool isGenericFocusableElement() const;
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 void updateAccessibilityRole() final; 195 void updateAccessibilityRole() final;
196 196
197 // Position in set and Size of set 197 // Position in set and Size of set
198 int posInSet() const override; 198 int posInSet() const override;
199 int setSize() const override; 199 int setSize() const override;
200 200
201 // Aria-owns. 201 // Aria-owns.
202 void computeAriaOwnsChildren(HeapVector<Member<AXObject>>& ownedChildren) co nst; 202 void computeAriaOwnsChildren(HeapVector<Member<AXObject>>& ownedChildren) co nst;
203 203
204 private: 204 private:
205 RawPtrWillBeMember<Node> m_node; 205 Member<Node> m_node;
206 206
207 bool isNativeCheckboxInMixedState() const; 207 bool isNativeCheckboxInMixedState() const;
208 String textFromDescendants(AXObjectSet& visited, bool recursive) const overr ide; 208 String textFromDescendants(AXObjectSet& visited, bool recursive) const overr ide;
209 String nativeTextAlternative(AXObjectSet& visited, AXNameFrom&, AXRelatedObj ectVector*, NameSources*, bool* foundTextAlternative) const; 209 String nativeTextAlternative(AXObjectSet& visited, AXNameFrom&, AXRelatedObj ectVector*, NameSources*, bool* foundTextAlternative) const;
210 float stepValueForRange() const; 210 float stepValueForRange() const;
211 bool isDescendantOfElementType(const HTMLQualifiedName& tagName) const; 211 bool isDescendantOfElementType(const HTMLQualifiedName& tagName) const;
212 }; 212 };
213 213
214 } // namespace blink 214 } // namespace blink
215 215
216 #endif // AXNodeObject_h 216 #endif // AXNodeObject_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698