Encapsulate text range provider endpoints in helper class
This CL encapsulates both |start_| and |end_| ebdpoints of AXPlatformNodeTextRangeProviderWin into an helper class with designated getters and setters. In the follow-up CL:2432805, we are using the setters to execute extra logic on the new endpoints. The encapsulation will prevent anyone from setting new endpoints without going through the setter. Bug: N/A Change-Id: Ia6d56391cdd0df42c0fecc87d6e575710dfda758 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2456513 Commit-Queue: Benjamin Beaudry <benjamin.beaudry@microsoft.com> Reviewed-by:Kurt Catti-Schmidt <kschmi@microsoft.com> Reviewed-by:
Daniel Libby <dlibby@microsoft.com> Cr-Commit-Position: refs/heads/master@{#815256}
Showing
Please register or sign in to comment