commit | 52b228c7b16e8d1648f6b750ad404b2d7b3e9b1e | [log] [tgz] |
---|---|---|
author | Jinsong Fan <fanjinsong@sogou-inc.com> | Wed Feb 13 20:19:55 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Feb 13 20:19:55 2019 |
tree | 226462e5e824b826c4aeec39a03bf75cc53d85c7 | |
parent | 8ea62c2ca477e3b75e7633549d0a60e4f973f6ca [diff] |
Fix Selection Popup flash before disappear If the Selection Popup shows on the contenteditable, when user clicks outside the contenteditable box, the selected text is cleared in onSelectionChanged(), and onNodeAttributeUpdated() will be called, so ActionMode will invalidate and update with the new menus before SELECTION_HANDLES_CLEARED happens. This causes the Selection Popup to flash before disappear. The CL fixes it. Bug: 924039 Change-Id: I85e35ecc9ab1f51e5117131eab05ff0ee97c1402 Reviewed-on: https://chromium-review.googlesource.com/c/1426252 Reviewed-by: Bo <boliu@chromium.org> Reviewed-by: Changwan Ryu <changwan@chromium.org> Reviewed-by: Pedro Amaral <amaralp@chromium.org> Commit-Queue: Pedro Amaral <amaralp@chromium.org> Cr-Commit-Position: refs/heads/master@{#631873}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .