Put selection and cut/copy/paste listener behind text editing flag.
Put the selection change listener and the clipboard data change listener behind the text editing improvements flag. This makes sure the menu isn't reloading uncessarily when the flag is not used. Bug: 982004 Change-Id: Iafde32d263e41030ba54a6b5ae98bed2c968d8f4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1746790 Commit-Queue: Rose Garcia <rosalindag@google.com> Reviewed-by:Anastasia Helfinstein <anastasi@google.com> Reviewed-by:
Akihiro Ota <akihiroota@chromium.org> Cr-Commit-Position: refs/heads/master@{#686611}
Showing
Please register or sign in to comment