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

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

Issue 1071873004: Changing slider values do not work properly when percent change of a step is less than one. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Make some cleanup 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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 58
59 virtual bool computeAccessibilityIsIgnored() const override; 59 virtual bool computeAccessibilityIsIgnored() const override;
60 virtual bool computeHasInheritedPresentationalRole() const override; 60 virtual bool computeHasInheritedPresentationalRole() const override;
61 virtual AccessibilityRole determineAccessibilityRole(); 61 virtual AccessibilityRole determineAccessibilityRole();
62 AccessibilityRole determineAccessibilityRoleUtil(); 62 AccessibilityRole determineAccessibilityRoleUtil();
63 String accessibilityDescriptionForElements(WillBeHeapVector<RawPtrWillBeMemb er<Element>> &elements) const; 63 String accessibilityDescriptionForElements(WillBeHeapVector<RawPtrWillBeMemb er<Element>> &elements) const;
64 void alterSliderValue(bool increase); 64 void alterSliderValue(bool increase);
65 String ariaAccessibilityDescription() const; 65 String ariaAccessibilityDescription() const;
66 String ariaAutoComplete() const; 66 String ariaAutoComplete() const;
67 void ariaLabeledByElements(WillBeHeapVector<RawPtrWillBeMember<Element>>& el ements) const; 67 void ariaLabeledByElements(WillBeHeapVector<RawPtrWillBeMember<Element>>& el ements) const;
68 void changeValueByStep(bool increase);
69 AccessibilityRole determineAriaRoleAttribute() const; 68 AccessibilityRole determineAriaRoleAttribute() const;
70 void elementsFromAttribute(WillBeHeapVector<RawPtrWillBeMember<Element>>& el ements, const QualifiedName&) const; 69 void elementsFromAttribute(WillBeHeapVector<RawPtrWillBeMember<Element>>& el ements, const QualifiedName&) const;
71 bool hasContentEditableAttributeSet() const; 70 bool hasContentEditableAttributeSet() const;
72 // This returns true if it's focusable but it's not content editable and it' s not a control or ARIA control. 71 // This returns true if it's focusable but it's not content editable and it' s not a control or ARIA control.
73 bool isGenericFocusableElement() const; 72 bool isGenericFocusableElement() const;
74 HTMLLabelElement* labelForElement(Element*) const; 73 HTMLLabelElement* labelForElement(Element*) const;
75 AXObject* menuButtonForMenu() const; 74 AXObject* menuButtonForMenu() const;
76 Element* menuItemElementForMenu() const; 75 Element* menuItemElementForMenu() const;
77 Element* mouseButtonListener() const; 76 Element* mouseButtonListener() const;
78 String placeholder() const; 77 String placeholder() const;
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 virtual void selectionChanged() override final; 193 virtual void selectionChanged() override final;
195 virtual void textChanged() override; 194 virtual void textChanged() override;
196 virtual void updateAccessibilityRole() override final; 195 virtual void updateAccessibilityRole() override final;
197 196
198 private: 197 private:
199 Node* m_node; 198 Node* m_node;
200 199
201 String alternativeTextForWebArea() const; 200 String alternativeTextForWebArea() const;
202 void alternativeText(Vector<AccessibilityText>&) const; 201 void alternativeText(Vector<AccessibilityText>&) const;
203 void ariaLabeledByText(Vector<AccessibilityText>&) const; 202 void ariaLabeledByText(Vector<AccessibilityText>&) const;
204 void changeValueByPercent(float percentChange);
205 float stepValueForRange() const; 203 float stepValueForRange() const;
206 AXObject* findChildWithTagName(const HTMLQualifiedName&) const; 204 AXObject* findChildWithTagName(const HTMLQualifiedName&) const;
207 }; 205 };
208 206
209 DEFINE_AX_OBJECT_TYPE_CASTS(AXNodeObject, isAXNodeObject()); 207 DEFINE_AX_OBJECT_TYPE_CASTS(AXNodeObject, isAXNodeObject());
210 208
211 } // namespace blink 209 } // namespace blink
212 210
213 #endif // AXNodeObject_h 211 #endif // AXNodeObject_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698