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

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

Issue 455073004: Switch DesktopEnvironment to return a DesktopCapturer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove ShapedDesktopCapturer::Create() Created 6 years, 4 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/host_mock_objects.cc ('k') | remoting/host/ipc_desktop_environment.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_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
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 bool virtual_terminal);
49 virtual ~IpcDesktopEnvironment(); 49 virtual ~IpcDesktopEnvironment();
50 50
51 // DesktopEnvironment implementation. 51 // DesktopEnvironment implementation.
52 virtual scoped_ptr<AudioCapturer> CreateAudioCapturer() OVERRIDE; 52 virtual scoped_ptr<AudioCapturer> CreateAudioCapturer() OVERRIDE;
53 virtual scoped_ptr<InputInjector> CreateInputInjector() OVERRIDE; 53 virtual scoped_ptr<InputInjector> CreateInputInjector() OVERRIDE;
54 virtual scoped_ptr<ScreenControls> CreateScreenControls() OVERRIDE; 54 virtual scoped_ptr<ScreenControls> CreateScreenControls() OVERRIDE;
55 virtual scoped_ptr<webrtc::ScreenCapturer> CreateVideoCapturer() OVERRIDE; 55 virtual scoped_ptr<webrtc::DesktopCapturer> CreateVideoCapturer() OVERRIDE;
56 virtual scoped_ptr<webrtc::MouseCursorMonitor> CreateMouseCursorMonitor() 56 virtual scoped_ptr<webrtc::MouseCursorMonitor> CreateMouseCursorMonitor()
57 OVERRIDE; 57 OVERRIDE;
58 virtual std::string GetCapabilities() const OVERRIDE; 58 virtual std::string GetCapabilities() const OVERRIDE;
59 virtual void SetCapabilities(const std::string& capabilities) OVERRIDE; 59 virtual void SetCapabilities(const std::string& capabilities) OVERRIDE;
60 virtual scoped_ptr<GnubbyAuthHandler> CreateGnubbyAuthHandler( 60 virtual scoped_ptr<GnubbyAuthHandler> CreateGnubbyAuthHandler(
61 protocol::ClientStub* client_stub) OVERRIDE; 61 protocol::ClientStub* client_stub) OVERRIDE;
62 62
63 private: 63 private:
64 scoped_refptr<DesktopSessionProxy> desktop_session_proxy_; 64 scoped_refptr<DesktopSessionProxy> desktop_session_proxy_;
65 65
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 // This gives us more than 67 years of unique IDs assuming a new ID is 135 // This gives us more than 67 years of unique IDs assuming a new ID is
136 // allocated every second. 136 // allocated every second.
137 int next_id_; 137 int next_id_;
138 138
139 DISALLOW_COPY_AND_ASSIGN(IpcDesktopEnvironmentFactory); 139 DISALLOW_COPY_AND_ASSIGN(IpcDesktopEnvironmentFactory);
140 }; 140 };
141 141
142 } // namespace remoting 142 } // namespace remoting
143 143
144 #endif // REMOTING_HOST_IPC_DESKTOP_ENVIRONMENT_H_ 144 #endif // REMOTING_HOST_IPC_DESKTOP_ENVIRONMENT_H_
OLDNEW
« no previous file with comments | « remoting/host/host_mock_objects.cc ('k') | remoting/host/ipc_desktop_environment.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698