Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(134)

Side by Side Diff: remoting/host/desktop_session_agent.h

Issue 12594009: Converted LocalInputMonitor into a SessionController instance. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « remoting/host/client_session_control.h ('k') | remoting/host/desktop_session_agent.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 19 matching lines...) Expand all
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 DesktopEnvironment; 36 class DesktopEnvironment;
37 class DesktopEnvironmentFactory; 37 class DesktopEnvironmentFactory;
38 class DisconnectWindow; 38 class DisconnectWindow;
39 class InputInjector; 39 class InputInjector;
40 class LocalInputMonitor;
41 class RemoteInputFilter; 40 class RemoteInputFilter;
42 class ScreenControls; 41 class ScreenControls;
43 class ScreenResolution; 42 class ScreenResolution;
44 43
45 namespace protocol { 44 namespace protocol {
46 class InputEventTracker; 45 class InputEventTracker;
47 } // namespace protocol 46 } // namespace protocol
48 47
49 // Provides screen/audio capturing and input injection services for 48 // Provides screen/audio capturing and input injection services for
50 // the network process. 49 // the network process.
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 220
222 // The DesktopEnvironment instance used by this agent. 221 // The DesktopEnvironment instance used by this agent.
223 scoped_ptr<DesktopEnvironment> desktop_environment_; 222 scoped_ptr<DesktopEnvironment> desktop_environment_;
224 223
225 // Provides a user interface allowing the local user to close the connection. 224 // Provides a user interface allowing the local user to close the connection.
226 scoped_ptr<DisconnectWindow> disconnect_window_; 225 scoped_ptr<DisconnectWindow> disconnect_window_;
227 226
228 // Executes keyboard, mouse and clipboard events. 227 // Executes keyboard, mouse and clipboard events.
229 scoped_ptr<InputInjector> input_injector_; 228 scoped_ptr<InputInjector> input_injector_;
230 229
231 // Monitor local inputs to allow remote inputs to be blocked while the local
232 // user is trying to do something.
233 scoped_ptr<LocalInputMonitor> local_input_monitor_;
234
235 // Tracker used to release pressed keys and buttons when disconnecting. 230 // Tracker used to release pressed keys and buttons when disconnecting.
236 scoped_ptr<protocol::InputEventTracker> input_tracker_; 231 scoped_ptr<protocol::InputEventTracker> input_tracker_;
237 232
238 // Filter used to disable remote inputs during local input activity. 233 // Filter used to disable remote inputs during local input activity.
239 scoped_ptr<RemoteInputFilter> remote_input_filter_; 234 scoped_ptr<RemoteInputFilter> remote_input_filter_;
240 235
241 // Used to apply client-requested changes in screen resolution. 236 // Used to apply client-requested changes in screen resolution.
242 scoped_ptr<ScreenControls> screen_controls_; 237 scoped_ptr<ScreenControls> screen_controls_;
243 238
244 // IPC channel connecting the desktop process with the network process. 239 // IPC channel connecting the desktop process with the network process.
(...skipping 20 matching lines...) Expand all
265 scoped_ptr<media::ScreenCapturer> video_capturer_; 260 scoped_ptr<media::ScreenCapturer> video_capturer_;
266 261
267 UiStrings ui_strings_; 262 UiStrings ui_strings_;
268 263
269 DISALLOW_COPY_AND_ASSIGN(DesktopSessionAgent); 264 DISALLOW_COPY_AND_ASSIGN(DesktopSessionAgent);
270 }; 265 };
271 266
272 } // namespace remoting 267 } // namespace remoting
273 268
274 #endif // REMOTING_HOST_DESKTOP_SESSION_AGENT_H_ 269 #endif // REMOTING_HOST_DESKTOP_SESSION_AGENT_H_
OLDNEW
« no previous file with comments | « remoting/host/client_session_control.h ('k') | remoting/host/desktop_session_agent.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698