OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CHROME_BROWSER_CHROMEOS_SYSTEM_POINTER_DEVICE_OBSERVER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_SYSTEM_POINTER_DEVICE_OBSERVER_H_ |
6 #define CHROME_BROWSER_CHROMEOS_SYSTEM_POINTER_DEVICE_OBSERVER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_SYSTEM_POINTER_DEVICE_OBSERVER_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
8 #include "base/memory/weak_ptr.h" | 9 #include "base/memory/weak_ptr.h" |
9 #include "base/observer_list.h" | 10 #include "base/observer_list.h" |
10 #include "ui/events/devices/input_device_event_observer.h" | 11 #include "ui/events/devices/input_device_event_observer.h" |
11 | 12 |
12 namespace chromeos { | 13 namespace chromeos { |
13 namespace system { | 14 namespace system { |
14 | 15 |
15 class PointerDeviceObserver : public ui::InputDeviceEventObserver { | 16 class PointerDeviceObserver : public ui::InputDeviceEventObserver { |
16 public: | 17 public: |
17 PointerDeviceObserver(); | 18 PointerDeviceObserver(); |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 | 53 |
53 base::WeakPtrFactory<PointerDeviceObserver> weak_factory_; | 54 base::WeakPtrFactory<PointerDeviceObserver> weak_factory_; |
54 | 55 |
55 DISALLOW_COPY_AND_ASSIGN(PointerDeviceObserver); | 56 DISALLOW_COPY_AND_ASSIGN(PointerDeviceObserver); |
56 }; | 57 }; |
57 | 58 |
58 } // namespace system | 59 } // namespace system |
59 } // namespace chromeos | 60 } // namespace chromeos |
60 | 61 |
61 #endif // CHROME_BROWSER_CHROMEOS_SYSTEM_POINTER_DEVICE_OBSERVER_H_ | 62 #endif // CHROME_BROWSER_CHROMEOS_SYSTEM_POINTER_DEVICE_OBSERVER_H_ |
OLD | NEW |