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

Unified Diff: public/web/WebAXObject.h

Issue 23983002: Expose InlineTextBoxes in the accessibility tree. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 7 years, 2 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
« no previous file with comments | « public/web/WebAXEnums.h ('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 43e55f290dd176d7c02f78588ffb6f101f9c84e2..10d4646846961176f5d7ed5a6787b9e563b07e36 100644
--- a/public/web/WebAXObject.h
+++ b/public/web/WebAXObject.h
@@ -79,6 +79,9 @@ public:
BLINK_EXPORT void startCachingComputedObjectAttributesUntilTreeMutates();
BLINK_EXPORT void stopCachingComputedObjectAttributes();
+ // Temporary: this flag will only be toggleable until Chromium has it on by default.
+ BLINK_EXPORT static void enableInlineTextBoxAccessibility();
+
BLINK_EXPORT int axID() const;
// Update the underlying tree, and return true if this object is
@@ -195,6 +198,11 @@ public:
BLINK_EXPORT unsigned cellRowIndex() const;
BLINK_EXPORT unsigned cellRowSpan() const;
+ // For an inline text box.
+ BLINK_EXPORT WebAXTextDirection textDirection() const;
+ BLINK_EXPORT void characterOffsets(WebVector<int>&) const;
+ BLINK_EXPORT void wordBoundaries(WebVector<int>& starts, WebVector<int>& ends) const;
+
// Make this object visible by scrolling as many nested scrollable views as needed.
BLINK_EXPORT void scrollToMakeVisible() const;
// Same, but if the whole object can't be made visible, try for this subrect, in local coordinates.
« no previous file with comments | « public/web/WebAXEnums.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698