| 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/curtain_mode.h" | 5 #include "remoting/host/curtain_mode.h" |
| 6 | 6 |
| 7 #include <X11/extensions/XInput.h> | 7 #include <X11/extensions/XInput.h> |
| 8 | 8 |
| 9 #include "base/callback.h" | 9 #include "base/callback.h" |
| 10 #include "base/macros.h" |
| 10 #include "base/single_thread_task_runner.h" | 11 #include "base/single_thread_task_runner.h" |
| 11 #include "remoting/base/logging.h" | 12 #include "remoting/base/logging.h" |
| 12 #include "remoting/host/client_session_control.h" | 13 #include "remoting/host/client_session_control.h" |
| 13 | 14 |
| 14 namespace remoting { | 15 namespace remoting { |
| 15 | 16 |
| 16 class CurtainModeLinux : public CurtainMode { | 17 class CurtainModeLinux : public CurtainMode { |
| 17 public: | 18 public: |
| 18 CurtainModeLinux(); | 19 CurtainModeLinux(); |
| 19 | 20 |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 | 101 |
| 101 // static | 102 // static |
| 102 scoped_ptr<CurtainMode> CurtainMode::Create( | 103 scoped_ptr<CurtainMode> CurtainMode::Create( |
| 103 scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner, | 104 scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner, |
| 104 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner, | 105 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner, |
| 105 base::WeakPtr<ClientSessionControl> client_session_control) { | 106 base::WeakPtr<ClientSessionControl> client_session_control) { |
| 106 return make_scoped_ptr(new CurtainModeLinux()); | 107 return make_scoped_ptr(new CurtainModeLinux()); |
| 107 } | 108 } |
| 108 | 109 |
| 109 } // namespace remoting | 110 } // namespace remoting |
| OLD | NEW |