| Index: ash/pointer_watcher_delegate_aura.h
|
| diff --git a/ash/pointer_watcher_delegate_aura.h b/ash/pointer_watcher_delegate_aura.h
|
| index 1bea01d1b57409a73407ccc832ee7f94883d03d7..44849b2d7bb585f2fd37c05fffa774c3d74e9374 100644
|
| --- a/ash/pointer_watcher_delegate_aura.h
|
| +++ b/ash/pointer_watcher_delegate_aura.h
|
| @@ -2,6 +2,8 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| +#include <map>
|
| +
|
| #include "ash/ash_export.h"
|
| #include "ash/common/pointer_watcher_delegate.h"
|
| #include "base/macros.h"
|
| @@ -31,7 +33,8 @@ class ASH_EXPORT PointerWatcherDelegateAura : public PointerWatcherDelegate,
|
| ~PointerWatcherDelegateAura() override;
|
|
|
| // PointerWatcherDelegate:
|
| - void AddPointerWatcher(views::PointerWatcher* watcher) override;
|
| + void AddPointerWatcher(views::PointerWatcher* watcher,
|
| + bool wants_moves = false) override;
|
| void RemovePointerWatcher(views::PointerWatcher* watcher) override;
|
|
|
| // ui::EventHandler:
|
| @@ -45,6 +48,9 @@ class ASH_EXPORT PointerWatcherDelegateAura : public PointerWatcherDelegate,
|
| // Must be empty on destruction.
|
| base::ObserverList<views::PointerWatcher, true> pointer_watchers_;
|
|
|
| + // Map stores the pointer watchers that want mouse move events.
|
| + std::map<views::PointerWatcher*, bool> wants_moves_map_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(PointerWatcherDelegateAura);
|
| };
|
|
|
|
|