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

Side by Side Diff: public/web/WebAXObject.h

Issue 1071483002: Implement aria properties setsize and posinset. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Comments incorporated Created 5 years, 8 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) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google 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 are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * 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 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 // Takes the result of nameFrom from calling |name|, above, and retrieves th e 185 // Takes the result of nameFrom from calling |name|, above, and retrieves th e
186 // accessible description of the object, which is secondary to |name|, an en um indicating 186 // accessible description of the object, which is secondary to |name|, an en um indicating
187 // where the description was derived from, and a list of objects that were u sed to 187 // where the description was derived from, and a list of objects that were u sed to
188 // derive the description, if any. 188 // derive the description, if any.
189 BLINK_EXPORT WebString description(WebAXNameFrom, WebAXDescriptionFrom&, Web Vector<WebAXObject>& descriptionObjects); 189 BLINK_EXPORT WebString description(WebAXNameFrom, WebAXDescriptionFrom&, Web Vector<WebAXObject>& descriptionObjects);
190 // Takes the result of nameFrom and descriptionFrom from calling |name| and |description|, 190 // Takes the result of nameFrom and descriptionFrom from calling |name| and |description|,
191 // above, and retrieves the placeholder of the object, if present and if it wasn't already 191 // above, and retrieves the placeholder of the object, if present and if it wasn't already
192 // exposed by one of the two functions above. 192 // exposed by one of the two functions above.
193 BLINK_EXPORT WebString placeholder(WebAXNameFrom, WebAXDescriptionFrom); 193 BLINK_EXPORT WebString placeholder(WebAXNameFrom, WebAXDescriptionFrom);
194 194
195 // Position in set & Size of set.
dmazzoni 2015/04/16 17:19:48 Say "1-based position in set" so that it's clear t
196 BLINK_EXPORT int posInSet() const;
197 BLINK_EXPORT int setSize() const;
198
195 // Live regions. 199 // Live regions.
196 BLINK_EXPORT bool isInLiveRegion() const; 200 BLINK_EXPORT bool isInLiveRegion() const;
197 BLINK_EXPORT bool liveRegionAtomic() const; 201 BLINK_EXPORT bool liveRegionAtomic() const;
198 BLINK_EXPORT bool liveRegionBusy() const; 202 BLINK_EXPORT bool liveRegionBusy() const;
199 BLINK_EXPORT WebString liveRegionRelevant() const; 203 BLINK_EXPORT WebString liveRegionRelevant() const;
200 BLINK_EXPORT WebString liveRegionStatus() const; 204 BLINK_EXPORT WebString liveRegionStatus() const;
201 BLINK_EXPORT bool containerLiveRegionAtomic() const; 205 BLINK_EXPORT bool containerLiveRegionAtomic() const;
202 BLINK_EXPORT bool containerLiveRegionBusy() const; 206 BLINK_EXPORT bool containerLiveRegionBusy() const;
203 BLINK_EXPORT WebString containerLiveRegionRelevant() const; 207 BLINK_EXPORT WebString containerLiveRegionRelevant() const;
204 BLINK_EXPORT WebString containerLiveRegionStatus() const; 208 BLINK_EXPORT WebString containerLiveRegionStatus() const;
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 operator WTF::PassRefPtr<AXObject>() const; 284 operator WTF::PassRefPtr<AXObject>() const;
281 #endif 285 #endif
282 286
283 private: 287 private:
284 WebPrivatePtr<AXObject> m_private; 288 WebPrivatePtr<AXObject> m_private;
285 }; 289 };
286 290
287 } // namespace blink 291 } // namespace blink
288 292
289 #endif 293 #endif
OLDNEW
« Source/modules/accessibility/AXObject.cpp ('K') | « Source/web/WebAXObject.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698