| Index: remoting/protocol/client_event_dispatcher.h
|
| diff --git a/remoting/protocol/client_event_dispatcher.h b/remoting/protocol/client_event_dispatcher.h
|
| index 0b694014f7535ef3f256bbcd129ea85b7127392f..96339cd4e0b255b7ee304da60e13096e319d1db4 100644
|
| --- a/remoting/protocol/client_event_dispatcher.h
|
| +++ b/remoting/protocol/client_event_dispatcher.h
|
| @@ -7,6 +7,7 @@
|
|
|
| #include "base/memory/ref_counted.h"
|
| #include "remoting/protocol/channel_dispatcher_base.h"
|
| +#include "remoting/protocol/clipboard_stub.h"
|
| #include "remoting/protocol/input_stub.h"
|
|
|
| namespace remoting {
|
| @@ -15,12 +16,18 @@ namespace protocol {
|
| class BufferedSocketWriter;
|
|
|
| // ClientEventDispatcher manages the event channel on the client
|
| -// side. It implements InputStub for outgoing input messages.
|
| -class ClientEventDispatcher : public ChannelDispatcherBase, public InputStub {
|
| +// side. It implements InputStub and ClipboardStub for outgoing input and
|
| +// clipboard messages.
|
| +class ClientEventDispatcher : public ChannelDispatcherBase,
|
| + public ClipboardStub,
|
| + public InputStub {
|
| public:
|
| ClientEventDispatcher();
|
| virtual ~ClientEventDispatcher();
|
|
|
| + // ClipboardStub implementation.
|
| + virtual void InjectClipboardEvent(const ClipboardEvent& event) OVERRIDE;
|
| +
|
| // InputStub implementation.
|
| virtual void InjectKeyEvent(const KeyEvent& event) OVERRIDE;
|
| virtual void InjectMouseEvent(const MouseEvent& event) OVERRIDE;
|
|
|