Update content setting for app banners to store more information.
[chromium-blink-merge.git] / remoting / host / client_session_control.h
blob30cb15bf244fe7a086ee0ebd0e53f31634d4c716
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
3 // found in the LICENSE file.
5 #ifndef REMOTING_HOST_CLIENT_SESSION_CONTROL_H_
6 #define REMOTING_HOST_CLIENT_SESSION_CONTROL_H_
8 #include "base/basictypes.h"
10 namespace webrtc {
11 class DesktopVector;
12 } // namespace webrtc
14 namespace remoting {
16 // Allows the desktop environment to disconnect the client session and
17 // to control the remote input handling (i.e. disable, enable, and pause
18 // temporarily if the local mouse movements are detected).
19 class ClientSessionControl {
20 public:
21 virtual ~ClientSessionControl() {}
23 // Returns the authenticated JID of the client session.
24 virtual const std::string& client_jid() const = 0;
26 // Disconnects the client session, tears down transport resources and stops
27 // scheduler components.
28 virtual void DisconnectSession() = 0;
30 // Called when local mouse movement is detected.
31 virtual void OnLocalMouseMoved(const webrtc::DesktopVector& position) = 0;
33 // Disables or enables the remote input in the client session.
34 virtual void SetDisableInputs(bool disable_inputs) = 0;
36 // Resets the video pipeline, including re-creating the capturer & encoder.
37 virtual void ResetVideoPipeline() = 0;
40 } // namespace remoting
42 #endif // REMOTING_HOST_CLIENT_SESSION_CONTROL_H_