Reland "[SH-Blink] Create TextFragmentSelectorGenerator with page."
This is a reland of d43884e1 Fix memory leak issue by cleaning selection_range member in TextFragmentSelectorGenerator on DocumentDetached. Reverted version is in patchset 1. Original change's description: > [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/+/2340734 > Reviewed-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} Bug: 1102382 Change-Id: If05b8e643627f4851dced45ce02cd78b7fa87fde Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2354304Reviewed-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@{#798643}
Showing
Please register or sign in to comment