OLD | NEW |
---|---|
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 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
148 // Only used when invalidState() returns WebAXInvalidStateOther. | 148 // Only used when invalidState() returns WebAXInvalidStateOther. |
149 BLINK_EXPORT WebString ariaInvalidValue() const; | 149 BLINK_EXPORT WebString ariaInvalidValue() const; |
150 BLINK_EXPORT double estimatedLoadingProgress() const; | 150 BLINK_EXPORT double estimatedLoadingProgress() const; |
151 BLINK_EXPORT int headingLevel() const; | 151 BLINK_EXPORT int headingLevel() const; |
152 BLINK_EXPORT int hierarchicalLevel() const; | 152 BLINK_EXPORT int hierarchicalLevel() const; |
153 BLINK_EXPORT WebAXObject hitTest(const WebPoint&) const; | 153 BLINK_EXPORT WebAXObject hitTest(const WebPoint&) const; |
154 BLINK_EXPORT WebString keyboardShortcut() const; | 154 BLINK_EXPORT WebString keyboardShortcut() const; |
155 BLINK_EXPORT WebString language() const; | 155 BLINK_EXPORT WebString language() const; |
156 BLINK_EXPORT WebAXOrientation orientation() const; | 156 BLINK_EXPORT WebAXOrientation orientation() const; |
157 BLINK_EXPORT WebAXRole role() const; | 157 BLINK_EXPORT WebAXRole role() const; |
158 // The following selection functions get or set the global document | |
dmazzoni
2015/06/22 17:13:35
Put these in their own section in the file
| |
159 // selection and can be called on any object in the tree. | |
160 BLINK_EXPORT void selection(WebAXObject& anchorObject, int& anchorOffset, | |
161 WebAXObject& focusObject, int& focusOffset) const; | |
162 BLINK_EXPORT void setSelection(const WebAXObject& anchorObject, int anchorOf fset, | |
163 const WebAXObject& focusObject, int focusOffset) const; | |
164 // The following selection functions return text offsets calculated starting | |
165 // the current object. They only report on a selection that is placed on | |
166 // the current object or on any of its descendants. | |
158 BLINK_EXPORT unsigned selectionEnd() const; | 167 BLINK_EXPORT unsigned selectionEnd() const; |
159 BLINK_EXPORT unsigned selectionEndLineNumber() const; | 168 BLINK_EXPORT unsigned selectionEndLineNumber() const; |
160 BLINK_EXPORT unsigned selectionStart() const; | 169 BLINK_EXPORT unsigned selectionStart() const; |
161 BLINK_EXPORT unsigned selectionStartLineNumber() const; | 170 BLINK_EXPORT unsigned selectionStartLineNumber() const; |
162 BLINK_EXPORT WebString stringValue() const; | 171 BLINK_EXPORT WebString stringValue() const; |
163 BLINK_EXPORT WebAXTextDirection textDirection() const; | 172 BLINK_EXPORT WebAXTextDirection textDirection() const; |
164 BLINK_EXPORT WebAXTextStyle textStyle() const; | 173 BLINK_EXPORT WebAXTextStyle textStyle() const; |
165 BLINK_EXPORT WebURL url() const; | 174 BLINK_EXPORT WebURL url() const; |
166 | 175 |
167 // Deprecated text alternative calculation API. All of these will be replace d | 176 // Deprecated text alternative calculation API. All of these will be replace d |
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
302 operator WTF::PassRefPtr<AXObject>() const; | 311 operator WTF::PassRefPtr<AXObject>() const; |
303 #endif | 312 #endif |
304 | 313 |
305 private: | 314 private: |
306 WebPrivatePtr<AXObject> m_private; | 315 WebPrivatePtr<AXObject> m_private; |
307 }; | 316 }; |
308 | 317 |
309 } // namespace blink | 318 } // namespace blink |
310 | 319 |
311 #endif | 320 #endif |
OLD | NEW |