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

Unified Diff: ui/accessibility/ax_node_data.cc

Issue 1195223006: Reports the position of the caret and current selection in content editables. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased with master. Created 5 years, 4 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 | « ui/accessibility/ax_enums.idl ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/accessibility/ax_node_data.cc
diff --git a/ui/accessibility/ax_node_data.cc b/ui/accessibility/ax_node_data.cc
index 907aaafce4daff2e8fb7891908201f780d8e6337..7dd0dd782a975214ea87c26780fbda554b97f2f6 100644
--- a/ui/accessibility/ax_node_data.cc
+++ b/ui/accessibility/ax_node_data.cc
@@ -330,6 +330,18 @@ std::string AXNodeData::ToString() const {
case AX_ATTR_HIERARCHICAL_LEVEL:
result += " level=" + value;
break;
+ case AX_ATTR_ANCHOR_OBJECT_ID:
+ result += " anchor_object_id=" + value;
+ break;
+ case AX_ATTR_ANCHOR_OFFSET:
+ result += " anchor_offset=" + value;
+ break;
+ case AX_ATTR_FOCUS_OBJECT_ID:
+ result += " focus_object_id=" + value;
+ break;
+ case AX_ATTR_FOCUS_OFFSET:
+ result += " focus_offset=" + value;
+ break;
case AX_ATTR_TEXT_SEL_START:
result += " sel_start=" + value;
break;
« no previous file with comments | « ui/accessibility/ax_enums.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698