| 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 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 183 // accessible description of the object, which is secondary to |name|, an enum | 183 // accessible description of the object, which is secondary to |name|, an enum |
| 184 // indicating where the description was derived from, and a list of objects | 184 // indicating where the description was derived from, and a list of objects |
| 185 // that were used to derive the description, if any. | 185 // that were used to derive the description, if any. |
| 186 BLINK_EXPORT WebString | 186 BLINK_EXPORT WebString |
| 187 description(WebAXNameFrom, | 187 description(WebAXNameFrom, |
| 188 WebAXDescriptionFrom&, | 188 WebAXDescriptionFrom&, |
| 189 WebVector<WebAXObject>& descriptionObjects) const; | 189 WebVector<WebAXObject>& descriptionObjects) const; |
| 190 // Takes the result of nameFrom and descriptionFrom from calling |name| and | 190 // Takes the result of nameFrom and descriptionFrom from calling |name| and |
| 191 // |description|, above, and retrieves the placeholder of the object, if | 191 // |description|, above, and retrieves the placeholder of the object, if |
| 192 // present and if it wasn't already exposed by one of the two functions above. | 192 // present and if it wasn't already exposed by one of the two functions above. |
| 193 BLINK_EXPORT WebString placeholder(WebAXNameFrom, WebAXDescriptionFrom) const; | 193 BLINK_EXPORT WebString placeholder(WebAXNameFrom) const; |
| 194 | 194 |
| 195 // The following selection functions get or set the global document | 195 // The following selection functions get or set the global document |
| 196 // selection and can be called on any object in the tree. | 196 // selection and can be called on any object in the tree. |
| 197 BLINK_EXPORT void selection(WebAXObject& anchorObject, | 197 BLINK_EXPORT void selection(WebAXObject& anchorObject, |
| 198 int& anchorOffset, | 198 int& anchorOffset, |
| 199 WebAXTextAffinity& anchorAffinity, | 199 WebAXTextAffinity& anchorAffinity, |
| 200 WebAXObject& focusObject, | 200 WebAXObject& focusObject, |
| 201 int& focusOffset, | 201 int& focusOffset, |
| 202 WebAXTextAffinity& focusAffinity) const; | 202 WebAXTextAffinity& focusAffinity) const; |
| 203 BLINK_EXPORT void setSelection(const WebAXObject& anchorObject, | 203 BLINK_EXPORT void setSelection(const WebAXObject& anchorObject, |
| (...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 340 operator AXObject*() const; | 340 operator AXObject*() const; |
| 341 #endif | 341 #endif |
| 342 | 342 |
| 343 private: | 343 private: |
| 344 WebPrivatePtr<AXObject> m_private; | 344 WebPrivatePtr<AXObject> m_private; |
| 345 }; | 345 }; |
| 346 | 346 |
| 347 } // namespace blink | 347 } // namespace blink |
| 348 | 348 |
| 349 #endif | 349 #endif |
| OLD | NEW |