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

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

Issue 679623002: Check whether aria-expanded attribute is defined (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 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) 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 430 matching lines...) Expand 10 before | Expand all | Expand 10 after
441 virtual bool ariaRoleHasPresentationalChildren() const { return false; } 441 virtual bool ariaRoleHasPresentationalChildren() const { return false; }
442 virtual bool isARIAGrabbed() { return false; } 442 virtual bool isARIAGrabbed() { return false; }
443 virtual bool isPresentationalChildOfAriaRole() const { return false; } 443 virtual bool isPresentationalChildOfAriaRole() const { return false; }
444 virtual bool shouldFocusActiveDescendant() const { return false; } 444 virtual bool shouldFocusActiveDescendant() const { return false; }
445 bool supportsARIAAttributes() const; 445 bool supportsARIAAttributes() const;
446 virtual bool supportsARIADragging() const { return false; } 446 virtual bool supportsARIADragging() const { return false; }
447 virtual bool supportsARIADropping() const { return false; } 447 virtual bool supportsARIADropping() const { return false; }
448 virtual bool supportsARIAFlowTo() const { return false; } 448 virtual bool supportsARIAFlowTo() const { return false; }
449 virtual bool supportsARIAOwns() const { return false; } 449 virtual bool supportsARIAOwns() const { return false; }
450 bool supportsRangeValue() const; 450 bool supportsRangeValue() const;
451 virtual bool supportsARIAExpanded() const { return false; }
451 452
452 // ARIA trees. 453 // ARIA trees.
453 // Used by an ARIA tree to get all its rows. 454 // Used by an ARIA tree to get all its rows.
454 void ariaTreeRows(AccessibilityChildrenVector&); 455 void ariaTreeRows(AccessibilityChildrenVector&);
455 456
456 // ARIA live-region features. 457 // ARIA live-region features.
457 bool supportsARIALiveRegion() const; 458 bool supportsARIALiveRegion() const;
458 virtual const AtomicString& ariaLiveRegionStatus() const { return nullAtom; } 459 virtual const AtomicString& ariaLiveRegionStatus() const { return nullAtom; }
459 virtual const AtomicString& ariaLiveRegionRelevant() const { return nullAtom ; } 460 virtual const AtomicString& ariaLiveRegionRelevant() const { return nullAtom ; }
460 virtual bool ariaLiveRegionAtomic() const { return false; } 461 virtual bool ariaLiveRegionAtomic() const { return false; }
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
580 581
581 bool m_detached; 582 bool m_detached;
582 }; 583 };
583 584
584 #define DEFINE_AX_OBJECT_TYPE_CASTS(thisType, predicate) \ 585 #define DEFINE_AX_OBJECT_TYPE_CASTS(thisType, predicate) \
585 DEFINE_TYPE_CASTS(thisType, AXObject, object, object->predicate, object.pred icate) 586 DEFINE_TYPE_CASTS(thisType, AXObject, object, object->predicate, object.pred icate)
586 587
587 } // namespace blink 588 } // namespace blink
588 589
589 #endif // AXObject_h 590 #endif // AXObject_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698