| 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 // 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/macros.h" | 12 #include "base/macros.h" |
| 13 | 13 |
| 14 namespace remoting { | 14 namespace remoting { |
| 15 namespace protocol { | 15 namespace protocol { |
| 16 | 16 |
| 17 class AudioControl; | 17 class AudioControl; |
| 18 class Capabilities; | 18 class Capabilities; |
| 19 class ClientResolution; | 19 class ClientResolution; |
| 20 class ExtensionMessage; | 20 class ExtensionMessage; |
| 21 class PairingResponse; | |
| 22 class PairingRequest; | 21 class PairingRequest; |
| 23 class VideoControl; | 22 class VideoControl; |
| 24 | 23 |
| 25 class HostStub { | 24 class HostStub { |
| 26 public: | 25 public: |
| 27 HostStub() {} | 26 HostStub() {} |
| 28 | 27 |
| 29 // Notification of the client dimensions and pixel density. | 28 // Notification of the client dimensions and pixel density. |
| 30 // This may be used to resize the host display to match the client area. | 29 // This may be used to resize the host display to match the client area. |
| 31 virtual void NotifyClientResolution(const ClientResolution& resolution) = 0; | 30 virtual void NotifyClientResolution(const ClientResolution& resolution) = 0; |
| (...skipping 19 matching lines...) Expand all Loading... |
| 51 virtual ~HostStub() {} | 50 virtual ~HostStub() {} |
| 52 | 51 |
| 53 private: | 52 private: |
| 54 DISALLOW_COPY_AND_ASSIGN(HostStub); | 53 DISALLOW_COPY_AND_ASSIGN(HostStub); |
| 55 }; | 54 }; |
| 56 | 55 |
| 57 } // namespace protocol | 56 } // namespace protocol |
| 58 } // namespace remoting | 57 } // namespace remoting |
| 59 | 58 |
| 60 #endif // REMOTING_PROTOCOL_HOST_STUB_H_ | 59 #endif // REMOTING_PROTOCOL_HOST_STUB_H_ |
| OLD | NEW |