| Index: ui/accessibility/ax_tree_data.h
|
| diff --git a/ui/accessibility/ax_tree_data.h b/ui/accessibility/ax_tree_data.h
|
| index 83a1589066652158dcb9b8429cdf34a4f6e441a3..36beba6857e40ba0c16fc8dc2d7cc7abe03bfa4c 100644
|
| --- a/ui/accessibility/ax_tree_data.h
|
| +++ b/ui/accessibility/ax_tree_data.h
|
| @@ -56,11 +56,15 @@ struct AX_EXPORT AXTreeData {
|
|
|
| // The current text selection within this tree, if any, expressed as the
|
| // node ID and character offset of the anchor (selection start) and focus
|
| - // (selection end).
|
| + // (selection end). If the offset could correspond to a position on two
|
| + // different lines, sel_upstream_affinity means the cursor is on the first
|
| + // line, otherwise it's on the second line.
|
| int32_t sel_anchor_object_id;
|
| int32_t sel_anchor_offset;
|
| + ui::AXTextAffinity sel_anchor_affinity;
|
| int32_t sel_focus_object_id;
|
| int32_t sel_focus_offset;
|
| + ui::AXTextAffinity sel_focus_affinity;
|
| };
|
|
|
| AX_EXPORT bool operator==(const AXTreeData& lhs, const AXTreeData& rhs);
|
|
|