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

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

Issue 2529533003: Pass DesktopEnvironmentOptions form network to desktop process. (Closed)
Patch Set: Created 4 years 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
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_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 <cstdint> 8 #include <cstdint>
9 #include <map> 9 #include <map>
10 #include <memory> 10 #include <memory>
(...skipping 27 matching lines...) Expand all
38 public: 38 public:
39 // |desktop_session_connector| is used to bind DesktopSessionProxy to 39 // |desktop_session_connector| is used to bind DesktopSessionProxy to
40 // a desktop session, to be notified every time the desktop process is 40 // a desktop session, to be notified every time the desktop process is
41 // restarted. 41 // restarted.
42 IpcDesktopEnvironment( 42 IpcDesktopEnvironment(
43 scoped_refptr<base::SingleThreadTaskRunner> audio_task_runner, 43 scoped_refptr<base::SingleThreadTaskRunner> audio_task_runner,
44 scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner, 44 scoped_refptr<base::SingleThreadTaskRunner> caller_task_runner,
45 scoped_refptr<base::SingleThreadTaskRunner> io_task_runner, 45 scoped_refptr<base::SingleThreadTaskRunner> io_task_runner,
46 base::WeakPtr<ClientSessionControl> client_session_control, 46 base::WeakPtr<ClientSessionControl> client_session_control,
47 base::WeakPtr<DesktopSessionConnector> desktop_session_connector, 47 base::WeakPtr<DesktopSessionConnector> desktop_session_connector,
48 bool virtual_terminal); 48 const DesktopEnvironmentOptions& options);
49 ~IpcDesktopEnvironment() override; 49 ~IpcDesktopEnvironment() override;
50 50
51 // DesktopEnvironment implementation. 51 // DesktopEnvironment implementation.
52 std::unique_ptr<AudioCapturer> CreateAudioCapturer() override; 52 std::unique_ptr<AudioCapturer> CreateAudioCapturer() override;
53 std::unique_ptr<InputInjector> CreateInputInjector() override; 53 std::unique_ptr<InputInjector> CreateInputInjector() override;
54 std::unique_ptr<ScreenControls> CreateScreenControls() override; 54 std::unique_ptr<ScreenControls> CreateScreenControls() override;
55 std::unique_ptr<webrtc::DesktopCapturer> CreateVideoCapturer() override; 55 std::unique_ptr<webrtc::DesktopCapturer> CreateVideoCapturer() override;
56 std::unique_ptr<webrtc::MouseCursorMonitor> CreateMouseCursorMonitor() 56 std::unique_ptr<webrtc::MouseCursorMonitor> CreateMouseCursorMonitor()
57 override; 57 override;
58 std::string GetCapabilities() const override; 58 std::string GetCapabilities() const override;
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 124
125 // Factory for weak pointers to DesktopSessionConnector interface. 125 // Factory for weak pointers to DesktopSessionConnector interface.
126 base::WeakPtrFactory<DesktopSessionConnector> connector_factory_; 126 base::WeakPtrFactory<DesktopSessionConnector> connector_factory_;
127 127
128 DISALLOW_COPY_AND_ASSIGN(IpcDesktopEnvironmentFactory); 128 DISALLOW_COPY_AND_ASSIGN(IpcDesktopEnvironmentFactory);
129 }; 129 };
130 130
131 } // namespace remoting 131 } // namespace remoting
132 132
133 #endif // REMOTING_HOST_IPC_DESKTOP_ENVIRONMENT_H_ 133 #endif // REMOTING_HOST_IPC_DESKTOP_ENVIRONMENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698