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_IPC_DESKTOP_ENVIRONMENT_H_ | 5 #ifndef REMOTING_HOST_IPC_DESKTOP_ENVIRONMENT_H_ |
6 #define REMOTING_HOST_IPC_DESKTOP_ENVIRONMENT_H_ | 6 #define REMOTING_HOST_IPC_DESKTOP_ENVIRONMENT_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 base::WeakPtr<ClientSessionControl> client_session_control, | 45 base::WeakPtr<ClientSessionControl> client_session_control, |
46 base::WeakPtr<DesktopSessionConnector> desktop_session_connector, | 46 base::WeakPtr<DesktopSessionConnector> desktop_session_connector, |
47 bool virtual_terminal); | 47 bool virtual_terminal); |
48 virtual ~IpcDesktopEnvironment(); | 48 virtual ~IpcDesktopEnvironment(); |
49 | 49 |
50 // DesktopEnvironment implementation. | 50 // DesktopEnvironment implementation. |
51 virtual scoped_ptr<AudioCapturer> CreateAudioCapturer() OVERRIDE; | 51 virtual scoped_ptr<AudioCapturer> CreateAudioCapturer() OVERRIDE; |
52 virtual scoped_ptr<InputInjector> CreateInputInjector() OVERRIDE; | 52 virtual scoped_ptr<InputInjector> CreateInputInjector() OVERRIDE; |
53 virtual scoped_ptr<ScreenControls> CreateScreenControls() OVERRIDE; | 53 virtual scoped_ptr<ScreenControls> CreateScreenControls() OVERRIDE; |
54 virtual scoped_ptr<webrtc::ScreenCapturer> CreateVideoCapturer() OVERRIDE; | 54 virtual scoped_ptr<webrtc::ScreenCapturer> CreateVideoCapturer() OVERRIDE; |
| 55 virtual scoped_ptr<webrtc::MouseCursorMonitor> CreateMouseCursorMonitor() |
| 56 OVERRIDE; |
55 virtual std::string GetCapabilities() const OVERRIDE; | 57 virtual std::string GetCapabilities() const OVERRIDE; |
56 virtual void SetCapabilities(const std::string& capabilities) OVERRIDE; | 58 virtual void SetCapabilities(const std::string& capabilities) OVERRIDE; |
57 | 59 |
58 private: | 60 private: |
59 scoped_refptr<DesktopSessionProxy> desktop_session_proxy_; | 61 scoped_refptr<DesktopSessionProxy> desktop_session_proxy_; |
60 | 62 |
61 DISALLOW_COPY_AND_ASSIGN(IpcDesktopEnvironment); | 63 DISALLOW_COPY_AND_ASSIGN(IpcDesktopEnvironment); |
62 }; | 64 }; |
63 | 65 |
64 // Used to create IpcDesktopEnvironment objects integrating with the desktop via | 66 // Used to create IpcDesktopEnvironment objects integrating with the desktop via |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 // This gives us more than 67 years of unique IDs assuming a new ID is | 132 // This gives us more than 67 years of unique IDs assuming a new ID is |
131 // allocated every second. | 133 // allocated every second. |
132 int next_id_; | 134 int next_id_; |
133 | 135 |
134 DISALLOW_COPY_AND_ASSIGN(IpcDesktopEnvironmentFactory); | 136 DISALLOW_COPY_AND_ASSIGN(IpcDesktopEnvironmentFactory); |
135 }; | 137 }; |
136 | 138 |
137 } // namespace remoting | 139 } // namespace remoting |
138 | 140 |
139 #endif // REMOTING_HOST_IPC_DESKTOP_ENVIRONMENT_H_ | 141 #endif // REMOTING_HOST_IPC_DESKTOP_ENVIRONMENT_H_ |
OLD | NEW |