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

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

Issue 112453002: Remove dependency on skia from remoting (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | Annotate | Revision Log
« no previous file with comments | « remoting/host/desktop_resizer_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 <map> 8 #include <map>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 void Stop(); 99 void Stop();
100 100
101 protected: 101 protected:
102 friend class base::RefCountedThreadSafe<DesktopSessionAgent>; 102 friend class base::RefCountedThreadSafe<DesktopSessionAgent>;
103 103
104 virtual ~DesktopSessionAgent(); 104 virtual ~DesktopSessionAgent();
105 105
106 // ClientSessionControl interface. 106 // ClientSessionControl interface.
107 virtual const std::string& client_jid() const OVERRIDE; 107 virtual const std::string& client_jid() const OVERRIDE;
108 virtual void DisconnectSession() OVERRIDE; 108 virtual void DisconnectSession() OVERRIDE;
109 virtual void OnLocalMouseMoved(const SkIPoint& position) OVERRIDE; 109 virtual void OnLocalMouseMoved(
110 const webrtc::DesktopVector& position) OVERRIDE;
110 virtual void SetDisableInputs(bool disable_inputs) OVERRIDE; 111 virtual void SetDisableInputs(bool disable_inputs) OVERRIDE;
111 112
112 // Handles StartSessionAgent request from the client. 113 // Handles StartSessionAgent request from the client.
113 void OnStartSessionAgent(const std::string& authenticated_jid, 114 void OnStartSessionAgent(const std::string& authenticated_jid,
114 const ScreenResolution& resolution, 115 const ScreenResolution& resolution,
115 bool virtual_terminal); 116 bool virtual_terminal);
116 117
117 // Handles CaptureFrame requests from the client. 118 // Handles CaptureFrame requests from the client.
118 void OnCaptureFrame(); 119 void OnCaptureFrame();
119 120
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 // Keep reference to the last frame sent to make sure shared buffer is alive 220 // Keep reference to the last frame sent to make sure shared buffer is alive
220 // before it's received. 221 // before it's received.
221 scoped_ptr<webrtc::DesktopFrame> last_frame_; 222 scoped_ptr<webrtc::DesktopFrame> last_frame_;
222 223
223 DISALLOW_COPY_AND_ASSIGN(DesktopSessionAgent); 224 DISALLOW_COPY_AND_ASSIGN(DesktopSessionAgent);
224 }; 225 };
225 226
226 } // namespace remoting 227 } // namespace remoting
227 228
228 #endif // REMOTING_HOST_DESKTOP_SESSION_AGENT_H_ 229 #endif // REMOTING_HOST_DESKTOP_SESSION_AGENT_H_
OLDNEW
« no previous file with comments | « remoting/host/desktop_resizer_win.cc ('k') | remoting/host/desktop_session_agent.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698