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

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: incorporate comments 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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 WebString ariaAutoComplete() const;
118 BLINK_EXPORT bool ariaControls(WebVector<WebAXObject>& controlsElements) con st; 118 BLINK_EXPORT bool ariaControls(WebVector<WebAXObject>& controlsElements) con st;
119 BLINK_EXPORT bool ariaDescribedby(WebVector<WebAXObject>& describedbyElement s) const; 119 BLINK_EXPORT bool ariaDescribedby(WebVector<WebAXObject>& describedbyElement s) const;
120 BLINK_EXPORT WebString ariaDropEffect() const; 120 BLINK_EXPORT WebString ariaDropEffect() const;
121 BLINK_EXPORT bool ariaFlowTo(WebVector<WebAXObject>& flowToElements) const; 121 BLINK_EXPORT bool ariaFlowTo(WebVector<WebAXObject>& flowToElements) const;
122 BLINK_EXPORT bool ariaHasPopup() const; 122 BLINK_EXPORT bool ariaHasPopup() const;
123 BLINK_EXPORT bool ariaLabelledby(WebVector<WebAXObject>& labelledbyElements) const; 123 BLINK_EXPORT bool ariaLabelledby(WebVector<WebAXObject>& labelledbyElements) const;
124 BLINK_EXPORT bool isMultiline() const;
125 BLINK_EXPORT bool ariaOwns(WebVector<WebAXObject>& ownsElements) const; 124 BLINK_EXPORT bool ariaOwns(WebVector<WebAXObject>& ownsElements) const;
126 BLINK_EXPORT WebRect boundingBoxRect() const; 125 BLINK_EXPORT WebRect boundingBoxRect() const;
127 BLINK_EXPORT bool canvasHasFallbackContent() const; 126 BLINK_EXPORT bool canvasHasFallbackContent() const;
128 BLINK_EXPORT WebPoint clickPoint() const; 127 BLINK_EXPORT WebPoint clickPoint() const;
129 BLINK_EXPORT void colorValue(int& r, int& g, int& b) const; 128 BLINK_EXPORT void colorValue(int& r, int& g, int& b) const;
130 BLINK_EXPORT WebAXInvalidState invalidState() const; 129 BLINK_EXPORT WebAXInvalidState invalidState() const;
131 // Only used when invalidState() returns WebAXInvalidStateOther. 130 // Only used when invalidState() returns WebAXInvalidStateOther.
132 BLINK_EXPORT WebString ariaInvalidValue() const; 131 BLINK_EXPORT WebString ariaInvalidValue() const;
133 BLINK_EXPORT double estimatedLoadingProgress() const; 132 BLINK_EXPORT double estimatedLoadingProgress() const;
134 BLINK_EXPORT WebString helpText() const; 133 BLINK_EXPORT WebString helpText() const;
135 BLINK_EXPORT int headingLevel() const; 134 BLINK_EXPORT int headingLevel() const;
136 BLINK_EXPORT int hierarchicalLevel() const; 135 BLINK_EXPORT int hierarchicalLevel() const;
137 BLINK_EXPORT WebAXObject hitTest(const WebPoint&) const; 136 BLINK_EXPORT WebAXObject hitTest(const WebPoint&) const;
137 BLINK_EXPORT bool isMultiline() const;
138 BLINK_EXPORT WebString keyboardShortcut() const; 138 BLINK_EXPORT WebString keyboardShortcut() const;
139 BLINK_EXPORT WebString placeholder() const; 139 BLINK_EXPORT WebString placeholder() const;
140 BLINK_EXPORT int posInSet() const;
140 BLINK_EXPORT WebAXRole role() const; 141 BLINK_EXPORT WebAXRole role() const;
141 BLINK_EXPORT unsigned selectionEnd() const; 142 BLINK_EXPORT unsigned selectionEnd() const;
142 BLINK_EXPORT unsigned selectionEndLineNumber() const; 143 BLINK_EXPORT unsigned selectionEndLineNumber() const;
143 BLINK_EXPORT unsigned selectionStart() const; 144 BLINK_EXPORT unsigned selectionStart() const;
144 BLINK_EXPORT unsigned selectionStartLineNumber() const; 145 BLINK_EXPORT unsigned selectionStartLineNumber() const;
146 BLINK_EXPORT int setSize() const;
145 BLINK_EXPORT WebString stringValue() const; 147 BLINK_EXPORT WebString stringValue() const;
146 BLINK_EXPORT WebString title() const; 148 BLINK_EXPORT WebString title() const;
147 BLINK_EXPORT WebString language() const; 149 BLINK_EXPORT WebString language() const;
148 BLINK_EXPORT WebAXObject titleUIElement() const; 150 BLINK_EXPORT WebAXObject titleUIElement() const;
149 BLINK_EXPORT WebURL url() const; 151 BLINK_EXPORT WebURL url() const;
150 152
151 // Live regions. 153 // Live regions.
152 BLINK_EXPORT bool isInLiveRegion() const; 154 BLINK_EXPORT bool isInLiveRegion() const;
153 BLINK_EXPORT bool liveRegionAtomic() const; 155 BLINK_EXPORT bool liveRegionAtomic() const;
154 BLINK_EXPORT bool liveRegionBusy() const; 156 BLINK_EXPORT bool liveRegionBusy() const;
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 operator WTF::PassRefPtr<AXObject>() const; 238 operator WTF::PassRefPtr<AXObject>() const;
237 #endif 239 #endif
238 240
239 private: 241 private:
240 WebPrivatePtr<AXObject> m_private; 242 WebPrivatePtr<AXObject> m_private;
241 }; 243 };
242 244
243 } // namespace blink 245 } // namespace blink
244 246
245 #endif 247 #endif
OLDNEW
« Source/modules/accessibility/AXNodeObject.cpp ('K') | « Source/web/WebAXObject.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698