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 #include "remoting/host/local_input_monitor.h" | 5 #include "remoting/host/local_input_monitor.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/callback.h" | 8 #include "base/callback.h" |
9 #include "base/location.h" | 9 #include "base/location.h" |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
11 #include "base/memory/ptr_util.h" | 11 #include "base/memory/ptr_util.h" |
12 #include "base/single_thread_task_runner.h" | 12 #include "base/single_thread_task_runner.h" |
13 #include "base/threading/non_thread_safe.h" | |
14 #include "remoting/host/chromeos/point_transformer.h" | 13 #include "remoting/host/chromeos/point_transformer.h" |
15 #include "remoting/host/client_session_control.h" | 14 #include "remoting/host/client_session_control.h" |
16 #include "third_party/webrtc/modules/desktop_capture/desktop_geometry.h" | 15 #include "third_party/webrtc/modules/desktop_capture/desktop_geometry.h" |
17 #include "ui/events/event.h" | 16 #include "ui/events/event.h" |
18 #include "ui/events/event_utils.h" | 17 #include "ui/events/event_utils.h" |
19 #include "ui/events/keycodes/keyboard_codes.h" | 18 #include "ui/events/keycodes/keyboard_codes.h" |
20 #include "ui/events/platform/platform_event_observer.h" | 19 #include "ui/events/platform/platform_event_observer.h" |
21 #include "ui/events/platform/platform_event_source.h" | 20 #include "ui/events/platform/platform_event_source.h" |
22 | 21 |
23 namespace remoting { | 22 namespace remoting { |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
144 std::unique_ptr<LocalInputMonitor> LocalInputMonitor::Create( | 143 std::unique_ptr<LocalInputMonitor> LocalInputMonitor::Create( |
145 scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner, | 144 scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner, |
146 scoped_refptr<base::SingleThreadTaskRunner> input_task_runner, | 145 scoped_refptr<base::SingleThreadTaskRunner> input_task_runner, |
147 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner, | 146 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner, |
148 base::WeakPtr<ClientSessionControl> client_session_control) { | 147 base::WeakPtr<ClientSessionControl> client_session_control) { |
149 return base::WrapUnique(new LocalInputMonitorChromeos( | 148 return base::WrapUnique(new LocalInputMonitorChromeos( |
150 caller_task_runner, input_task_runner, client_session_control)); | 149 caller_task_runner, input_task_runner, client_session_control)); |
151 } | 150 } |
152 | 151 |
153 } // namespace remoting | 152 } // namespace remoting |
OLD | NEW |