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/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/callback.h" | 9 #include "base/callback.h" |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
(...skipping 10 matching lines...) Expand all Loading... |
21 | 21 |
22 // DesktopEnvironment implementation. | 22 // DesktopEnvironment implementation. |
23 scoped_ptr<InputInjector> CreateInputInjector() override; | 23 scoped_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> input_task_runner, | 29 scoped_refptr<base::SingleThreadTaskRunner> input_task_runner, |
30 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner, | 30 scoped_refptr<base::SingleThreadTaskRunner> ui_task_runner, |
31 const base::Closure& inject_sas); | 31 const base::Closure& inject_sas, |
| 32 bool supports_touch_events); |
32 | 33 |
33 // Used to ask the daemon to inject Secure Attention Sequence. | 34 // Used to ask the daemon to inject Secure Attention Sequence. |
34 base::Closure inject_sas_; | 35 base::Closure inject_sas_; |
35 | 36 |
36 DISALLOW_COPY_AND_ASSIGN(SessionDesktopEnvironment); | 37 DISALLOW_COPY_AND_ASSIGN(SessionDesktopEnvironment); |
37 }; | 38 }; |
38 | 39 |
39 // Used to create |SessionDesktopEnvironment| instances. | 40 // Used to create |SessionDesktopEnvironment| instances. |
40 class SessionDesktopEnvironmentFactory : public Me2MeDesktopEnvironmentFactory { | 41 class SessionDesktopEnvironmentFactory : public Me2MeDesktopEnvironmentFactory { |
41 public: | 42 public: |
(...skipping 11 matching lines...) Expand all Loading... |
53 private: | 54 private: |
54 // Used to ask the daemon to inject Secure Attention Sequence. | 55 // Used to ask the daemon to inject Secure Attention Sequence. |
55 base::Closure inject_sas_; | 56 base::Closure inject_sas_; |
56 | 57 |
57 DISALLOW_COPY_AND_ASSIGN(SessionDesktopEnvironmentFactory); | 58 DISALLOW_COPY_AND_ASSIGN(SessionDesktopEnvironmentFactory); |
58 }; | 59 }; |
59 | 60 |
60 } // namespace remoting | 61 } // namespace remoting |
61 | 62 |
62 #endif // REMOTING_HOST_WIN_SESSION_DESKTOP_ENVIRONMENT_H_ | 63 #endif // REMOTING_HOST_WIN_SESSION_DESKTOP_ENVIRONMENT_H_ |
OLD | NEW |