| 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 #ifndef REMOTING_HOST_WIN_SESSION_DESKTOP_ENVIRONMENT_H_ | 5 #ifndef REMOTING_HOST_WIN_SESSION_DESKTOP_ENVIRONMENT_H_ |
| 6 #define REMOTING_HOST_WIN_SESSION_DESKTOP_ENVIRONMENT_H_ | 6 #define REMOTING_HOST_WIN_SESSION_DESKTOP_ENVIRONMENT_H_ |
| 7 | 7 |
| 8 #include "base/callback.h" | 8 #include "base/callback.h" |
| 9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 std::unique_ptr<InputInjector> CreateInputInjector() override; | 23 std::unique_ptr<InputInjector> CreateInputInjector() override; |
| 24 | 24 |
| 25 private: | 25 private: |
| 26 friend class SessionDesktopEnvironmentFactory; | 26 friend class SessionDesktopEnvironmentFactory; |
| 27 SessionDesktopEnvironment( | 27 SessionDesktopEnvironment( |
| 28 scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner, | 28 scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner, |
| 29 scoped_refptr<base::SingleThreadTaskRunner> video_capture_task_runner, | 29 scoped_refptr<base::SingleThreadTaskRunner> video_capture_task_runner, |
| 30 scoped_refptr<base::SingleThreadTaskRunner> input_task_runner, | 30 scoped_refptr<base::SingleThreadTaskRunner> input_task_runner, |
| 31 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner, | 31 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner, |
| 32 const base::Closure& inject_sas, | 32 const base::Closure& inject_sas, |
| 33 const base::Closure& lock_workstation, | 33 const base::Closure& lock_workstation); |
| 34 bool supports_touch_events); | |
| 35 | 34 |
| 36 // Used to ask the daemon to inject Secure Attention Sequence. | 35 // Used to ask the daemon to inject Secure Attention Sequence. |
| 37 base::Closure inject_sas_; | 36 base::Closure inject_sas_; |
| 38 | 37 |
| 39 // Used to lock the workstation for the current session. | 38 // Used to lock the workstation for the current session. |
| 40 base::Closure lock_workstation_; | 39 base::Closure lock_workstation_; |
| 41 | 40 |
| 42 DISALLOW_COPY_AND_ASSIGN(SessionDesktopEnvironment); | 41 DISALLOW_COPY_AND_ASSIGN(SessionDesktopEnvironment); |
| 43 }; | 42 }; |
| 44 | 43 |
| (...skipping 19 matching lines...) Expand all Loading... |
| 64 | 63 |
| 65 // Used to lock the workstation for the current session. | 64 // Used to lock the workstation for the current session. |
| 66 base::Closure lock_workstation_; | 65 base::Closure lock_workstation_; |
| 67 | 66 |
| 68 DISALLOW_COPY_AND_ASSIGN(SessionDesktopEnvironmentFactory); | 67 DISALLOW_COPY_AND_ASSIGN(SessionDesktopEnvironmentFactory); |
| 69 }; | 68 }; |
| 70 | 69 |
| 71 } // namespace remoting | 70 } // namespace remoting |
| 72 | 71 |
| 73 #endif // REMOTING_HOST_WIN_SESSION_DESKTOP_ENVIRONMENT_H_ | 72 #endif // REMOTING_HOST_WIN_SESSION_DESKTOP_ENVIRONMENT_H_ |
| OLD | NEW |