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

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: 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
« ui/accessibility/ax_enums.idl ('K') | « 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 44394edaa7ce04f353068fc905c1ebc8ba7d96cd..a30b982de7b9d580446bf26be625d9abf6fe25a2 100644
--- a/ui/accessibility/ax_node_data.cc
+++ b/ui/accessibility/ax_node_data.cc
@@ -330,9 +330,15 @@ std::string AXNodeData::ToString() const {
case AX_ATTR_HIERARCHICAL_LEVEL:
result += " level=" + value;
break;
+ case AX_ATTR_OBJ_SEL_START:
+ result += " obj_sel_start=" + value;
+ break;
case AX_ATTR_TEXT_SEL_START:
result += " sel_start=" + value;
break;
+ case AX_ATTR_OBJ_SEL_END:
+ result += " obj_sel_end=" + value;
+ break;
case AX_ATTR_TEXT_SEL_END:
result += " sel_end=" + value;
break;
« ui/accessibility/ax_enums.idl ('K') | « ui/accessibility/ax_enums.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698