Skip to content
This repository has been archived by the owner on Feb 25, 2025. It is now read-only.

Commit

Permalink
Text selection MSAA event
Browse files Browse the repository at this point in the history
  • Loading branch information
yaakovschectman committed Nov 18, 2022
1 parent c5c5f73 commit 0564682
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions third_party/accessibility/ax/platform/ax_platform_node_win.cc
Original file line number Diff line number Diff line change
Expand Up @@ -5218,6 +5218,10 @@ std::optional<DWORD> AXPlatformNodeWin::MojoEventToMSAAEvent(
return EVENT_OBJECT_SHOW;
case ax::mojom::Event::kValueChanged:
return EVENT_OBJECT_VALUECHANGE;
#ifdef EVENT_OBJECT_TEXTSELECTIONCHANGED
case ax::mojom::Event::kDocumentSelectionChanged:
return EVENT_OBJECT_TEXTSELECTIONCHANGED;
#endif
default:
return std::nullopt;
}
Expand Down

0 comments on commit 0564682

Please sign in to comment.