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

Side by Side Diff: remoting/host/client_session.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/chromoting_host.h ('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 <string> 8 #include <string>
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
11 #include "base/memory/weak_ptr.h" 11 #include "base/memory/weak_ptr.h"
12 #include "base/sequenced_task_runner_helpers.h" 12 #include "base/sequenced_task_runner_helpers.h"
13 #include "base/threading/non_thread_safe.h" 13 #include "base/threading/non_thread_safe.h"
14 #include "base/time/time.h" 14 #include "base/time/time.h"
15 #include "base/timer/timer.h" 15 #include "base/timer/timer.h"
16 #include "remoting/host/client_session_control.h" 16 #include "remoting/host/client_session_control.h"
17 #include "remoting/host/mouse_clamping_filter.h" 17 #include "remoting/host/mouse_clamping_filter.h"
18 #include "remoting/host/remote_input_filter.h" 18 #include "remoting/host/remote_input_filter.h"
19 #include "remoting/protocol/clipboard_echo_filter.h" 19 #include "remoting/protocol/clipboard_echo_filter.h"
20 #include "remoting/protocol/clipboard_filter.h" 20 #include "remoting/protocol/clipboard_filter.h"
21 #include "remoting/protocol/clipboard_stub.h" 21 #include "remoting/protocol/clipboard_stub.h"
22 #include "remoting/protocol/connection_to_client.h" 22 #include "remoting/protocol/connection_to_client.h"
23 #include "remoting/protocol/host_stub.h" 23 #include "remoting/protocol/host_stub.h"
24 #include "remoting/protocol/input_event_tracker.h" 24 #include "remoting/protocol/input_event_tracker.h"
25 #include "remoting/protocol/input_filter.h" 25 #include "remoting/protocol/input_filter.h"
26 #include "remoting/protocol/input_stub.h" 26 #include "remoting/protocol/input_stub.h"
27 #include "remoting/protocol/pairing_registry.h" 27 #include "remoting/protocol/pairing_registry.h"
28 #include "third_party/skia/include/core/SkPoint.h" 28 #include "third_party/webrtc/modules/desktop_capture/desktop_geometry.h"
29 #include "third_party/skia/include/core/SkSize.h"
30 29
31 namespace base { 30 namespace base {
32 class SingleThreadTaskRunner; 31 class SingleThreadTaskRunner;
33 } // namespace base 32 } // namespace base
34 33
35 namespace remoting { 34 namespace remoting {
36 35
37 class AudioEncoder; 36 class AudioEncoder;
38 class AudioScheduler; 37 class AudioScheduler;
39 class DesktopEnvironment; 38 class DesktopEnvironment;
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 virtual void OnSequenceNumberUpdated( 123 virtual void OnSequenceNumberUpdated(
125 protocol::ConnectionToClient* connection, int64 sequence_number) OVERRIDE; 124 protocol::ConnectionToClient* connection, int64 sequence_number) OVERRIDE;
126 virtual void OnRouteChange( 125 virtual void OnRouteChange(
127 protocol::ConnectionToClient* connection, 126 protocol::ConnectionToClient* connection,
128 const std::string& channel_name, 127 const std::string& channel_name,
129 const protocol::TransportRoute& route) OVERRIDE; 128 const protocol::TransportRoute& route) OVERRIDE;
130 129
131 // ClientSessionControl interface. 130 // ClientSessionControl interface.
132 virtual const std::string& client_jid() const OVERRIDE; 131 virtual const std::string& client_jid() const OVERRIDE;
133 virtual void DisconnectSession() OVERRIDE; 132 virtual void DisconnectSession() OVERRIDE;
134 virtual void OnLocalMouseMoved(const SkIPoint& position) OVERRIDE; 133 virtual void OnLocalMouseMoved(
134 const webrtc::DesktopVector& position) OVERRIDE;
135 virtual void SetDisableInputs(bool disable_inputs) OVERRIDE; 135 virtual void SetDisableInputs(bool disable_inputs) OVERRIDE;
136 136
137 protocol::ConnectionToClient* connection() const { 137 protocol::ConnectionToClient* connection() const {
138 return connection_.get(); 138 return connection_.get();
139 } 139 }
140 140
141 bool is_authenticated() { return auth_input_filter_.enabled(); } 141 bool is_authenticated() { return auth_input_filter_.enabled(); }
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.
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 232
233 // The pairing registry for PIN-less authentication. 233 // The pairing registry for PIN-less authentication.
234 scoped_refptr<protocol::PairingRegistry> pairing_registry_; 234 scoped_refptr<protocol::PairingRegistry> pairing_registry_;
235 235
236 DISALLOW_COPY_AND_ASSIGN(ClientSession); 236 DISALLOW_COPY_AND_ASSIGN(ClientSession);
237 }; 237 };
238 238
239 } // namespace remoting 239 } // namespace remoting
240 240
241 #endif // REMOTING_HOST_CLIENT_SESSION_H_ 241 #endif // REMOTING_HOST_CLIENT_SESSION_H_
OLDNEW
« no previous file with comments | « remoting/host/chromoting_host.h ('k') | remoting/host/client_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698