| 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/input_injector.h" | 5 #include "remoting/host/input_injector.h" |
| 6 | 6 |
| 7 #include <windows.h> | 7 #include <windows.h> |
| 8 #include <stdint.h> |
| 8 | 9 |
| 9 #include "base/bind.h" | 10 #include "base/bind.h" |
| 10 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
| 11 #include "base/location.h" | 12 #include "base/location.h" |
| 13 #include "base/macros.h" |
| 12 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
| 13 #include "base/single_thread_task_runner.h" | 15 #include "base/single_thread_task_runner.h" |
| 14 #include "base/strings/string16.h" | 16 #include "base/strings/string16.h" |
| 15 #include "base/strings/utf_string_conversions.h" | 17 #include "base/strings/utf_string_conversions.h" |
| 16 #include "remoting/base/util.h" | 18 #include "remoting/base/util.h" |
| 17 #include "remoting/host/clipboard.h" | 19 #include "remoting/host/clipboard.h" |
| 18 #include "remoting/host/touch_injector_win.h" | 20 #include "remoting/host/touch_injector_win.h" |
| 19 #include "remoting/proto/event.pb.h" | 21 #include "remoting/proto/event.pb.h" |
| 20 #include "ui/events/keycodes/dom/keycode_converter.h" | 22 #include "ui/events/keycodes/dom/keycode_converter.h" |
| 21 | 23 |
| (...skipping 333 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 355 return make_scoped_ptr( | 357 return make_scoped_ptr( |
| 356 new InputInjectorWin(main_task_runner, ui_task_runner)); | 358 new InputInjectorWin(main_task_runner, ui_task_runner)); |
| 357 } | 359 } |
| 358 | 360 |
| 359 // static | 361 // static |
| 360 bool InputInjector::SupportsTouchEvents() { | 362 bool InputInjector::SupportsTouchEvents() { |
| 361 return TouchInjectorWinDelegate::Create(); | 363 return TouchInjectorWinDelegate::Create(); |
| 362 } | 364 } |
| 363 | 365 |
| 364 } // namespace remoting | 366 } // namespace remoting |
| OLD | NEW |