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 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 virtual void OnSessionAuthenticated(ClientSession* client) OVERRIDE; | 119 virtual void OnSessionAuthenticated(ClientSession* client) OVERRIDE; |
120 virtual void OnSessionChannelsConnected(ClientSession* client) OVERRIDE; | 120 virtual void OnSessionChannelsConnected(ClientSession* client) OVERRIDE; |
121 virtual void OnSessionAuthenticationFailed(ClientSession* client) OVERRIDE; | 121 virtual void OnSessionAuthenticationFailed(ClientSession* client) OVERRIDE; |
122 virtual void OnSessionClosed(ClientSession* session) OVERRIDE; | 122 virtual void OnSessionClosed(ClientSession* session) OVERRIDE; |
123 virtual void OnSessionSequenceNumber(ClientSession* session, | 123 virtual void OnSessionSequenceNumber(ClientSession* session, |
124 int64 sequence_number) OVERRIDE; | 124 int64 sequence_number) OVERRIDE; |
125 virtual void OnSessionRouteChange( | 125 virtual void OnSessionRouteChange( |
126 ClientSession* session, | 126 ClientSession* session, |
127 const std::string& channel_name, | 127 const std::string& channel_name, |
128 const protocol::TransportRoute& route) OVERRIDE; | 128 const protocol::TransportRoute& route) OVERRIDE; |
129 virtual void OnClientResolutionChanged(ClientSession* session, | |
130 const SkISize& size, | |
131 const SkIPoint& dpi) OVERRIDE; | |
132 | 129 |
133 // SessionManager::Listener implementation. | 130 // SessionManager::Listener implementation. |
134 virtual void OnSessionManagerReady() OVERRIDE; | 131 virtual void OnSessionManagerReady() OVERRIDE; |
135 virtual void OnIncomingSession( | 132 virtual void OnIncomingSession( |
136 protocol::Session* session, | 133 protocol::Session* session, |
137 protocol::SessionManager::IncomingSessionResponse* response) OVERRIDE; | 134 protocol::SessionManager::IncomingSessionResponse* response) OVERRIDE; |
138 | 135 |
139 // MouseMoveObserver interface. | 136 // MouseMoveObserver interface. |
140 virtual void OnLocalMouseMoved(const SkIPoint& new_pos) OVERRIDE; | 137 virtual void OnLocalMouseMoved(const SkIPoint& new_pos) OVERRIDE; |
141 | 138 |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
217 base::TimeDelta max_session_duration_; | 214 base::TimeDelta max_session_duration_; |
218 | 215 |
219 base::WeakPtrFactory<ChromotingHost> weak_factory_; | 216 base::WeakPtrFactory<ChromotingHost> weak_factory_; |
220 | 217 |
221 DISALLOW_COPY_AND_ASSIGN(ChromotingHost); | 218 DISALLOW_COPY_AND_ASSIGN(ChromotingHost); |
222 }; | 219 }; |
223 | 220 |
224 } // namespace remoting | 221 } // namespace remoting |
225 | 222 |
226 #endif // REMOTING_HOST_CHROMOTING_HOST_H_ | 223 #endif // REMOTING_HOST_CHROMOTING_HOST_H_ |
OLD | NEW |