Fix hover state when using ProactiveSuggestionsRichView.
The proactive suggestions entry point times out after a fixed interval. When the entry point is hovered over, timeout is paused. ProactiveSuggestionsRichView is not currently pausing timeout on hover because the embedded web contents consume the events causing mouse enter/exit to not be received by the embedding view. To fix this, we'll use an EventMonitor on our views native window to make sure we get the events we need to detect hover state. Bug: b:145056104 Change-Id: I2588fe119addfe9577963d4c29baf566e9168336 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1938448Reviewed-by:Tao Wu <wutao@chromium.org> Commit-Queue: David Black <dmblack@google.com> Cr-Commit-Position: refs/heads/master@{#721083}
Showing
Please register or sign in to comment