Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 // Interface for an object that receives clipboard events. | |
| 6 // This interface handles some event messages defined in event.proto. | |
| 7 | |
| 8 #ifndef REMOTING_PROTOCOL_CLIPBOARD_STUB_H_ | |
| 9 #define REMOTING_PROTOCOL_CLIPBOARD_STUB_H_ | |
| 10 | |
| 11 #include "base/basictypes.h" | |
| 12 | |
| 13 namespace remoting { | |
| 14 namespace protocol { | |
| 15 | |
| 16 class ClipboardEvent; | |
| 17 | |
| 18 class ClipboardStub { | |
|
Sergey Ulanov
2012/03/09 00:23:41
Do we need separate stub for it? Can it be part of
simonmorris
2012/03/09 00:34:14
We'll need to send clipboards from host to client
Wez
2012/03/09 00:44:07
Yes. Plus, we don't really want the clipboard dat
| |
| 19 public: | |
| 20 ClipboardStub() {} | |
| 21 virtual ~ClipboardStub() {} | |
| 22 | |
| 23 virtual void InjectClipboardEvent(const ClipboardEvent& event) = 0; | |
|
Sergey Ulanov
2012/03/09 00:23:41
It's not clear whether this goes from the client t
simonmorris
2012/03/09 00:34:14
It can go in either direction (but not in this CL)
| |
| 24 | |
| 25 private: | |
| 26 DISALLOW_COPY_AND_ASSIGN(ClipboardStub); | |
| 27 }; | |
| 28 | |
| 29 } // namespace protocol | |
| 30 } // namespace remoting | |
| 31 | |
| 32 #endif // REMOTING_PROTOCOL_CLIPBOARD_STUB_H_ | |
| OLD | NEW |