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

Unified 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 side-by-side diff with in-line comments
Download patch
« Source/web/WebAXObject.cpp ('K') | « Source/web/WebAXObject.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebAXObject.h
diff --git a/public/web/WebAXObject.h b/public/web/WebAXObject.h
index 0d9c5bb33964efa1cc601793d08412bbf8d77e23..de7af157ef55761151616e5f73b29f5ba62c4960 100644
--- a/public/web/WebAXObject.h
+++ b/public/web/WebAXObject.h
@@ -157,6 +157,7 @@ public:
BLINK_EXPORT WebString language() const;
BLINK_EXPORT WebAXOrientation orientation() const;
BLINK_EXPORT WebAXRole role() const;
+ BLINK_EXPORT void selection(unsigned* anchorID, unsigned* anchorOffset, unsigned* focusId, unsigned* focusOffset) const;
dmazzoni 2015/06/16 17:24:04 Put this in its own block with a comment like "Can
BLINK_EXPORT unsigned selectionEnd() const;
BLINK_EXPORT unsigned selectionEndLineNumber() const;
BLINK_EXPORT unsigned selectionStart() const;
« 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