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_DESKTOP_ENVIRONMENT_H_ | 5 #ifndef REMOTING_HOST_DESKTOP_ENVIRONMENT_H_ |
6 #define REMOTING_HOST_DESKTOP_ENVIRONMENT_H_ | 6 #define REMOTING_HOST_DESKTOP_ENVIRONMENT_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
12 #include "remoting/host/event_executor.h" | |
13 | 12 |
14 namespace remoting { | 13 namespace remoting { |
15 | 14 |
16 class AudioCapturer; | 15 class AudioCapturer; |
17 class ChromotingHostContext; | 16 class ChromotingHostContext; |
| 17 class EventExecutor; |
18 class VideoFrameCapturer; | 18 class VideoFrameCapturer; |
19 | 19 |
20 namespace protocol { | 20 namespace protocol { |
21 class ClipboardStub; | 21 class ClipboardStub; |
22 class HostEventStub; | |
23 } | 22 } |
24 | 23 |
25 class DesktopEnvironment { | 24 class DesktopEnvironment { |
26 public: | 25 public: |
27 // Creates a DesktopEnvironment used in a host plugin. | 26 // Creates a DesktopEnvironment used in a host plugin. |
28 static scoped_ptr<DesktopEnvironment> Create( | 27 static scoped_ptr<DesktopEnvironment> Create( |
29 ChromotingHostContext* context); | 28 ChromotingHostContext* context); |
30 | 29 |
31 // Creates a DesktopEnvironment used in a service process. | 30 // Creates a DesktopEnvironment used in a service process. |
32 static scoped_ptr<DesktopEnvironment> CreateForService( | 31 static scoped_ptr<DesktopEnvironment> CreateForService( |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 | 63 |
65 // Executes input and clipboard events received from the client. | 64 // Executes input and clipboard events received from the client. |
66 scoped_ptr<EventExecutor> event_executor_; | 65 scoped_ptr<EventExecutor> event_executor_; |
67 | 66 |
68 DISALLOW_COPY_AND_ASSIGN(DesktopEnvironment); | 67 DISALLOW_COPY_AND_ASSIGN(DesktopEnvironment); |
69 }; | 68 }; |
70 | 69 |
71 } // namespace remoting | 70 } // namespace remoting |
72 | 71 |
73 #endif // REMOTING_HOST_DESKTOP_ENVIRONMENT_H_ | 72 #endif // REMOTING_HOST_DESKTOP_ENVIRONMENT_H_ |
OLD | NEW |