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

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

Issue 1844143002: Add VideoLayout message. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
« no previous file with comments | « remoting/client/plugin/pepper_video_renderer_3d.cc ('k') | remoting/host/client_session.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_CLIENT_SESSION_H_ 5 #ifndef REMOTING_HOST_CLIENT_SESSION_H_
6 #define REMOTING_HOST_CLIENT_SESSION_H_ 6 #define REMOTING_HOST_CLIENT_SESSION_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 bool is_authenticated() { return is_authenticated_; } 137 bool is_authenticated() { return is_authenticated_; }
138 138
139 const std::string* client_capabilities() const { 139 const std::string* client_capabilities() const {
140 return client_capabilities_.get(); 140 return client_capabilities_.get();
141 } 141 }
142 142
143 private: 143 private:
144 // Creates a proxy for sending clipboard events to the client. 144 // Creates a proxy for sending clipboard events to the client.
145 scoped_ptr<protocol::ClipboardStub> CreateClipboardProxy(); 145 scoped_ptr<protocol::ClipboardStub> CreateClipboardProxy();
146 146
147 void OnScreenSizeChanged(const webrtc::DesktopSize& size); 147 void OnScreenSizeChanged(const webrtc::DesktopSize& size,
148 const webrtc::DesktopVector& dpi);
148 149
149 EventHandler* event_handler_; 150 EventHandler* event_handler_;
150 151
151 // The connection to the client. 152 // The connection to the client.
152 scoped_ptr<protocol::ConnectionToClient> connection_; 153 scoped_ptr<protocol::ConnectionToClient> connection_;
153 154
154 std::string client_jid_; 155 std::string client_jid_;
155 156
156 // Used to create a DesktopEnvironment instance for this session. 157 // Used to create a DesktopEnvironment instance for this session.
157 DesktopEnvironmentFactory* desktop_environment_factory_; 158 DesktopEnvironmentFactory* desktop_environment_factory_;
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 // Used to disable callbacks to |this| once DisconnectSession() has been 235 // Used to disable callbacks to |this| once DisconnectSession() has been
235 // called. 236 // called.
236 base::WeakPtrFactory<ClientSessionControl> weak_factory_; 237 base::WeakPtrFactory<ClientSessionControl> weak_factory_;
237 238
238 DISALLOW_COPY_AND_ASSIGN(ClientSession); 239 DISALLOW_COPY_AND_ASSIGN(ClientSession);
239 }; 240 };
240 241
241 } // namespace remoting 242 } // namespace remoting
242 243
243 #endif // REMOTING_HOST_CLIENT_SESSION_H_ 244 #endif // REMOTING_HOST_CLIENT_SESSION_H_
OLDNEW
« no previous file with comments | « remoting/client/plugin/pepper_video_renderer_3d.cc ('k') | remoting/host/client_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698