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

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

Issue 779513007: Introduce new API ariaAutoComplete() to expose correct state and object attribute. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years 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
« Source/web/WebAXObject.cpp ('K') | « Source/web/WebAXObject.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) 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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 BLINK_EXPORT bool isPressed() const; 107 BLINK_EXPORT bool isPressed() const;
108 BLINK_EXPORT bool isReadOnly() const; 108 BLINK_EXPORT bool isReadOnly() const;
109 BLINK_EXPORT bool isRequired() const; 109 BLINK_EXPORT bool isRequired() const;
110 BLINK_EXPORT bool isSelected() const; 110 BLINK_EXPORT bool isSelected() const;
111 BLINK_EXPORT bool isSelectedOptionActive() const; 111 BLINK_EXPORT bool isSelectedOptionActive() const;
112 BLINK_EXPORT bool isVisible() const; 112 BLINK_EXPORT bool isVisible() const;
113 BLINK_EXPORT bool isVisited() const; 113 BLINK_EXPORT bool isVisited() const;
114 114
115 BLINK_EXPORT WebString accessKey() const; 115 BLINK_EXPORT WebString accessKey() const;
116 BLINK_EXPORT WebAXObject ariaActiveDescendant() const; 116 BLINK_EXPORT WebAXObject ariaActiveDescendant() const;
117 BLINK_EXPORT WebString ariaAutoComplete() const;
117 BLINK_EXPORT bool ariaControls(WebVector<WebAXObject>& controlsElements) con st; 118 BLINK_EXPORT bool ariaControls(WebVector<WebAXObject>& controlsElements) con st;
118 BLINK_EXPORT bool ariaDescribedby(WebVector<WebAXObject>& describedbyElement s) const; 119 BLINK_EXPORT bool ariaDescribedby(WebVector<WebAXObject>& describedbyElement s) const;
119 BLINK_EXPORT bool ariaFlowTo(WebVector<WebAXObject>& flowToElements) const; 120 BLINK_EXPORT bool ariaFlowTo(WebVector<WebAXObject>& flowToElements) const;
120 BLINK_EXPORT bool ariaHasPopup() const; 121 BLINK_EXPORT bool ariaHasPopup() const;
121 BLINK_EXPORT bool ariaLabelledby(WebVector<WebAXObject>& labelledbyElements) const; 122 BLINK_EXPORT bool ariaLabelledby(WebVector<WebAXObject>& labelledbyElements) const;
122 BLINK_EXPORT bool ariaOwns(WebVector<WebAXObject>& ownsElements) const; 123 BLINK_EXPORT bool ariaOwns(WebVector<WebAXObject>& ownsElements) const;
123 BLINK_EXPORT WebRect boundingBoxRect() const; 124 BLINK_EXPORT WebRect boundingBoxRect() const;
124 BLINK_EXPORT bool canvasHasFallbackContent() const; 125 BLINK_EXPORT bool canvasHasFallbackContent() const;
125 BLINK_EXPORT WebPoint clickPoint() const; 126 BLINK_EXPORT WebPoint clickPoint() const;
126 BLINK_EXPORT void colorValue(int& r, int& g, int& b) const; 127 BLINK_EXPORT void colorValue(int& r, int& g, int& b) const;
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 operator WTF::PassRefPtr<AXObject>() const; 227 operator WTF::PassRefPtr<AXObject>() const;
227 #endif 228 #endif
228 229
229 private: 230 private:
230 WebPrivatePtr<AXObject> m_private; 231 WebPrivatePtr<AXObject> m_private;
231 }; 232 };
232 233
233 } // namespace blink 234 } // namespace blink
234 235
235 #endif 236 #endif
OLDNEW
« Source/web/WebAXObject.cpp ('K') | « Source/web/WebAXObject.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698