| 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 <list> | 8 #include <list> |
| 9 | 9 |
| 10 #include "base/time.h" | 10 #include "base/time.h" |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 virtual ~ClientSession(); | 69 virtual ~ClientSession(); |
| 70 | 70 |
| 71 // protocol::ClipboardStub interface. | 71 // protocol::ClipboardStub interface. |
| 72 virtual void InjectClipboardEvent( | 72 virtual void InjectClipboardEvent( |
| 73 const protocol::ClipboardEvent& event) OVERRIDE; | 73 const protocol::ClipboardEvent& event) OVERRIDE; |
| 74 | 74 |
| 75 // protocol::InputStub interface. | 75 // protocol::InputStub interface. |
| 76 virtual void InjectKeyEvent(const protocol::KeyEvent& event) OVERRIDE; | 76 virtual void InjectKeyEvent(const protocol::KeyEvent& event) OVERRIDE; |
| 77 virtual void InjectMouseEvent(const protocol::MouseEvent& event) OVERRIDE; | 77 virtual void InjectMouseEvent(const protocol::MouseEvent& event) OVERRIDE; |
| 78 | 78 |
| 79 // protocol::HostStub interface. |
| 80 virtual void NotifyClientDimensions( |
| 81 const protocol::ClientDimensions& dimensions) OVERRIDE; |
| 82 |
| 79 // protocol::ConnectionToClient::EventHandler interface. | 83 // protocol::ConnectionToClient::EventHandler interface. |
| 80 virtual void OnConnectionAuthenticated( | 84 virtual void OnConnectionAuthenticated( |
| 81 protocol::ConnectionToClient* connection) OVERRIDE; | 85 protocol::ConnectionToClient* connection) OVERRIDE; |
| 82 virtual void OnConnectionChannelsConnected( | 86 virtual void OnConnectionChannelsConnected( |
| 83 protocol::ConnectionToClient* connection) OVERRIDE; | 87 protocol::ConnectionToClient* connection) OVERRIDE; |
| 84 virtual void OnConnectionClosed(protocol::ConnectionToClient* connection, | 88 virtual void OnConnectionClosed(protocol::ConnectionToClient* connection, |
| 85 protocol::ErrorCode error) OVERRIDE; | 89 protocol::ErrorCode error) OVERRIDE; |
| 86 virtual void OnSequenceNumberUpdated( | 90 virtual void OnSequenceNumberUpdated( |
| 87 protocol::ConnectionToClient* connection, int64 sequence_number) OVERRIDE; | 91 protocol::ConnectionToClient* connection, int64 sequence_number) OVERRIDE; |
| 88 virtual void OnRouteChange( | 92 virtual void OnRouteChange( |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 139 // TODO(lambroslambrou): Move floor-control logic, and clamping to screen | 143 // TODO(lambroslambrou): Move floor-control logic, and clamping to screen |
| 140 // area, out of this class (crbug.com/96508). | 144 // area, out of this class (crbug.com/96508). |
| 141 Capturer* capturer_; | 145 Capturer* capturer_; |
| 142 | 146 |
| 143 DISALLOW_COPY_AND_ASSIGN(ClientSession); | 147 DISALLOW_COPY_AND_ASSIGN(ClientSession); |
| 144 }; | 148 }; |
| 145 | 149 |
| 146 } // namespace remoting | 150 } // namespace remoting |
| 147 | 151 |
| 148 #endif // REMOTING_HOST_CLIENT_SESSION_H_ | 152 #endif // REMOTING_HOST_CLIENT_SESSION_H_ |
| OLD | NEW |