views: support PointerWatcher without mus, refactor
PointerWatcher is defined in ui/views/ but requires ui/views/mus/*
It also doesn't work if the WindowServer is not in use.
There's also two places to add/remove watchers:
1) ash::Shell::[Add|Remove]PointerWatcher() (for Views components in Ash)
2) Mus-only PointerWatcherEventRouter::[Add|Remove]PointerWatcher() (for MusClient users).
We should probably merge PointerWatcher with MouseWatcher and EventMonitor.
(it'd be nice to have one class supporting all these similar scenarios)
It might be nice if these concepts were in the ui namespace, etc. instead of views.
I'm going to add some ViewsDelegate plumbing temporarily...
Comment 1 by jamescook@chromium.org
, Sep 20