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/input_injector_chromeos.h" | 5 #include "remoting/host/input_injector_chromeos.h" |
6 | 6 |
7 #include <set> | 7 #include <set> |
8 | 8 |
9 #include "base/bind.h" | 9 #include "base/bind.h" |
10 #include "base/bind_helpers.h" | 10 #include "base/bind_helpers.h" |
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
222 | 222 |
223 // static | 223 // static |
224 scoped_ptr<InputInjector> InputInjector::Create( | 224 scoped_ptr<InputInjector> InputInjector::Create( |
225 scoped_refptr<base::SingleThreadTaskRunner> input_task_runner, | 225 scoped_refptr<base::SingleThreadTaskRunner> input_task_runner, |
226 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner) { | 226 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner) { |
227 // The Ozone input injector must be called on the UI task runner of the | 227 // The Ozone input injector must be called on the UI task runner of the |
228 // browser process. | 228 // browser process. |
229 return make_scoped_ptr(new InputInjectorChromeos(ui_task_runner)); | 229 return make_scoped_ptr(new InputInjectorChromeos(ui_task_runner)); |
230 } | 230 } |
231 | 231 |
| 232 // static |
| 233 bool InputInjector::SupportsTouchEvents() { |
| 234 return false; |
| 235 } |
| 236 |
232 } // namespace remoting | 237 } // namespace remoting |
OLD | NEW |