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

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

Issue 1809573003: Fix support for accessible action verbs and performing the default action. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix two tests Created 4 years, 9 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 Apple Inc. All rights reserved. 2 * Copyright (C) 2008 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 int textLength() const override; 108 int textLength() const override;
109 TextStyle getTextStyle() const final; 109 TextStyle getTextStyle() const final;
110 KURL url() const override; 110 KURL url() const override;
111 111
112 // Inline text boxes. 112 // Inline text boxes.
113 void loadInlineTextBoxes() override; 113 void loadInlineTextBoxes() override;
114 AXObject* nextOnLine() const override; 114 AXObject* nextOnLine() const override;
115 AXObject* previousOnLine() const override; 115 AXObject* previousOnLine() const override;
116 116
117 // Properties of interactive elements. 117 // Properties of interactive elements.
118 String actionVerb() const override;
119 String stringValue() const override; 118 String stringValue() const override;
120 119
121 // ARIA attributes. 120 // ARIA attributes.
122 AXObject* activeDescendant() const override; 121 AXObject* activeDescendant() const override;
123 void ariaFlowToElements(AXObjectVector&) const override; 122 void ariaFlowToElements(AXObjectVector&) const override;
124 void ariaControlsElements(AXObjectVector&) const override; 123 void ariaControlsElements(AXObjectVector&) const override;
125 void ariaDescribedbyElements(AXObjectVector&) const override; 124 void ariaDescribedbyElements(AXObjectVector&) const override;
126 void ariaLabelledbyElements(AXObjectVector&) const override; 125 void ariaLabelledbyElements(AXObjectVector&) const override;
127 void ariaOwnsElements(AXObjectVector&) const override; 126 void ariaOwnsElements(AXObjectVector&) const override;
128 127
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 AXRange textControlSelection() const; 217 AXRange textControlSelection() const;
219 int indexForVisiblePosition(const VisiblePosition&) const; 218 int indexForVisiblePosition(const VisiblePosition&) const;
220 AXLayoutObject* getUnignoredObjectFromNode(Node&) const; 219 AXLayoutObject* getUnignoredObjectFromNode(Node&) const;
221 }; 220 };
222 221
223 DEFINE_AX_OBJECT_TYPE_CASTS(AXLayoutObject, isAXLayoutObject()); 222 DEFINE_AX_OBJECT_TYPE_CASTS(AXLayoutObject, isAXLayoutObject());
224 223
225 } // namespace blink 224 } // namespace blink
226 225
227 #endif // AXLayoutObject_h 226 #endif // AXLayoutObject_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698