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

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

Issue 1899823002: Uses the activedescendant_changed event received from Blink to fire the right focus event (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed menu-list-open Layout test. Created 4 years, 6 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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 #if ENABLE(ASSERT) 58 #if ENABLE(ASSERT)
59 bool m_initialized; 59 bool m_initialized;
60 #endif 60 #endif
61 61
62 bool computeAccessibilityIsIgnored(IgnoredReasons* = nullptr) const override ; 62 bool computeAccessibilityIsIgnored(IgnoredReasons* = nullptr) const override ;
63 const AXObject* inheritsPresentationalRoleFrom() const override; 63 const AXObject* inheritsPresentationalRoleFrom() const override;
64 virtual AccessibilityRole determineAccessibilityRole(); 64 virtual AccessibilityRole determineAccessibilityRole();
65 virtual AccessibilityRole nativeAccessibilityRoleIgnoringAria() const; 65 virtual AccessibilityRole nativeAccessibilityRoleIgnoringAria() const;
66 String accessibilityDescriptionForElements(HeapVector<Member<Element>> &elem ents) const; 66 String accessibilityDescriptionForElements(HeapVector<Member<Element>> &elem ents) const;
67 void alterSliderValue(bool increase); 67 void alterSliderValue(bool increase);
68 AXObject* activeDescendant() const override; 68 AXObject* activeDescendant() override;
69 String ariaAccessibilityDescription() const; 69 String ariaAccessibilityDescription() const;
70 String ariaAutoComplete() const; 70 String ariaAutoComplete() const;
71 AccessibilityRole determineAriaRoleAttribute() const; 71 AccessibilityRole determineAriaRoleAttribute() const;
72 void accessibilityChildrenFromAttribute(QualifiedName attr, AXObject::AXObje ctVector&) const; 72 void accessibilityChildrenFromAttribute(QualifiedName attr, AXObject::AXObje ctVector&) const;
73 73
74 bool hasContentEditableAttributeSet() const; 74 bool hasContentEditableAttributeSet() const;
75 bool isTextControl() const override; 75 bool isTextControl() const override;
76 // This returns true if it's focusable but it's not content editable and it' s not a control or ARIA control. 76 // This returns true if it's focusable but it's not content editable and it' s not a control or ARIA control.
77 bool isGenericFocusableElement() const; 77 bool isGenericFocusableElement() const;
78 HTMLLabelElement* labelForElement(const Element*) const; 78 HTMLLabelElement* labelForElement(const Element*) const;
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 bool isNativeCheckboxInMixedState() const; 212 bool isNativeCheckboxInMixedState() const;
213 String textFromDescendants(AXObjectSet& visited, bool recursive) const overr ide; 213 String textFromDescendants(AXObjectSet& visited, bool recursive) const overr ide;
214 String nativeTextAlternative(AXObjectSet& visited, AXNameFrom&, AXRelatedObj ectVector*, NameSources*, bool* foundTextAlternative) const; 214 String nativeTextAlternative(AXObjectSet& visited, AXNameFrom&, AXRelatedObj ectVector*, NameSources*, bool* foundTextAlternative) const;
215 float stepValueForRange() const; 215 float stepValueForRange() const;
216 bool isDescendantOfElementType(const HTMLQualifiedName& tagName) const; 216 bool isDescendantOfElementType(const HTMLQualifiedName& tagName) const;
217 }; 217 };
218 218
219 } // namespace blink 219 } // namespace blink
220 220
221 #endif // AXNodeObject_h 221 #endif // AXNodeObject_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698