OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 UI_EVENTS_OZONE_EVDEV_INPUT_DEVICE_FACTORY_PROXY_EVDEV_H_ | 5 #ifndef UI_EVENTS_OZONE_EVDEV_INPUT_DEVICE_FACTORY_PROXY_EVDEV_H_ |
6 #define UI_EVENTS_OZONE_EVDEV_INPUT_DEVICE_FACTORY_PROXY_EVDEV_H_ | 6 #define UI_EVENTS_OZONE_EVDEV_INPUT_DEVICE_FACTORY_PROXY_EVDEV_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
12 #include "base/files/file_path.h" | 12 #include "base/files/file_path.h" |
13 #include "base/macros.h" | 13 #include "base/macros.h" |
14 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
| 15 #include "base/memory/scoped_ptr.h" |
15 #include "base/memory/weak_ptr.h" | 16 #include "base/memory/weak_ptr.h" |
16 #include "base/single_thread_task_runner.h" | 17 #include "base/single_thread_task_runner.h" |
17 #include "ui/events/ozone/evdev/events_ozone_evdev_export.h" | 18 #include "ui/events/ozone/evdev/events_ozone_evdev_export.h" |
18 | 19 |
19 namespace ui { | 20 namespace ui { |
20 | 21 |
21 enum class DomCode; | 22 enum class DomCode; |
22 class InputDeviceFactoryEvdev; | 23 class InputDeviceFactoryEvdev; |
23 struct InputDeviceSettingsEvdev; | 24 struct InputDeviceSettingsEvdev; |
24 | 25 |
(...skipping 27 matching lines...) Expand all Loading... |
52 private: | 53 private: |
53 scoped_refptr<base::SingleThreadTaskRunner> task_runner_; | 54 scoped_refptr<base::SingleThreadTaskRunner> task_runner_; |
54 base::WeakPtr<InputDeviceFactoryEvdev> input_device_factory_; | 55 base::WeakPtr<InputDeviceFactoryEvdev> input_device_factory_; |
55 | 56 |
56 DISALLOW_COPY_AND_ASSIGN(InputDeviceFactoryEvdevProxy); | 57 DISALLOW_COPY_AND_ASSIGN(InputDeviceFactoryEvdevProxy); |
57 }; | 58 }; |
58 | 59 |
59 } // namespace ui | 60 } // namespace ui |
60 | 61 |
61 #endif // UI_EVENTS_OZONE_EVDEV_INPUT_DEVICE_FACTORY_PROXY_EVDEV_H_ | 62 #endif // UI_EVENTS_OZONE_EVDEV_INPUT_DEVICE_FACTORY_PROXY_EVDEV_H_ |
OLD | NEW |