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

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

Issue 1185343003: Implements the ability to get and set the caret position and the current selection from anywhere in… (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 6 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
« 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 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 // Only used when invalidState() returns WebAXInvalidStateOther. 150 // Only used when invalidState() returns WebAXInvalidStateOther.
151 BLINK_EXPORT WebString ariaInvalidValue() const; 151 BLINK_EXPORT WebString ariaInvalidValue() const;
152 BLINK_EXPORT double estimatedLoadingProgress() const; 152 BLINK_EXPORT double estimatedLoadingProgress() const;
153 BLINK_EXPORT int headingLevel() const; 153 BLINK_EXPORT int headingLevel() const;
154 BLINK_EXPORT int hierarchicalLevel() const; 154 BLINK_EXPORT int hierarchicalLevel() const;
155 BLINK_EXPORT WebAXObject hitTest(const WebPoint&) const; 155 BLINK_EXPORT WebAXObject hitTest(const WebPoint&) const;
156 BLINK_EXPORT WebString keyboardShortcut() const; 156 BLINK_EXPORT WebString keyboardShortcut() const;
157 BLINK_EXPORT WebString language() const; 157 BLINK_EXPORT WebString language() const;
158 BLINK_EXPORT WebAXOrientation orientation() const; 158 BLINK_EXPORT WebAXOrientation orientation() const;
159 BLINK_EXPORT WebAXRole role() const; 159 BLINK_EXPORT WebAXRole role() const;
160 BLINK_EXPORT void selection(unsigned* anchorID, unsigned* anchorOffset, unsi gned* focusId, unsigned* focusOffset) const;
dmazzoni 2015/06/16 17:24:04 Put this in its own block with a comment like "Can
160 BLINK_EXPORT unsigned selectionEnd() const; 161 BLINK_EXPORT unsigned selectionEnd() const;
161 BLINK_EXPORT unsigned selectionEndLineNumber() const; 162 BLINK_EXPORT unsigned selectionEndLineNumber() const;
162 BLINK_EXPORT unsigned selectionStart() const; 163 BLINK_EXPORT unsigned selectionStart() const;
163 BLINK_EXPORT unsigned selectionStartLineNumber() const; 164 BLINK_EXPORT unsigned selectionStartLineNumber() const;
164 BLINK_EXPORT WebString stringValue() const; 165 BLINK_EXPORT WebString stringValue() const;
165 BLINK_EXPORT WebAXTextDirection textDirection() const; 166 BLINK_EXPORT WebAXTextDirection textDirection() const;
166 BLINK_EXPORT WebAXTextStyle textStyle() const; 167 BLINK_EXPORT WebAXTextStyle textStyle() const;
167 BLINK_EXPORT WebURL url() const; 168 BLINK_EXPORT WebURL url() const;
168 169
169 // Deprecated text alternative calculation API. All of these will be replace d 170 // Deprecated text alternative calculation API. All of these will be replace d
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
305 operator WTF::PassRefPtr<AXObject>() const; 306 operator WTF::PassRefPtr<AXObject>() const;
306 #endif 307 #endif
307 308
308 private: 309 private:
309 WebPrivatePtr<AXObject> m_private; 310 WebPrivatePtr<AXObject> m_private;
310 }; 311 };
311 312
312 } // namespace blink 313 } // namespace blink
313 314
314 #endif 315 #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