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

Side by Side Diff: remoting/protocol/host_control_dispatcher.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 #ifndef REMOTING_PROTOCOL_HOST_CONTROL_DISPATCHER_H_ 5 #ifndef REMOTING_PROTOCOL_HOST_CONTROL_DISPATCHER_H_
6 #define REMOTING_PROTOCOL_HOST_CONTROL_DISPATCHER_H_ 6 #define REMOTING_PROTOCOL_HOST_CONTROL_DISPATCHER_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "remoting/protocol/channel_dispatcher_base.h" 9 #include "remoting/protocol/channel_dispatcher_base.h"
10 #include "remoting/protocol/client_stub.h" 10 #include "remoting/protocol/client_stub.h"
(...skipping 17 matching lines...) Expand all
28 class HostControlDispatcher : public ChannelDispatcherBase, 28 class HostControlDispatcher : public ChannelDispatcherBase,
29 public ClientStub { 29 public ClientStub {
30 public: 30 public:
31 HostControlDispatcher(); 31 HostControlDispatcher();
32 ~HostControlDispatcher() override; 32 ~HostControlDispatcher() override;
33 33
34 // ClientStub implementation. 34 // ClientStub implementation.
35 void SetCapabilities(const Capabilities& capabilities) override; 35 void SetCapabilities(const Capabilities& capabilities) override;
36 void SetPairingResponse(const PairingResponse& pairing_response) override; 36 void SetPairingResponse(const PairingResponse& pairing_response) override;
37 void DeliverHostMessage(const ExtensionMessage& message) override; 37 void DeliverHostMessage(const ExtensionMessage& message) override;
38 void SetVideoLayout(const VideoLayout& layout) override;
38 39
39 // ClipboardStub implementation for sending clipboard data to client. 40 // ClipboardStub implementation for sending clipboard data to client.
40 void InjectClipboardEvent(const ClipboardEvent& event) override; 41 void InjectClipboardEvent(const ClipboardEvent& event) override;
41 42
42 // CursorShapeStub implementation for sending cursor shape to client. 43 // CursorShapeStub implementation for sending cursor shape to client.
43 void SetCursorShape(const CursorShapeInfo& cursor_shape) override; 44 void SetCursorShape(const CursorShapeInfo& cursor_shape) override;
44 45
45 // Sets the ClipboardStub that will be called for each incoming clipboard 46 // Sets the ClipboardStub that will be called for each incoming clipboard
46 // message. |clipboard_stub| must outlive this object. 47 // message. |clipboard_stub| must outlive this object.
47 void set_clipboard_stub(ClipboardStub* clipboard_stub) { 48 void set_clipboard_stub(ClipboardStub* clipboard_stub) {
(...skipping 10 matching lines...) Expand all
58 ClipboardStub* clipboard_stub_ = nullptr; 59 ClipboardStub* clipboard_stub_ = nullptr;
59 HostStub* host_stub_ = nullptr; 60 HostStub* host_stub_ = nullptr;
60 61
61 DISALLOW_COPY_AND_ASSIGN(HostControlDispatcher); 62 DISALLOW_COPY_AND_ASSIGN(HostControlDispatcher);
62 }; 63 };
63 64
64 } // namespace protocol 65 } // namespace protocol
65 } // namespace remoting 66 } // namespace remoting
66 67
67 #endif // REMOTING_PROTOCOL_HOST_CONTROL_DISPATCHER_H_ 68 #endif // REMOTING_PROTOCOL_HOST_CONTROL_DISPATCHER_H_
OLDNEW
« no previous file with comments | « remoting/protocol/client_video_dispatcher_unittest.cc ('k') | remoting/protocol/host_control_dispatcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698