| OLD | NEW | 
|---|
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be | 
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. | 
| 4 | 4 | 
| 5 #ifndef ASH_SYSUI_POINTER_WATCHER_DELEGATE_MUS_H_ | 5 #ifndef ASH_SYSUI_POINTER_WATCHER_DELEGATE_MUS_H_ | 
| 6 #define ASH_SYSUI_POINTER_WATCHER_DELEGATE_MUS_H_ | 6 #define ASH_SYSUI_POINTER_WATCHER_DELEGATE_MUS_H_ | 
| 7 | 7 | 
| 8 #include "ash/common/pointer_watcher_delegate.h" | 8 #include "ash/common/pointer_watcher_delegate.h" | 
| 9 #include "base/macros.h" | 9 #include "base/macros.h" | 
| 10 | 10 | 
| 11 namespace ash { | 11 namespace ash { | 
| 12 | 12 | 
| 13 // PointerWatcher support on mus via the WindowManagerConnection. | 13 // PointerWatcher support on mus via the WindowManagerConnection. | 
| 14 class PointerWatcherDelegateMus : public PointerWatcherDelegate { | 14 class PointerWatcherDelegateMus : public PointerWatcherDelegate { | 
| 15  public: | 15  public: | 
| 16   PointerWatcherDelegateMus(); | 16   PointerWatcherDelegateMus(); | 
| 17   ~PointerWatcherDelegateMus() override; | 17   ~PointerWatcherDelegateMus() override; | 
| 18 | 18 | 
| 19   // PointerWatcherDelegate: | 19   // PointerWatcherDelegate: | 
| 20   void AddPointerWatcher(views::PointerWatcher* watcher) override; | 20   void AddPointerWatcher(views::PointerWatcher* watcher, | 
|  | 21                          bool wants_moves = false) override; | 
| 21   void RemovePointerWatcher(views::PointerWatcher* watcher) override; | 22   void RemovePointerWatcher(views::PointerWatcher* watcher) override; | 
| 22 | 23 | 
| 23  private: | 24  private: | 
| 24   DISALLOW_COPY_AND_ASSIGN(PointerWatcherDelegateMus); | 25   DISALLOW_COPY_AND_ASSIGN(PointerWatcherDelegateMus); | 
| 25 }; | 26 }; | 
| 26 | 27 | 
| 27 }  // namespace ash | 28 }  // namespace ash | 
| 28 | 29 | 
| 29 #endif  // ASH_SYSUI_POINTER_WATCHER_DELEGATE_MUS_H_ | 30 #endif  // ASH_SYSUI_POINTER_WATCHER_DELEGATE_MUS_H_ | 
| OLD | NEW | 
|---|