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/single_thread_task_runner.h" | 11 #include "base/single_thread_task_runner.h" |
11 #include "base/threading/non_thread_safe.h" | 12 #include "base/threading/non_thread_safe.h" |
12 #include "remoting/host/chromeos/point_transformer.h" | 13 #include "remoting/host/chromeos/point_transformer.h" |
13 #include "remoting/host/client_session_control.h" | 14 #include "remoting/host/client_session_control.h" |
14 #include "third_party/webrtc/modules/desktop_capture/desktop_geometry.h" | 15 #include "third_party/webrtc/modules/desktop_capture/desktop_geometry.h" |
15 #include "ui/events/event.h" | 16 #include "ui/events/event.h" |
16 #include "ui/events/event_utils.h" | 17 #include "ui/events/event_utils.h" |
17 #include "ui/events/keycodes/keyboard_codes.h" | 18 #include "ui/events/keycodes/keyboard_codes.h" |
18 #include "ui/events/platform/platform_event_observer.h" | 19 #include "ui/events/platform/platform_event_observer.h" |
19 #include "ui/events/platform/platform_event_source.h" | 20 #include "ui/events/platform/platform_event_source.h" |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
142 scoped_ptr<LocalInputMonitor> LocalInputMonitor::Create( | 143 scoped_ptr<LocalInputMonitor> LocalInputMonitor::Create( |
143 scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner, | 144 scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner, |
144 scoped_refptr<base::SingleThreadTaskRunner> input_task_runner, | 145 scoped_refptr<base::SingleThreadTaskRunner> input_task_runner, |
145 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner, | 146 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner, |
146 base::WeakPtr<ClientSessionControl> client_session_control) { | 147 base::WeakPtr<ClientSessionControl> client_session_control) { |
147 return make_scoped_ptr(new LocalInputMonitorChromeos( | 148 return make_scoped_ptr(new LocalInputMonitorChromeos( |
148 caller_task_runner, input_task_runner, client_session_control)); | 149 caller_task_runner, input_task_runner, client_session_control)); |
149 } | 150 } |
150 | 151 |
151 } // namespace remoting | 152 } // namespace remoting |
OLD | NEW |