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

Side by Side Diff: remoting/protocol/host_stub.h

Issue 10223019: Add ClientDimensions message to control channel. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 | « remoting/protocol/host_control_dispatcher.cc ('k') | no next file » | 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 // Interface of a host that receives commands from a Chromoting client. 5 // Interface of a host that receives commands from a Chromoting client.
6 // 6 //
7 // This interface handles control messages defined in control.proto. 7 // This interface handles control messages defined in control.proto.
8 8
9 #ifndef REMOTING_PROTOCOL_HOST_STUB_H_ 9 #ifndef REMOTING_PROTOCOL_HOST_STUB_H_
10 #define REMOTING_PROTOCOL_HOST_STUB_H_ 10 #define REMOTING_PROTOCOL_HOST_STUB_H_
11 11
12 #include "base/basictypes.h" 12 #include "base/basictypes.h"
13 13
14 namespace remoting { 14 namespace remoting {
15 namespace protocol { 15 namespace protocol {
16 16
17 class ClientDimensions;
18
17 class HostStub { 19 class HostStub {
18 public: 20 public:
19 HostStub() {} 21 HostStub() {}
20 virtual ~HostStub() {} 22 virtual ~HostStub() {}
21 23
22 // Currently we don't use the control channel for anything. Add new 24 // Notification of the available client display dimensions.
23 // message handlers here when necessary. 25 // This may be used to resize the host display to match the client area.
26 virtual void SetClientDimensions(const ClientDimensions& dimensions) = 0;
Sergey Ulanov 2012/04/26 01:36:36 Since host is not required to respond to this mess
Wez 2012/04/26 17:32:11 SetClientDimensions was shorter ;) but you're righ
Wez 2012/04/26 17:32:11 Done.
24 27
25 private: 28 private:
26 DISALLOW_COPY_AND_ASSIGN(HostStub); 29 DISALLOW_COPY_AND_ASSIGN(HostStub);
27 }; 30 };
28 31
29 } // namespace protocol 32 } // namespace protocol
30 } // namespace remoting 33 } // namespace remoting
31 34
32 #endif // REMOTING_PROTOCOL_HOST_STUB_H_ 35 #endif // REMOTING_PROTOCOL_HOST_STUB_H_
OLDNEW
« no previous file with comments | « remoting/protocol/host_control_dispatcher.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698