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

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

Issue 10223019: Add ClientDimensions message to control channel. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add missing HostMockStub method. Created 8 years, 7 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/client_session.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_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
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
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_
OLDNEW
« no previous file with comments | « no previous file | remoting/host/client_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698