| Index: remoting/host/clipboard.h
|
| diff --git a/remoting/host/clipboard.h b/remoting/host/clipboard.h
|
| index c21a8ba1bb797056fb891ab299ff33097fa0acb1..e02c09d2a64831e47a8230911b2d9f9ca2ebbbe8 100644
|
| --- a/remoting/host/clipboard.h
|
| +++ b/remoting/host/clipboard.h
|
| @@ -15,20 +15,19 @@ namespace protocol {
|
| class ClipboardEvent;
|
| } // namespace protocol
|
|
|
| +// All Clipboard methods should be run on the UI thread, so that the Clipboard
|
| +// can get change notifications.
|
| class Clipboard {
|
| public:
|
| virtual ~Clipboard() {};
|
|
|
| // Initialises any objects needed to read from or write to the clipboard.
|
| - // This method must be called on the desktop thread.
|
| virtual void Start() = 0;
|
|
|
| // Destroys any objects initialised by Start().
|
| - // This method must be called on the desktop thread.
|
| virtual void Stop() = 0;
|
|
|
| - // Writes an item to the clipboard.
|
| - // This method must be called on the desktop thread, after Start().
|
| + // Writes an item to the clipboard. It must be called after Start().
|
| virtual void InjectClipboardEvent(const protocol::ClipboardEvent& event) = 0;
|
|
|
| static scoped_ptr<Clipboard> Create();
|
|
|