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

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

Issue 2025923002: Reland of Uses the activedescendant_changed event received from Blink to fire the right focus event (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 | « third_party/WebKit/Source/modules/accessibility/AXNodeObject.cpp ('k') | no next file » | 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) 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 754 matching lines...) Expand 10 before | Expand all | Expand 10 after
765 virtual InvalidState getInvalidState() const { return InvalidStateUndefined; } 765 virtual InvalidState getInvalidState() const { return InvalidStateUndefined; }
766 // Only used when invalidState() returns InvalidStateOther. 766 // Only used when invalidState() returns InvalidStateOther.
767 virtual String ariaInvalidValue() const { return String(); } 767 virtual String ariaInvalidValue() const { return String(); }
768 virtual String valueDescription() const { return String(); } 768 virtual String valueDescription() const { return String(); }
769 virtual float valueForRange() const { return 0.0f; } 769 virtual float valueForRange() const { return 0.0f; }
770 virtual float maxValueForRange() const { return 0.0f; } 770 virtual float maxValueForRange() const { return 0.0f; }
771 virtual float minValueForRange() const { return 0.0f; } 771 virtual float minValueForRange() const { return 0.0f; }
772 virtual String stringValue() const { return String(); } 772 virtual String stringValue() const { return String(); }
773 773
774 // ARIA attributes. 774 // ARIA attributes.
775 virtual AXObject* activeDescendant() const { return nullptr; } 775 virtual AXObject* activeDescendant() { return nullptr; }
776 virtual String ariaAutoComplete() const { return String(); } 776 virtual String ariaAutoComplete() const { return String(); }
777 virtual String ariaDescribedByAttribute() const { return String(); } 777 virtual String ariaDescribedByAttribute() const { return String(); }
778 virtual void ariaFlowToElements(AXObjectVector&) const { } 778 virtual void ariaFlowToElements(AXObjectVector&) const { }
779 virtual void ariaControlsElements(AXObjectVector&) const { } 779 virtual void ariaControlsElements(AXObjectVector&) const { }
780 virtual void ariaOwnsElements(AXObjectVector& owns) const { } 780 virtual void ariaOwnsElements(AXObjectVector& owns) const { }
781 virtual void ariaDescribedbyElements(AXObjectVector&) const { } 781 virtual void ariaDescribedbyElements(AXObjectVector&) const { }
782 virtual void ariaLabelledbyElements(AXObjectVector&) const { } 782 virtual void ariaLabelledbyElements(AXObjectVector&) const { }
783 virtual bool ariaHasPopup() const { return false; } 783 virtual bool ariaHasPopup() const { return false; }
784 virtual bool isEditable() const { return false; } 784 virtual bool isEditable() const { return false; }
785 bool isMultiline() const; 785 bool isMultiline() const;
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
982 982
983 static unsigned s_numberOfLiveAXObjects; 983 static unsigned s_numberOfLiveAXObjects;
984 }; 984 };
985 985
986 #define DEFINE_AX_OBJECT_TYPE_CASTS(thisType, predicate) \ 986 #define DEFINE_AX_OBJECT_TYPE_CASTS(thisType, predicate) \
987 DEFINE_TYPE_CASTS(thisType, AXObject, object, object->predicate, object.pred icate) 987 DEFINE_TYPE_CASTS(thisType, AXObject, object, object->predicate, object.pred icate)
988 988
989 } // namespace blink 989 } // namespace blink
990 990
991 #endif // AXObject_h 991 #endif // AXObject_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/modules/accessibility/AXNodeObject.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698