commit | 59152d95d866762007f9728b4cc3f2e96d9b0c74 | [log] [tgz] |
---|---|---|
author | zengqiang <zengqiang1@huawei.com> | Thu Jul 16 15:48:13 2020 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Jul 16 15:48:13 2020 |
tree | 6d1dcf2a77a280a88ff827585ba607cb40556f77 | |
parent | 882a110267ca9b8c420767d5614ccb76e485b529 [diff] |
Do not update the handle position when it is hidden. PopupWindow.update() will trigger android wm performLayout in the same doFrame(), which is a serious waste of CPU and easy to cause page jitter when scrolling, the user experience become worse. Bug: 1105392 Change-Id: I3ff97b62f3b9229e6bec5b7bf1069399a5b326ca Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2295002 Reviewed-by: Shimi Zhang <ctzsm@chromium.org> Reviewed-by: Bo <boliu@chromium.org> Commit-Queue: Bo <boliu@chromium.org> Cr-Commit-Position: refs/heads/master@{#789059}
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 .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.