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

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

Issue 1071483002: Implement aria properties setsize and posinset. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixing nits 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
« no previous file with comments | « Source/core/html/HTMLAttributeNames.in ('k') | Source/modules/accessibility/AXNodeObject.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 virtual void setFocused(bool) override final; 189 virtual void setFocused(bool) override final;
190 virtual void increment() override final; 190 virtual void increment() override final;
191 virtual void decrement() override final; 191 virtual void decrement() override final;
192 192
193 // Notifications that this object may have changed. 193 // Notifications that this object may have changed.
194 virtual void childrenChanged() override; 194 virtual void childrenChanged() override;
195 virtual void selectionChanged() override final; 195 virtual void selectionChanged() override final;
196 virtual void textChanged() override; 196 virtual void textChanged() override;
197 virtual void updateAccessibilityRole() override final; 197 virtual void updateAccessibilityRole() override final;
198 198
199 // Position in set and Size of set
200 virtual int posInSet() const override;
201 virtual int setSize() const override;
202
199 private: 203 private:
200 Node* m_node; 204 Node* m_node;
201 205
202 String alternativeTextForWebArea() const; 206 String alternativeTextForWebArea() const;
203 void alternativeText(Vector<AccessibilityText>&) const; 207 void alternativeText(Vector<AccessibilityText>&) const;
204 void ariaLabeledByText(Vector<AccessibilityText>&) const; 208 void ariaLabeledByText(Vector<AccessibilityText>&) const;
205 float stepValueForRange() const; 209 float stepValueForRange() const;
206 AXObject* findChildWithTagName(const HTMLQualifiedName&) const; 210 AXObject* findChildWithTagName(const HTMLQualifiedName&) const;
207 bool isDescendantOfElementType(const HTMLQualifiedName& tagName) const; 211 bool isDescendantOfElementType(const HTMLQualifiedName& tagName) const;
208 }; 212 };
209 213
210 DEFINE_AX_OBJECT_TYPE_CASTS(AXNodeObject, isAXNodeObject()); 214 DEFINE_AX_OBJECT_TYPE_CASTS(AXNodeObject, isAXNodeObject());
211 215
212 } // namespace blink 216 } // namespace blink
213 217
214 #endif // AXNodeObject_h 218 #endif // AXNodeObject_h
OLDNEW
« no previous file with comments | « Source/core/html/HTMLAttributeNames.in ('k') | Source/modules/accessibility/AXNodeObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698