| 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_SESSION_AGENT_H_ | 5 #ifndef REMOTING_HOST_DESKTOP_SESSION_AGENT_H_ |
| 6 #define REMOTING_HOST_DESKTOP_SESSION_AGENT_H_ | 6 #define REMOTING_HOST_DESKTOP_SESSION_AGENT_H_ |
| 7 | 7 |
| 8 #include <list> | 8 #include <list> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 } // namespace IPC | 29 } // namespace IPC |
| 30 | 30 |
| 31 namespace remoting { | 31 namespace remoting { |
| 32 | 32 |
| 33 class AudioCapturer; | 33 class AudioCapturer; |
| 34 class AudioPacket; | 34 class AudioPacket; |
| 35 class AutoThreadTaskRunner; | 35 class AutoThreadTaskRunner; |
| 36 class DesktopEnvironmentFactory; | 36 class DesktopEnvironmentFactory; |
| 37 class DisconnectWindow; | 37 class DisconnectWindow; |
| 38 class EventExecutor; | 38 class EventExecutor; |
| 39 class LocalInputMonitor; | |
| 40 class RemoteInputFilter; | 39 class RemoteInputFilter; |
| 41 class ScreenResolution; | 40 class ScreenResolution; |
| 42 | 41 |
| 43 namespace protocol { | 42 namespace protocol { |
| 44 class InputEventTracker; | 43 class InputEventTracker; |
| 45 } // namespace protocol | 44 } // namespace protocol |
| 46 | 45 |
| 47 // Provides screen/audio capturing and input injection services for | 46 // Provides screen/audio capturing and input injection services for |
| 48 // the network process. | 47 // the network process. |
| 49 class DesktopSessionAgent | 48 class DesktopSessionAgent |
| (...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 209 scoped_ptr<AudioCapturer> audio_capturer_; | 208 scoped_ptr<AudioCapturer> audio_capturer_; |
| 210 | 209 |
| 211 base::WeakPtr<Delegate> delegate_; | 210 base::WeakPtr<Delegate> delegate_; |
| 212 | 211 |
| 213 // Provides a user interface allowing the local user to close the connection. | 212 // Provides a user interface allowing the local user to close the connection. |
| 214 scoped_ptr<DisconnectWindow> disconnect_window_; | 213 scoped_ptr<DisconnectWindow> disconnect_window_; |
| 215 | 214 |
| 216 // Executes keyboard, mouse and clipboard events. | 215 // Executes keyboard, mouse and clipboard events. |
| 217 scoped_ptr<EventExecutor> event_executor_; | 216 scoped_ptr<EventExecutor> event_executor_; |
| 218 | 217 |
| 219 // Monitor local inputs to allow remote inputs to be blocked while the local | |
| 220 // user is trying to do something. | |
| 221 scoped_ptr<LocalInputMonitor> local_input_monitor_; | |
| 222 | |
| 223 // Tracker used to release pressed keys and buttons when disconnecting. | 218 // Tracker used to release pressed keys and buttons when disconnecting. |
| 224 scoped_ptr<protocol::InputEventTracker> input_tracker_; | 219 scoped_ptr<protocol::InputEventTracker> input_tracker_; |
| 225 | 220 |
| 226 // Filter used to disable remote inputs during local input activity. | 221 // Filter used to disable remote inputs during local input activity. |
| 227 scoped_ptr<RemoteInputFilter> remote_input_filter_; | 222 scoped_ptr<RemoteInputFilter> remote_input_filter_; |
| 228 | 223 |
| 229 // Used to apply client-requested changes in screen resolution. | 224 // Used to apply client-requested changes in screen resolution. |
| 230 scoped_ptr<SessionController> session_controller_; | 225 scoped_ptr<SessionController> session_controller_; |
| 231 | 226 |
| 232 // IPC channel connecting the desktop process with the network process. | 227 // IPC channel connecting the desktop process with the network process. |
| (...skipping 20 matching lines...) Expand all Loading... |
| 253 scoped_ptr<media::ScreenCapturer> video_capturer_; | 248 scoped_ptr<media::ScreenCapturer> video_capturer_; |
| 254 | 249 |
| 255 UiStrings ui_strings_; | 250 UiStrings ui_strings_; |
| 256 | 251 |
| 257 DISALLOW_COPY_AND_ASSIGN(DesktopSessionAgent); | 252 DISALLOW_COPY_AND_ASSIGN(DesktopSessionAgent); |
| 258 }; | 253 }; |
| 259 | 254 |
| 260 } // namespace remoting | 255 } // namespace remoting |
| 261 | 256 |
| 262 #endif // REMOTING_HOST_DESKTOP_SESSION_AGENT_H_ | 257 #endif // REMOTING_HOST_DESKTOP_SESSION_AGENT_H_ |
| OLD | NEW |