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 #include "remoting/host/win/session_input_injector.h" | 5 #include "remoting/host/win/session_input_injector.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include <set> | 9 #include <set> |
8 #include <string> | 10 #include <string> |
9 | 11 |
10 #include "base/bind.h" | 12 #include "base/bind.h" |
11 #include "base/callback.h" | 13 #include "base/callback.h" |
12 #include "base/compiler_specific.h" | 14 #include "base/compiler_specific.h" |
13 #include "base/location.h" | 15 #include "base/location.h" |
| 16 #include "base/macros.h" |
14 #include "base/single_thread_task_runner.h" | 17 #include "base/single_thread_task_runner.h" |
15 #include "base/win/windows_version.h" | 18 #include "base/win/windows_version.h" |
16 #include "remoting/host/sas_injector.h" | 19 #include "remoting/host/sas_injector.h" |
17 #include "remoting/proto/event.pb.h" | 20 #include "remoting/proto/event.pb.h" |
18 #include "third_party/webrtc/modules/desktop_capture/win/desktop.h" | 21 #include "third_party/webrtc/modules/desktop_capture/win/desktop.h" |
19 #include "third_party/webrtc/modules/desktop_capture/win/scoped_thread_desktop.h
" | 22 #include "third_party/webrtc/modules/desktop_capture/win/scoped_thread_desktop.h
" |
20 #include "ui/events/keycodes/dom/dom_code.h" | 23 #include "ui/events/keycodes/dom/dom_code.h" |
21 | 24 |
22 namespace { | 25 namespace { |
23 | 26 |
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
246 const protocol::MouseEvent& event) { | 249 const protocol::MouseEvent& event) { |
247 core_->InjectMouseEvent(event); | 250 core_->InjectMouseEvent(event); |
248 } | 251 } |
249 | 252 |
250 void SessionInputInjectorWin::InjectTouchEvent( | 253 void SessionInputInjectorWin::InjectTouchEvent( |
251 const protocol::TouchEvent& event) { | 254 const protocol::TouchEvent& event) { |
252 core_->InjectTouchEvent(event); | 255 core_->InjectTouchEvent(event); |
253 } | 256 } |
254 | 257 |
255 } // namespace remoting | 258 } // namespace remoting |
OLD | NEW |