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

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

Issue 659563006: Add live region root to the cached properties of an AXObject. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Address feedback Created 6 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « 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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 BLINK_EXPORT bool isVisible() const; 115 BLINK_EXPORT bool isVisible() const;
116 BLINK_EXPORT bool isVisited() const; 116 BLINK_EXPORT bool isVisited() const;
117 117
118 BLINK_EXPORT WebString accessKey() const; 118 BLINK_EXPORT WebString accessKey() const;
119 BLINK_EXPORT WebAXObject ariaActiveDescendant() const; 119 BLINK_EXPORT WebAXObject ariaActiveDescendant() const;
120 BLINK_EXPORT bool ariaControls(WebVector<WebAXObject>& controlsElements) con st; 120 BLINK_EXPORT bool ariaControls(WebVector<WebAXObject>& controlsElements) con st;
121 BLINK_EXPORT bool ariaDescribedby(WebVector<WebAXObject>& describedbyElement s) const; 121 BLINK_EXPORT bool ariaDescribedby(WebVector<WebAXObject>& describedbyElement s) const;
122 BLINK_EXPORT bool ariaFlowTo(WebVector<WebAXObject>& flowToElements) const; 122 BLINK_EXPORT bool ariaFlowTo(WebVector<WebAXObject>& flowToElements) const;
123 BLINK_EXPORT bool ariaHasPopup() const; 123 BLINK_EXPORT bool ariaHasPopup() const;
124 BLINK_EXPORT bool ariaLabelledby(WebVector<WebAXObject>& labelledbyElements) const; 124 BLINK_EXPORT bool ariaLabelledby(WebVector<WebAXObject>& labelledbyElements) const;
125 BLINK_EXPORT bool ariaLiveRegionAtomic() const;
126 BLINK_EXPORT bool ariaLiveRegionBusy() const;
127 BLINK_EXPORT WebString ariaLiveRegionRelevant() const;
128 BLINK_EXPORT WebString ariaLiveRegionStatus() const;
129 BLINK_EXPORT bool ariaOwns(WebVector<WebAXObject>& ownsElements) const; 125 BLINK_EXPORT bool ariaOwns(WebVector<WebAXObject>& ownsElements) const;
130 BLINK_EXPORT WebRect boundingBoxRect() const; 126 BLINK_EXPORT WebRect boundingBoxRect() const;
131 BLINK_EXPORT bool canvasHasFallbackContent() const; 127 BLINK_EXPORT bool canvasHasFallbackContent() const;
132 BLINK_EXPORT WebPoint clickPoint() const; 128 BLINK_EXPORT WebPoint clickPoint() const;
133 BLINK_EXPORT void colorValue(int& r, int& g, int& b) const; 129 BLINK_EXPORT void colorValue(int& r, int& g, int& b) const;
134 BLINK_EXPORT double estimatedLoadingProgress() const; 130 BLINK_EXPORT double estimatedLoadingProgress() const;
135 BLINK_EXPORT WebString helpText() const; 131 BLINK_EXPORT WebString helpText() const;
136 BLINK_EXPORT int headingLevel() const; 132 BLINK_EXPORT int headingLevel() const;
137 BLINK_EXPORT int hierarchicalLevel() const; 133 BLINK_EXPORT int hierarchicalLevel() const;
138 BLINK_EXPORT WebAXObject hitTest(const WebPoint&) const; 134 BLINK_EXPORT WebAXObject hitTest(const WebPoint&) const;
139 BLINK_EXPORT WebString keyboardShortcut() const; 135 BLINK_EXPORT WebString keyboardShortcut() const;
140 BLINK_EXPORT WebAXRole role() const; 136 BLINK_EXPORT WebAXRole role() const;
141 BLINK_EXPORT unsigned selectionEnd() const; 137 BLINK_EXPORT unsigned selectionEnd() const;
142 BLINK_EXPORT unsigned selectionEndLineNumber() const; 138 BLINK_EXPORT unsigned selectionEndLineNumber() const;
143 BLINK_EXPORT unsigned selectionStart() const; 139 BLINK_EXPORT unsigned selectionStart() const;
144 BLINK_EXPORT unsigned selectionStartLineNumber() const; 140 BLINK_EXPORT unsigned selectionStartLineNumber() const;
145 BLINK_EXPORT WebString stringValue() const; 141 BLINK_EXPORT WebString stringValue() const;
146 BLINK_EXPORT WebString title() const; 142 BLINK_EXPORT WebString title() const;
147 BLINK_EXPORT WebAXObject titleUIElement() const; 143 BLINK_EXPORT WebAXObject titleUIElement() const;
148 BLINK_EXPORT WebURL url() const; 144 BLINK_EXPORT WebURL url() const;
149 145
146 // Live regions.
147 BLINK_EXPORT bool isInLiveRegion() const;
148 BLINK_EXPORT bool liveRegionAtomic() const;
149 BLINK_EXPORT bool liveRegionBusy() const;
150 BLINK_EXPORT WebString liveRegionRelevant() const;
151 BLINK_EXPORT WebString liveRegionStatus() const;
152 BLINK_EXPORT bool containerLiveRegionAtomic() const;
153 BLINK_EXPORT bool containerLiveRegionBusy() const;
154 BLINK_EXPORT WebString containerLiveRegionRelevant() const;
155 BLINK_EXPORT WebString containerLiveRegionStatus() const;
156
150 BLINK_EXPORT bool supportsRangeValue() const; 157 BLINK_EXPORT bool supportsRangeValue() const;
151 BLINK_EXPORT WebString valueDescription() const; 158 BLINK_EXPORT WebString valueDescription() const;
152 BLINK_EXPORT float valueForRange() const; 159 BLINK_EXPORT float valueForRange() const;
153 BLINK_EXPORT float maxValueForRange() const; 160 BLINK_EXPORT float maxValueForRange() const;
154 BLINK_EXPORT float minValueForRange() const; 161 BLINK_EXPORT float minValueForRange() const;
155 162
156 BLINK_EXPORT WebNode node() const; 163 BLINK_EXPORT WebNode node() const;
157 BLINK_EXPORT WebDocument document() const; 164 BLINK_EXPORT WebDocument document() const;
158 BLINK_EXPORT bool hasComputedStyle() const; 165 BLINK_EXPORT bool hasComputedStyle() const;
159 BLINK_EXPORT WebString computedStyleDisplay() const; 166 BLINK_EXPORT WebString computedStyleDisplay() const;
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 operator WTF::PassRefPtr<AXObject>() const; 223 operator WTF::PassRefPtr<AXObject>() const;
217 #endif 224 #endif
218 225
219 private: 226 private:
220 WebPrivatePtr<AXObject> m_private; 227 WebPrivatePtr<AXObject> m_private;
221 }; 228 };
222 229
223 } // namespace blink 230 } // namespace blink
224 231
225 #endif 232 #endif
OLDNEW
« no previous file with comments | « Source/web/WebAXObject.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698