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

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, 5 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
Index: ui/accessibility/ax_node_data.cc
diff --git a/ui/accessibility/ax_node_data.cc b/ui/accessibility/ax_node_data.cc
index 44394edaa7ce04f353068fc905c1ebc8ba7d96cd..f1b12d945cd260bba772b5e73cf60c2855aa2233 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;
« content/browser/accessibility/browser_accessibility_win.cc ('K') | « ui/accessibility/ax_enums.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698