[Smart Selection] Remove requesting surrounding text IPC. |
|
Issue descriptionTo simplify the code path, reduce the possibility of race condition. Idea is to get surrounding text from showSelectionMenu() call directly. + amaralp@ and boliu@, you are reviewers of https://codereview.chromium.org/2740103006, any concern about this?
,
Sep 28 2017
Re#1, yeah, actually thinking of a struct to contain surrounding text and position of selection text to showSelectionMenu() to replace the current |selectionText| parameter. |
|
►
Sign in to add a comment |
|
Comment 1 by amaralp@chromium.org
, Sep 28 2017