| 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 <X11/extensions/XInput.h> | 7 #include <X11/extensions/XInput.h> |
| 8 #include <X11/extensions/XTest.h> | 8 #include <X11/extensions/XTest.h> |
| 9 #include <X11/Xlib.h> | 9 #include <X11/Xlib.h> |
| 10 #include <X11/XKBlib.h> | 10 #include <X11/XKBlib.h> |
| (...skipping 593 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 604 scoped_ptr<InputInjector> InputInjector::Create( | 604 scoped_ptr<InputInjector> InputInjector::Create( |
| 605 scoped_refptr<base::SingleThreadTaskRunner> main_task_runner, | 605 scoped_refptr<base::SingleThreadTaskRunner> main_task_runner, |
| 606 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner) { | 606 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner) { |
| 607 scoped_ptr<InputInjectorLinux> injector( | 607 scoped_ptr<InputInjectorLinux> injector( |
| 608 new InputInjectorLinux(main_task_runner)); | 608 new InputInjectorLinux(main_task_runner)); |
| 609 if (!injector->Init()) | 609 if (!injector->Init()) |
| 610 return scoped_ptr<InputInjector>(); | 610 return scoped_ptr<InputInjector>(); |
| 611 return injector.PassAs<InputInjector>(); | 611 return injector.PassAs<InputInjector>(); |
| 612 } | 612 } |
| 613 | 613 |
| 614 scoped_ptr<InputInjector> Create( |
| 615 scoped_refptr<base::SingleThreadTaskRunner> main_task_runner, |
| 616 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner, |
| 617 webrtc::WindowId windowId, |
| 618 bool enable_window_capture) { |
| 619 } |
| 620 |
| 614 } // namespace remoting | 621 } // namespace remoting |
| OLD | NEW |