Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(302)

Side by Side Diff: ash/sysui/pointer_watcher_delegate_mus.h

Issue 2231533004: Pointer watcher modifications to support laser pointer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: Initial patch. Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698