| Index: ui/views/mus/window_manager_connection.h
|
| diff --git a/ui/views/mus/window_manager_connection.h b/ui/views/mus/window_manager_connection.h
|
| index ea9619ea287a2db3e0047678724d4fb60c73d6ef..ce446d5e660b7c64211c64132bb4bb8d0e5bb569 100644
|
| --- a/ui/views/mus/window_manager_connection.h
|
| +++ b/ui/views/mus/window_manager_connection.h
|
| @@ -27,7 +27,7 @@ class Connector;
|
| namespace views {
|
| class ClipboardMus;
|
| class NativeWidget;
|
| -class PointerWatcher;
|
| +class PointerDownWatcher;
|
| class TouchEventWatcher;
|
| class ScreenMus;
|
| namespace internal {
|
| @@ -65,8 +65,8 @@ class VIEWS_MUS_EXPORT WindowManagerConnection
|
| const Widget::InitParams& init_params,
|
| internal::NativeWidgetDelegate* delegate);
|
|
|
| - void AddPointerWatcher(PointerWatcher* watcher);
|
| - void RemovePointerWatcher(PointerWatcher* watcher);
|
| + void AddPointerDownWatcher(PointerDownWatcher* watcher);
|
| + void RemovePointerDownWatcher(PointerDownWatcher* watcher);
|
|
|
| void AddTouchEventWatcher(TouchEventWatcher* watcher);
|
| void RemoveTouchEventWatcher(TouchEventWatcher* watcher);
|
| @@ -80,7 +80,7 @@ class VIEWS_MUS_EXPORT WindowManagerConnection
|
| const shell::Identity& identity);
|
|
|
| // Returns true if there is one or more watchers for this client.
|
| - bool HasPointerWatcher();
|
| + bool HasPointerDownWatcher();
|
| bool HasTouchEventWatcher();
|
|
|
| // ui::WindowTreeClientDelegate:
|
| @@ -97,7 +97,7 @@ class VIEWS_MUS_EXPORT WindowManagerConnection
|
| std::unique_ptr<ScreenMus> screen_;
|
| std::unique_ptr<ui::WindowTreeClient> client_;
|
| // Must be empty on destruction.
|
| - base::ObserverList<PointerWatcher, true> pointer_watchers_;
|
| + base::ObserverList<PointerDownWatcher, true> pointer_down_watchers_;
|
| base::ObserverList<TouchEventWatcher, true> touch_event_watchers_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(WindowManagerConnection);
|
|
|