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

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

Issue 14305004: Simplify ScreenCapturer interface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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/chromoting_messages.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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 IPC::PlatformFileForTransit* client_out, 124 IPC::PlatformFileForTransit* client_out,
125 scoped_ptr<IPC::ChannelProxy>* server_out) = 0; 125 scoped_ptr<IPC::ChannelProxy>* server_out) = 0;
126 126
127 // Handles StartSessionAgent request from the client. 127 // Handles StartSessionAgent request from the client.
128 void OnStartSessionAgent(const std::string& authenticated_jid, 128 void OnStartSessionAgent(const std::string& authenticated_jid,
129 const ScreenResolution& resolution); 129 const ScreenResolution& resolution);
130 130
131 // Handles CaptureFrame requests from the client. 131 // Handles CaptureFrame requests from the client.
132 void OnCaptureFrame(); 132 void OnCaptureFrame();
133 133
134 // Handles InvalidateRegion requests from the client.
135 void OnInvalidateRegion(const std::vector<SkIRect>& invalid_rects);
136
137 // Handles SharedBufferCreated notification from the client. 134 // Handles SharedBufferCreated notification from the client.
138 void OnSharedBufferCreated(int id); 135 void OnSharedBufferCreated(int id);
139 136
140 // Handles event executor requests from the client. 137 // Handles event executor requests from the client.
141 void OnInjectClipboardEvent(const std::string& serialized_event); 138 void OnInjectClipboardEvent(const std::string& serialized_event);
142 void OnInjectKeyEvent(const std::string& serialized_event); 139 void OnInjectKeyEvent(const std::string& serialized_event);
143 void OnInjectMouseEvent(const std::string& serialized_event); 140 void OnInjectMouseEvent(const std::string& serialized_event);
144 141
145 // Handles ChromotingNetworkDesktopMsg_SetScreenResolution request from 142 // Handles ChromotingNetworkDesktopMsg_SetScreenResolution request from
146 // the client. 143 // the client.
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 250
254 // Captures the screen. 251 // Captures the screen.
255 scoped_ptr<media::ScreenCapturer> video_capturer_; 252 scoped_ptr<media::ScreenCapturer> video_capturer_;
256 253
257 DISALLOW_COPY_AND_ASSIGN(DesktopSessionAgent); 254 DISALLOW_COPY_AND_ASSIGN(DesktopSessionAgent);
258 }; 255 };
259 256
260 } // namespace remoting 257 } // namespace remoting
261 258
262 #endif // REMOTING_HOST_DESKTOP_SESSION_AGENT_H_ 259 #endif // REMOTING_HOST_DESKTOP_SESSION_AGENT_H_
OLDNEW
« no previous file with comments | « remoting/host/chromoting_messages.h ('k') | remoting/host/desktop_session_agent.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698