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

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

Issue 1346733002: Added layout test for aria-orientation and cleaned up code. Also exposed hr element with an orienta… (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Added TableRole back with a TODO to fix the relevant bug. Created 5 years, 3 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 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 // Check whether certain properties can be modified. 134 // Check whether certain properties can be modified.
135 bool canSetFocusAttribute() const override; 135 bool canSetFocusAttribute() const override;
136 bool canSetValueAttribute() const override; 136 bool canSetValueAttribute() const override;
137 137
138 // Properties of static elements. 138 // Properties of static elements.
139 RGBA32 colorValue() const final; 139 RGBA32 colorValue() const final;
140 bool canvasHasFallbackContent() const final; 140 bool canvasHasFallbackContent() const final;
141 bool deprecatedExposesTitleUIElement() const override; 141 bool deprecatedExposesTitleUIElement() const override;
142 int headingLevel() const final; 142 int headingLevel() const final;
143 unsigned hierarchicalLevel() const final; 143 unsigned hierarchicalLevel() const final;
144 AccessibilityOrientation orientation() const override;
144 String text() const override; 145 String text() const override;
145 AXObject* deprecatedTitleUIElement() const override; 146 AXObject* deprecatedTitleUIElement() const override;
146 147
147 // Properties of interactive elements. 148 // Properties of interactive elements.
148 AccessibilityButtonState checkboxOrRadioValue() const final; 149 AccessibilityButtonState checkboxOrRadioValue() const final;
149 InvalidState invalidState() const final; 150 InvalidState invalidState() const final;
150 // Only used when invalidState() returns InvalidStateOther. 151 // Only used when invalidState() returns InvalidStateOther.
151 String ariaInvalidValue() const final; 152 String ariaInvalidValue() const final;
152 String valueDescription() const override; 153 String valueDescription() const override;
153 float valueForRange() const override; 154 float valueForRange() const override;
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 float stepValueForRange() const; 224 float stepValueForRange() const;
224 AXObject* findChildWithTagName(const HTMLQualifiedName&) const; 225 AXObject* findChildWithTagName(const HTMLQualifiedName&) const;
225 bool isDescendantOfElementType(const HTMLQualifiedName& tagName) const; 226 bool isDescendantOfElementType(const HTMLQualifiedName& tagName) const;
226 }; 227 };
227 228
228 DEFINE_AX_OBJECT_TYPE_CASTS(AXNodeObject, isAXNodeObject()); 229 DEFINE_AX_OBJECT_TYPE_CASTS(AXNodeObject, isAXNodeObject());
229 230
230 } // namespace blink 231 } // namespace blink
231 232
232 #endif // AXNodeObject_h 233 #endif // AXNodeObject_h
OLDNEW
« no previous file with comments | « Source/modules/accessibility/AXLayoutObject.cpp ('k') | Source/modules/accessibility/AXNodeObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698