| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 "base/logging.h" |
| 5 #include "base/memory/ptr_util.h" | 6 #include "base/memory/ptr_util.h" |
| 6 #include "remoting/host/input_injector.h" | 7 #include "remoting/host/input_injector.h" |
| 7 | 8 |
| 8 namespace remoting { | 9 namespace remoting { |
| 9 | 10 |
| 10 namespace { | 11 namespace { |
| 11 | 12 |
| 12 class InputInjectorAndroid : public InputInjector { | 13 class InputInjectorAndroid : public InputInjector { |
| 13 public: | 14 public: |
| 14 InputInjectorAndroid() {} | 15 InputInjectorAndroid() {} |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner) { | 49 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner) { |
| 49 return base::WrapUnique(new InputInjectorAndroid()); | 50 return base::WrapUnique(new InputInjectorAndroid()); |
| 50 } | 51 } |
| 51 | 52 |
| 52 // static | 53 // static |
| 53 bool InputInjector::SupportsTouchEvents() { | 54 bool InputInjector::SupportsTouchEvents() { |
| 54 return false; | 55 return false; |
| 55 } | 56 } |
| 56 | 57 |
| 57 } // namespace remoting | 58 } // namespace remoting |
| OLD | NEW |