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

Side by Side Diff: remoting/host/client_session_control.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/client_session.cc ('k') | remoting/host/client_session_unittest.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_CONTROL_H_ 5 #ifndef REMOTING_HOST_CLIENT_SESSION_CONTROL_H_
6 #define REMOTING_HOST_CLIENT_SESSION_CONTROL_H_ 6 #define REMOTING_HOST_CLIENT_SESSION_CONTROL_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "third_party/skia/include/core/SkPoint.h" 9
10 namespace webrtc {
11 class DesktopVector;
12 } // namespace webrtc
10 13
11 namespace remoting { 14 namespace remoting {
12 15
13 // Allows the desktop environment to disconnect the client session and 16 // Allows the desktop environment to disconnect the client session and
14 // to control the remote input handling (i.e. disable, enable, and pause 17 // to control the remote input handling (i.e. disable, enable, and pause
15 // temporarily if the local mouse movements are detected). 18 // temporarily if the local mouse movements are detected).
16 class ClientSessionControl { 19 class ClientSessionControl {
17 public: 20 public:
18 virtual ~ClientSessionControl() {} 21 virtual ~ClientSessionControl() {}
19 22
20 // Returns the authenticated JID of the client session. 23 // Returns the authenticated JID of the client session.
21 virtual const std::string& client_jid() const = 0; 24 virtual const std::string& client_jid() const = 0;
22 25
23 // Disconnects the client session, tears down transport resources and stops 26 // Disconnects the client session, tears down transport resources and stops
24 // scheduler components. 27 // scheduler components.
25 virtual void DisconnectSession() = 0; 28 virtual void DisconnectSession() = 0;
26 29
27 // Called when local mouse movement is detected. 30 // Called when local mouse movement is detected.
28 virtual void OnLocalMouseMoved(const SkIPoint& position) = 0; 31 virtual void OnLocalMouseMoved(const webrtc::DesktopVector& position) = 0;
29 32
30 // Disables or enables the remote input in the client session. 33 // Disables or enables the remote input in the client session.
31 virtual void SetDisableInputs(bool disable_inputs) = 0; 34 virtual void SetDisableInputs(bool disable_inputs) = 0;
32 }; 35 };
33 36
34 } // namespace remoting 37 } // namespace remoting
35 38
36 #endif // REMOTING_HOST_CLIENT_SESSION_CONTROL_H_ 39 #endif // REMOTING_HOST_CLIENT_SESSION_CONTROL_H_
OLDNEW
« no previous file with comments | « remoting/host/client_session.cc ('k') | remoting/host/client_session_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698