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

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

Issue 11821004: Remove unused VideoFrameCapturer::size_most_recent() method. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: CR feedback Created 7 years, 11 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/capturer/video_frame_capturer_win.cc ('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"
11 #include "base/callback.h" 11 #include "base/callback.h"
12 #include "base/compiler_specific.h" 12 #include "base/compiler_specific.h"
13 #include "base/memory/ref_counted.h" 13 #include "base/memory/ref_counted.h"
14 #include "base/memory/scoped_ptr.h" 14 #include "base/memory/scoped_ptr.h"
15 #include "base/memory/weak_ptr.h" 15 #include "base/memory/weak_ptr.h"
16 #include "ipc/ipc_listener.h" 16 #include "ipc/ipc_listener.h"
17 #include "ipc/ipc_platform_file.h" 17 #include "ipc/ipc_platform_file.h"
18 #include "remoting/capturer/shared_buffer.h" 18 #include "remoting/capturer/shared_buffer.h"
19 #include "remoting/capturer/shared_buffer_factory.h" 19 #include "remoting/capturer/shared_buffer_factory.h"
20 #include "remoting/capturer/video_frame_capturer.h" 20 #include "remoting/capturer/video_frame_capturer.h"
21 #include "remoting/host/mouse_move_observer.h" 21 #include "remoting/host/mouse_move_observer.h"
22 #include "remoting/host/ui_strings.h" 22 #include "remoting/host/ui_strings.h"
23 #include "remoting/protocol/clipboard_stub.h" 23 #include "remoting/protocol/clipboard_stub.h"
24 #include "third_party/skia/include/core/SkRect.h" 24 #include "third_party/skia/include/core/SkRect.h"
25 #include "third_party/skia/include/core/SkSize.h"
25 26
26 namespace IPC { 27 namespace IPC {
27 class ChannelProxy; 28 class ChannelProxy;
28 class Message; 29 class Message;
29 } // namespace IPC 30 } // namespace IPC
30 31
31 namespace remoting { 32 namespace remoting {
32 33
33 class AudioCapturer; 34 class AudioCapturer;
34 class AudioPacket; 35 class AudioPacket;
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 219
219 // Tracker used to release pressed keys and buttons when disconnecting. 220 // Tracker used to release pressed keys and buttons when disconnecting.
220 scoped_ptr<protocol::InputEventTracker> input_tracker_; 221 scoped_ptr<protocol::InputEventTracker> input_tracker_;
221 222
222 // Filter used to disable remote inputs during local input activity. 223 // Filter used to disable remote inputs during local input activity.
223 scoped_ptr<RemoteInputFilter> remote_input_filter_; 224 scoped_ptr<RemoteInputFilter> remote_input_filter_;
224 225
225 // IPC channel connecting the desktop process with the network process. 226 // IPC channel connecting the desktop process with the network process.
226 scoped_ptr<IPC::ChannelProxy> network_channel_; 227 scoped_ptr<IPC::ChannelProxy> network_channel_;
227 228
229 // Size of the most recent captured video frame.
230 SkISize current_size_;
231
228 // Next shared buffer ID to be used. 232 // Next shared buffer ID to be used.
229 int next_shared_buffer_id_; 233 int next_shared_buffer_id_;
230 234
231 // List of the shared buffers registered via |SharedBufferFactory| interface. 235 // List of the shared buffers registered via |SharedBufferFactory| interface.
232 typedef std::list<scoped_refptr<SharedBuffer> > SharedBuffers; 236 typedef std::list<scoped_refptr<SharedBuffer> > SharedBuffers;
233 SharedBuffers shared_buffers_; 237 SharedBuffers shared_buffers_;
234 238
235 // True if the desktop session agent has been started. 239 // True if the desktop session agent has been started.
236 bool started_; 240 bool started_;
237 241
238 // Captures the screen. 242 // Captures the screen.
239 scoped_ptr<VideoFrameCapturer> video_capturer_; 243 scoped_ptr<VideoFrameCapturer> video_capturer_;
240 244
241 UiStrings ui_strings_; 245 UiStrings ui_strings_;
242 246
243 DISALLOW_COPY_AND_ASSIGN(DesktopSessionAgent); 247 DISALLOW_COPY_AND_ASSIGN(DesktopSessionAgent);
244 }; 248 };
245 249
246 } // namespace remoting 250 } // namespace remoting
247 251
248 #endif // REMOTING_HOST_DESKTOP_SESSION_AGENT_H_ 252 #endif // REMOTING_HOST_DESKTOP_SESSION_AGENT_H_
OLDNEW
« no previous file with comments | « remoting/capturer/video_frame_capturer_win.cc ('k') | remoting/host/desktop_session_agent.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698