| OLD | NEW |
| 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 <cstdint> | 8 #include <cstdint> |
| 9 #include <memory> | 9 #include <memory> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 void RequestPairing( | 112 void RequestPairing( |
| 113 const remoting::protocol::PairingRequest& pairing_request) override; | 113 const remoting::protocol::PairingRequest& pairing_request) override; |
| 114 void DeliverClientMessage(const protocol::ExtensionMessage& message) override; | 114 void DeliverClientMessage(const protocol::ExtensionMessage& message) override; |
| 115 | 115 |
| 116 // protocol::ConnectionToClient::EventHandler interface. | 116 // protocol::ConnectionToClient::EventHandler interface. |
| 117 void OnConnectionAuthenticating() override; | 117 void OnConnectionAuthenticating() override; |
| 118 void OnConnectionAuthenticated() override; | 118 void OnConnectionAuthenticated() override; |
| 119 void CreateMediaStreams() override; | 119 void CreateMediaStreams() override; |
| 120 void OnConnectionChannelsConnected() override; | 120 void OnConnectionChannelsConnected() override; |
| 121 void OnConnectionClosed(protocol::ErrorCode error) override; | 121 void OnConnectionClosed(protocol::ErrorCode error) override; |
| 122 void OnInputEventReceived(int64_t timestamp) override; | |
| 123 void OnRouteChange(const std::string& channel_name, | 122 void OnRouteChange(const std::string& channel_name, |
| 124 const protocol::TransportRoute& route) override; | 123 const protocol::TransportRoute& route) override; |
| 125 | 124 |
| 126 // ClientSessionControl interface. | 125 // ClientSessionControl interface. |
| 127 const std::string& client_jid() const override; | 126 const std::string& client_jid() const override; |
| 128 void DisconnectSession(protocol::ErrorCode error) override; | 127 void DisconnectSession(protocol::ErrorCode error) override; |
| 129 void OnLocalMouseMoved(const webrtc::DesktopVector& position) override; | 128 void OnLocalMouseMoved(const webrtc::DesktopVector& position) override; |
| 130 void SetDisableInputs(bool disable_inputs) override; | 129 void SetDisableInputs(bool disable_inputs) override; |
| 131 | 130 |
| 132 // ClientSessionDetails interface. | 131 // ClientSessionDetails interface. |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 241 // Used to disable callbacks to |this| once DisconnectSession() has been | 240 // Used to disable callbacks to |this| once DisconnectSession() has been |
| 242 // called. | 241 // called. |
| 243 base::WeakPtrFactory<ClientSessionControl> weak_factory_; | 242 base::WeakPtrFactory<ClientSessionControl> weak_factory_; |
| 244 | 243 |
| 245 DISALLOW_COPY_AND_ASSIGN(ClientSession); | 244 DISALLOW_COPY_AND_ASSIGN(ClientSession); |
| 246 }; | 245 }; |
| 247 | 246 |
| 248 } // namespace remoting | 247 } // namespace remoting |
| 249 | 248 |
| 250 #endif // REMOTING_HOST_CLIENT_SESSION_H_ | 249 #endif // REMOTING_HOST_CLIENT_SESSION_H_ |
| OLD | NEW |