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

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

Issue 1899823002: 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: Fixed Mac compilation issue. Created 4 years, 7 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 726 matching lines...) Expand 10 before | Expand all | Expand 10 after
737 virtual InvalidState getInvalidState() const { return InvalidStateUndefined; } 737 virtual InvalidState getInvalidState() const { return InvalidStateUndefined; }
738 // Only used when invalidState() returns InvalidStateOther. 738 // Only used when invalidState() returns InvalidStateOther.
739 virtual String ariaInvalidValue() const { return String(); } 739 virtual String ariaInvalidValue() const { return String(); }
740 virtual String valueDescription() const { return String(); } 740 virtual String valueDescription() const { return String(); }
741 virtual float valueForRange() const { return 0.0f; } 741 virtual float valueForRange() const { return 0.0f; }
742 virtual float maxValueForRange() const { return 0.0f; } 742 virtual float maxValueForRange() const { return 0.0f; }
743 virtual float minValueForRange() const { return 0.0f; } 743 virtual float minValueForRange() const { return 0.0f; }
744 virtual String stringValue() const { return String(); } 744 virtual String stringValue() const { return String(); }
745 745
746 // ARIA attributes. 746 // ARIA attributes.
747 virtual AXObject* activeDescendant() const { return nullptr; } 747 virtual AXObject* activeDescendant() { return nullptr; }
748 virtual String ariaAutoComplete() const { return String(); } 748 virtual String ariaAutoComplete() const { return String(); }
749 virtual String ariaDescribedByAttribute() const { return String(); } 749 virtual String ariaDescribedByAttribute() const { return String(); }
750 virtual void ariaFlowToElements(AXObjectVector&) const { } 750 virtual void ariaFlowToElements(AXObjectVector&) const { }
751 virtual void ariaControlsElements(AXObjectVector&) const { } 751 virtual void ariaControlsElements(AXObjectVector&) const { }
752 virtual void ariaOwnsElements(AXObjectVector& owns) const { } 752 virtual void ariaOwnsElements(AXObjectVector& owns) const { }
753 virtual void ariaDescribedbyElements(AXObjectVector&) const { } 753 virtual void ariaDescribedbyElements(AXObjectVector&) const { }
754 virtual void ariaLabelledbyElements(AXObjectVector&) const { } 754 virtual void ariaLabelledbyElements(AXObjectVector&) const { }
755 virtual bool ariaHasPopup() const { return false; } 755 virtual bool ariaHasPopup() const { return false; }
756 virtual bool isEditable() const { return false; } 756 virtual bool isEditable() const { return false; }
757 bool isMultiline() const; 757 bool isMultiline() const;
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
958 #define DEFINE_AX_OBJECT_TYPE_CASTS(thisType, predicate) \ 958 #define DEFINE_AX_OBJECT_TYPE_CASTS(thisType, predicate) \
959 DEFINE_TYPE_CASTS(thisType, AXObject, object, object->predicate, object.pred icate) 959 DEFINE_TYPE_CASTS(thisType, AXObject, object, object->predicate, object.pred icate)
960 960
961 } // namespace blink 961 } // namespace blink
962 962
963 WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS(blink::IgnoredReason); 963 WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS(blink::IgnoredReason);
964 WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS(blink::NameSource); 964 WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS(blink::NameSource);
965 WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS(blink::DescriptionSource); 965 WTF_ALLOW_INIT_WITH_MEM_FUNCTIONS(blink::DescriptionSource);
966 966
967 #endif // AXObject_h 967 #endif // AXObject_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698