commit | e2bd6845c71c6a9f497ecea1241f33c71303c2a1 | [log] [tgz] |
---|---|---|
author | Shimi Zhang <ctzsm@chromium.org> | Tue Jun 18 20:51:22 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Jun 18 20:51:22 2019 |
tree | 9f2e043c40c8c0f304827424078e001e5546ac90 | |
parent | 01a4ebe3f40420a995476f49b6e2c77a2b8b444e [diff] |
Move Smart Selection blocking logic into SmartSelectionClient Tests testSmartSelectionNormalFlow() and testSmartSelectionRest() are flaky due to the bots are not always provisioned. This CL fixed the flakiness by moving the blocking logic into SmartSelectionClient. It simplifies the logic of SelectionPopupController#showSelectionMenu(), makes the logic explicitly related to Smart Selection. In order to make it work, two tests in SelectionPopupControllerTest are updated. Bug: 967811 Change-Id: Ic758c46c3f51eab05d5619f295ccd8270567d8a1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1661292 Commit-Queue: Shimi Zhang <ctzsm@chromium.org> Reviewed-by: Bo <boliu@chromium.org> Cr-Commit-Position: refs/heads/master@{#670197}
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 .