Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(61)

Side by Side Diff: remoting/host/chromoting_host.h

Issue 10918224: Cross-platform plumbing for resize-to-client (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed typo. Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | remoting/host/chromoting_host.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
11 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 #include "base/observer_list.h" 12 #include "base/observer_list.h"
13 #include "base/threading/thread.h" 13 #include "base/threading/thread.h"
14 #include "net/base/backoff_entry.h" 14 #include "net/base/backoff_entry.h"
15 #include "remoting/host/client_session.h" 15 #include "remoting/host/client_session.h"
16 #include "remoting/host/host_key_pair.h" 16 #include "remoting/host/host_key_pair.h"
17 #include "remoting/host/host_status_observer.h" 17 #include "remoting/host/host_status_observer.h"
18 #include "remoting/host/mouse_move_observer.h" 18 #include "remoting/host/mouse_move_observer.h"
19 #include "remoting/host/ui_strings.h" 19 #include "remoting/host/ui_strings.h"
20 #include "remoting/protocol/authenticator.h" 20 #include "remoting/protocol/authenticator.h"
21 #include "remoting/protocol/session_manager.h" 21 #include "remoting/protocol/session_manager.h"
22 #include "remoting/protocol/connection_to_client.h" 22 #include "remoting/protocol/connection_to_client.h"
23 #include "third_party/skia/include/core/SkSize.h"
23 24
24 namespace remoting { 25 namespace remoting {
25 26
26 namespace protocol { 27 namespace protocol {
27 class InputStub; 28 class InputStub;
28 class SessionConfig; 29 class SessionConfig;
29 class CandidateSessionConfig; 30 class CandidateSessionConfig;
30 } // namespace protocol 31 } // namespace protocol
31 32
32 class ChromotingHostContext; 33 class ChromotingHostContext;
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 virtual void OnSessionAuthenticated(ClientSession* client) OVERRIDE; 109 virtual void OnSessionAuthenticated(ClientSession* client) OVERRIDE;
109 virtual void OnSessionChannelsConnected(ClientSession* client) OVERRIDE; 110 virtual void OnSessionChannelsConnected(ClientSession* client) OVERRIDE;
110 virtual void OnSessionAuthenticationFailed(ClientSession* client) OVERRIDE; 111 virtual void OnSessionAuthenticationFailed(ClientSession* client) OVERRIDE;
111 virtual void OnSessionClosed(ClientSession* session) OVERRIDE; 112 virtual void OnSessionClosed(ClientSession* session) OVERRIDE;
112 virtual void OnSessionSequenceNumber(ClientSession* session, 113 virtual void OnSessionSequenceNumber(ClientSession* session,
113 int64 sequence_number) OVERRIDE; 114 int64 sequence_number) OVERRIDE;
114 virtual void OnSessionRouteChange( 115 virtual void OnSessionRouteChange(
115 ClientSession* session, 116 ClientSession* session,
116 const std::string& channel_name, 117 const std::string& channel_name,
117 const protocol::TransportRoute& route) OVERRIDE; 118 const protocol::TransportRoute& route) OVERRIDE;
119 virtual void OnClientDimensionsChanged(ClientSession* session,
120 const SkISize& size) OVERRIDE;
118 121
119 // SessionManager::Listener implementation. 122 // SessionManager::Listener implementation.
120 virtual void OnSessionManagerReady() OVERRIDE; 123 virtual void OnSessionManagerReady() OVERRIDE;
121 virtual void OnIncomingSession( 124 virtual void OnIncomingSession(
122 protocol::Session* session, 125 protocol::Session* session,
123 protocol::SessionManager::IncomingSessionResponse* response) OVERRIDE; 126 protocol::SessionManager::IncomingSessionResponse* response) OVERRIDE;
124 127
125 // MouseMoveObserver interface. 128 // MouseMoveObserver interface.
126 virtual void OnLocalMouseMoved(const SkIPoint& new_pos) OVERRIDE; 129 virtual void OnLocalMouseMoved(const SkIPoint& new_pos) OVERRIDE;
127 130
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 212
210 // The maximum duration of any session. 213 // The maximum duration of any session.
211 base::TimeDelta max_session_duration_; 214 base::TimeDelta max_session_duration_;
212 215
213 DISALLOW_COPY_AND_ASSIGN(ChromotingHost); 216 DISALLOW_COPY_AND_ASSIGN(ChromotingHost);
214 }; 217 };
215 218
216 } // namespace remoting 219 } // namespace remoting
217 220
218 #endif // REMOTING_HOST_CHROMOTING_HOST_H_ 221 #endif // REMOTING_HOST_CHROMOTING_HOST_H_
OLDNEW
« no previous file with comments | « no previous file | remoting/host/chromoting_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698