Index: remoting/host/input_injector_win.cc |
diff --git a/remoting/host/input_injector_win.cc b/remoting/host/input_injector_win.cc |
index ed328d35232e65c9d2b95cb0e56848ff9ebd734b..41972582b9d0f18fdf141df84feff81567319db4 100644 |
--- a/remoting/host/input_injector_win.cc |
+++ b/remoting/host/input_injector_win.cc |
@@ -348,6 +348,7 @@ void InputInjectorWin::Core::HandleTouch(const TouchEvent& event) { |
} // namespace |
+// static |
scoped_ptr<InputInjector> InputInjector::Create( |
scoped_refptr<base::SingleThreadTaskRunner> main_task_runner, |
scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner) { |
@@ -355,4 +356,9 @@ scoped_ptr<InputInjector> InputInjector::Create( |
new InputInjectorWin(main_task_runner, ui_task_runner)); |
} |
+// static |
+bool InputInjector::SupportsTouchEvents() { |
+ return TouchInjectorWinDelegate::Create(); |
+} |
+ |
} // namespace remoting |