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

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

Issue 730113003: Introduce new API orientation() to expose aria-orientation correctly. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: updating condition for TreeGridRole Created 6 years 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) 2008, 2009, 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2008, 2009, 2011 Apple Inc. All rights reserved.
3 * Copyright (C) 2008 Nuanti Ltd. 3 * Copyright (C) 2008 Nuanti Ltd.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 8 *
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 { } 225 { }
226 226
227 AccessibilityText(const String& t, const AccessibilityTextSource& s, const R efPtr<AXObject> element) 227 AccessibilityText(const String& t, const AccessibilityTextSource& s, const R efPtr<AXObject> element)
228 : text(t) 228 : text(t)
229 , textSource(s) 229 , textSource(s)
230 , textElement(element) 230 , textElement(element)
231 { } 231 { }
232 }; 232 };
233 233
234 enum AccessibilityOrientation { 234 enum AccessibilityOrientation {
235 AccessibilityOrientationUndefined = 0,
235 AccessibilityOrientationVertical, 236 AccessibilityOrientationVertical,
236 AccessibilityOrientationHorizontal, 237 AccessibilityOrientationHorizontal,
237 }; 238 };
238 239
239 enum AXObjectInclusion { 240 enum AXObjectInclusion {
240 IncludeObject, 241 IncludeObject,
241 IgnoreObject, 242 IgnoreObject,
242 DefaultBehavior, 243 DefaultBehavior,
243 }; 244 };
244 245
(...skipping 375 matching lines...) Expand 10 before | Expand all | Expand 10 after
620 // functions called here may only search up the tree (ancestors), not down. 621 // functions called here may only search up the tree (ancestors), not down.
621 void updateCachedAttributeValuesIfNeeded() const; 622 void updateCachedAttributeValuesIfNeeded() const;
622 }; 623 };
623 624
624 #define DEFINE_AX_OBJECT_TYPE_CASTS(thisType, predicate) \ 625 #define DEFINE_AX_OBJECT_TYPE_CASTS(thisType, predicate) \
625 DEFINE_TYPE_CASTS(thisType, AXObject, object, object->predicate, object.pred icate) 626 DEFINE_TYPE_CASTS(thisType, AXObject, object, object->predicate, object.pred icate)
626 627
627 } // namespace blink 628 } // namespace blink
628 629
629 #endif // AXObject_h 630 #endif // AXObject_h
OLDNEW
« no previous file with comments | « no previous file | Source/modules/accessibility/AXObject.cpp » ('j') | Source/modules/accessibility/AXScrollbar.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698