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

Unified 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: Add missing HostMockStub method. Created 8 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/protocol/host_control_dispatcher.cc ('k') | remoting/protocol/protocol_mock_objects.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/host_stub.h
diff --git a/remoting/protocol/host_stub.h b/remoting/protocol/host_stub.h
index a52429a6fad21506f0a723bbcc05e619bbbabd7e..03c657c76d133ff920cc5f0e8ef9175f7305f8b3 100644
--- a/remoting/protocol/host_stub.h
+++ b/remoting/protocol/host_stub.h
@@ -14,13 +14,16 @@
namespace remoting {
namespace protocol {
+class ClientDimensions;
+
class HostStub {
public:
HostStub() {}
virtual ~HostStub() {}
- // Currently we don't use the control channel for anything. Add new
- // message handlers here when necessary.
+ // Notification of the available client display dimensions.
+ // This may be used to resize the host display to match the client area.
+ virtual void NotifyClientDimensions(const ClientDimensions& dimensions) = 0;
private:
DISALLOW_COPY_AND_ASSIGN(HostStub);
« no previous file with comments | « remoting/protocol/host_control_dispatcher.cc ('k') | remoting/protocol/protocol_mock_objects.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698