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

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

Issue 2931893002: More precise use of multiline state (Closed)
Patch Set: Remove unnecessary changes Created 3 years, 5 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 622 matching lines...) Expand 10 before | Expand all | Expand 10 after
633 virtual String StringValue() const { return String(); } 633 virtual String StringValue() const { return String(); }
634 634
635 // ARIA attributes. 635 // ARIA attributes.
636 virtual AXObject* ActiveDescendant() { return nullptr; } 636 virtual AXObject* ActiveDescendant() { return nullptr; }
637 virtual String AriaAutoComplete() const { return String(); } 637 virtual String AriaAutoComplete() const { return String(); }
638 virtual void AriaOwnsElements(AXObjectVector& owns) const {} 638 virtual void AriaOwnsElements(AXObjectVector& owns) const {}
639 virtual void AriaDescribedbyElements(AXObjectVector&) const {} 639 virtual void AriaDescribedbyElements(AXObjectVector&) const {}
640 virtual void AriaLabelledbyElements(AXObjectVector&) const {} 640 virtual void AriaLabelledbyElements(AXObjectVector&) const {}
641 virtual bool AriaHasPopup() const { return false; } 641 virtual bool AriaHasPopup() const { return false; }
642 virtual bool IsEditable() const { return false; } 642 virtual bool IsEditable() const { return false; }
643 bool IsMultiline() const; 643 virtual bool IsMultiline() const { return false; }
644 virtual bool IsRichlyEditable() const { return false; } 644 virtual bool IsRichlyEditable() const { return false; }
645 bool AriaCheckedIsPresent() const; 645 bool AriaCheckedIsPresent() const;
646 bool AriaPressedIsPresent() const; 646 bool AriaPressedIsPresent() const;
647 virtual AccessibilityRole AriaRoleAttribute() const { return kUnknownRole; } 647 virtual AccessibilityRole AriaRoleAttribute() const { return kUnknownRole; }
648 virtual bool AriaRoleHasPresentationalChildren() const { return false; } 648 virtual bool AriaRoleHasPresentationalChildren() const { return false; }
649 virtual AXObject* AncestorForWhichThisIsAPresentationalChild() const { 649 virtual AXObject* AncestorForWhichThisIsAPresentationalChild() const {
650 return 0; 650 return 0;
651 } 651 }
652 bool SupportsActiveDescendant() const; 652 bool SupportsActiveDescendant() const;
653 bool SupportsARIAAttributes() const; 653 bool SupportsARIAAttributes() const;
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
894 static unsigned number_of_live_ax_objects_; 894 static unsigned number_of_live_ax_objects_;
895 }; 895 };
896 896
897 #define DEFINE_AX_OBJECT_TYPE_CASTS(thisType, predicate) \ 897 #define DEFINE_AX_OBJECT_TYPE_CASTS(thisType, predicate) \
898 DEFINE_TYPE_CASTS(thisType, AXObject, object, object->predicate, \ 898 DEFINE_TYPE_CASTS(thisType, AXObject, object, object->predicate, \
899 object.predicate) 899 object.predicate)
900 900
901 } // namespace blink 901 } // namespace blink
902 902
903 #endif // AXObject_h 903 #endif // AXObject_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698