DescriptionFix for menus blocking user activity detection (Retry 2).
Original CL reverted here: https://codereview.chromium.org/1013003002/
Nothing has changed from that CL above. We are relanding after Oshima
prevented marking events created from the same native event as "repeat"
in this CL https://codereview.chromium.org/1017323002/
Menus used to block detecting user activity. The fix works by making the
UserActivityDetector a PlatformEventObserver rather than an
EventHandler.
Also made sure that PlatformEventSource has an instance in
ozone_platform_test.cc
TBR=sadrul@chromium.org,spang@chromium.org,oshima@chromium.org,jamescook@chromium.org
BUG=462735
TEST=ui_base_unittests --gtest_filter=UserActivityDetectorTest.*
Committed: https://crrev.com/dbfa9102e7c6dfa13439ef1502d4baa9c3a31f31
Cr-Commit-Position: refs/heads/master@{#321426}
Patch Set 1 #
Messages
Total messages: 9 (3 generated)
|