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_CHROMOTING_HOST_H_ | 5 #ifndef REMOTING_HOST_CHROMOTING_HOST_H_ |
6 #define REMOTING_HOST_CHROMOTING_HOST_H_ | 6 #define REMOTING_HOST_CHROMOTING_HOST_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 virtual void OnSessionAuthenticated(ClientSession* client) OVERRIDE; | 118 virtual void OnSessionAuthenticated(ClientSession* client) OVERRIDE; |
119 virtual void OnSessionChannelsConnected(ClientSession* client) OVERRIDE; | 119 virtual void OnSessionChannelsConnected(ClientSession* client) OVERRIDE; |
120 virtual void OnSessionAuthenticationFailed(ClientSession* client) OVERRIDE; | 120 virtual void OnSessionAuthenticationFailed(ClientSession* client) OVERRIDE; |
121 virtual void OnSessionClosed(ClientSession* session) OVERRIDE; | 121 virtual void OnSessionClosed(ClientSession* session) OVERRIDE; |
122 virtual void OnSessionSequenceNumber(ClientSession* session, | 122 virtual void OnSessionSequenceNumber(ClientSession* session, |
123 int64 sequence_number) OVERRIDE; | 123 int64 sequence_number) OVERRIDE; |
124 virtual void OnSessionRouteChange( | 124 virtual void OnSessionRouteChange( |
125 ClientSession* session, | 125 ClientSession* session, |
126 const std::string& channel_name, | 126 const std::string& channel_name, |
127 const protocol::TransportRoute& route) OVERRIDE; | 127 const protocol::TransportRoute& route) OVERRIDE; |
128 virtual void OnClientDimensionsChanged(ClientSession* session, | 128 virtual void OnClientResolutionChanged(ClientSession* session, |
129 const SkISize& size) OVERRIDE; | 129 const SkISize& size, |
| 130 const SkIPoint& dpi) OVERRIDE; |
130 | 131 |
131 // SessionManager::Listener implementation. | 132 // SessionManager::Listener implementation. |
132 virtual void OnSessionManagerReady() OVERRIDE; | 133 virtual void OnSessionManagerReady() OVERRIDE; |
133 virtual void OnIncomingSession( | 134 virtual void OnIncomingSession( |
134 protocol::Session* session, | 135 protocol::Session* session, |
135 protocol::SessionManager::IncomingSessionResponse* response) OVERRIDE; | 136 protocol::SessionManager::IncomingSessionResponse* response) OVERRIDE; |
136 | 137 |
137 // MouseMoveObserver interface. | 138 // MouseMoveObserver interface. |
138 virtual void OnLocalMouseMoved(const SkIPoint& new_pos) OVERRIDE; | 139 virtual void OnLocalMouseMoved(const SkIPoint& new_pos) OVERRIDE; |
139 | 140 |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
209 | 210 |
210 // The maximum duration of any session. | 211 // The maximum duration of any session. |
211 base::TimeDelta max_session_duration_; | 212 base::TimeDelta max_session_duration_; |
212 | 213 |
213 DISALLOW_COPY_AND_ASSIGN(ChromotingHost); | 214 DISALLOW_COPY_AND_ASSIGN(ChromotingHost); |
214 }; | 215 }; |
215 | 216 |
216 } // namespace remoting | 217 } // namespace remoting |
217 | 218 |
218 #endif // REMOTING_HOST_CHROMOTING_HOST_H_ | 219 #endif // REMOTING_HOST_CHROMOTING_HOST_H_ |
OLD | NEW |