[SH-Blink] Create TextFragmentSelectorGenerator with page.
Create TextFragmentSelectorGenerator with page and set selection information when context menu is shown. This is done so that Java code can just call the GenerateSelector function without any arguments and generation can happen for the latest selected text. Follow-up CL https://chromium-review.googlesource.com/c/chromium/src/+/2341662 will connect to browser-side component. Bug: 1102382 Change-Id: I5574f5b40e5a74bef56698e2de5a9b1fea17e0d0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2340734Reviewed-by:Yoshifumi Inoue <yosin@chromium.org> Reviewed-by:
David Bokan <bokan@chromium.org> Commit-Queue: Gayane Petrosyan <gayane@chromium.org> Cr-Commit-Position: refs/heads/master@{#797256}
Showing
Please register or sign in to comment