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

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

Issue 1844143002: Add VideoLayout message. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 unified diff | Download patch
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 // Interface of a client that receives commands from a Chromoting host. 5 // Interface of a client that receives commands from a Chromoting host.
6 // 6 //
7 // This interface is responsible for a subset of control messages sent to 7 // This interface is responsible for a subset of control messages sent to
8 // the Chromoting client. 8 // the Chromoting client.
9 9
10 #ifndef REMOTING_PROTOCOL_CLIENT_STUB_H_ 10 #ifndef REMOTING_PROTOCOL_CLIENT_STUB_H_
11 #define REMOTING_PROTOCOL_CLIENT_STUB_H_ 11 #define REMOTING_PROTOCOL_CLIENT_STUB_H_
12 12
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "remoting/protocol/clipboard_stub.h" 14 #include "remoting/protocol/clipboard_stub.h"
15 #include "remoting/protocol/cursor_shape_stub.h" 15 #include "remoting/protocol/cursor_shape_stub.h"
16 16
17 namespace remoting { 17 namespace remoting {
18 namespace protocol { 18 namespace protocol {
19 19
20 class Capabilities; 20 class Capabilities;
21 class ExtensionMessage; 21 class ExtensionMessage;
22 class PairingResponse; 22 class PairingResponse;
23 class VideoLayout;
23 24
24 class ClientStub : public ClipboardStub, 25 class ClientStub : public ClipboardStub,
25 public CursorShapeStub { 26 public CursorShapeStub {
26 public: 27 public:
27 ClientStub() {} 28 ClientStub() {}
28 ~ClientStub() override {} 29 ~ClientStub() override {}
29 30
30 // Passes the set of capabilities supported by the host to the client. 31 // Passes the set of capabilities supported by the host to the client.
31 virtual void SetCapabilities(const Capabilities& capabilities) = 0; 32 virtual void SetCapabilities(const Capabilities& capabilities) = 0;
32 33
33 // Passes a pairing response message to the client. 34 // Passes a pairing response message to the client.
34 virtual void SetPairingResponse(const PairingResponse& pairing_response) = 0; 35 virtual void SetPairingResponse(const PairingResponse& pairing_response) = 0;
35 36
36 // Deliver an extension message from the host to the client. 37 // Deliver an extension message from the host to the client.
37 virtual void DeliverHostMessage(const ExtensionMessage& message) = 0; 38 virtual void DeliverHostMessage(const ExtensionMessage& message) = 0;
38 39
40 // Sets video layout.
41 virtual void SetVideoLayout(const VideoLayout& video_layout) = 0;
42
39 private: 43 private:
40 DISALLOW_COPY_AND_ASSIGN(ClientStub); 44 DISALLOW_COPY_AND_ASSIGN(ClientStub);
41 }; 45 };
42 46
43 } // namespace protocol 47 } // namespace protocol
44 } // namespace remoting 48 } // namespace remoting
45 49
46 #endif // REMOTING_PROTOCOL_CLIENT_STUB_H_ 50 #endif // REMOTING_PROTOCOL_CLIENT_STUB_H_
OLDNEW
« no previous file with comments | « remoting/protocol/client_control_dispatcher.cc ('k') | remoting/protocol/client_video_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698