Chromium Code Reviews
DescriptionMake ui::test::EventGenerator work with PointerEvents in mash
In classic ash PointerWatchers are triggered by an EventHandler attached
to ash::Shell and are triggered in unit tests using EventGenerator.
In mash PointerWatchers are triggered by a PointerWatcherEventRouter
owned by ash::mus::WindowManager. That code path wasn't getting hit in
unit tests using EventGenerator.
Wiring it up fixes SystemTrayTest.PersistentBubble in mash. It will
probably fix several other tests disabled in mash. We'll find those as
we look at them individually -- there's no simple way to re-enable all
those tests to try them.
BUG=693790, 695559
TEST=ash_unittests, mash_unittests SystemTrayTest.PersisentBubble
Review-Url: https://codereview.chromium.org/2752903002
Cr-Commit-Position: refs/heads/master@{#457677}
Committed: https://chromium.googlesource.com/chromium/src/+/03ae5b6069bab8e87953072eeb75a192b6e6d6aa
Patch Set 1 #
Total comments: 3
Patch Set 2 : review comments #
Total comments: 3
Patch Set 3 : review comments #
Messages
Total messages: 24 (17 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||