blob: e15f44aff1b5566d6d33902b95b0ce4bdaba2421 [file] [log] [blame]
[email protected]e265ad72012-03-16 17:28:031// 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
13namespace remoting {
14namespace protocol {
15
16class ClipboardEvent;
17
18class ClipboardStub {
19 public:
20 ClipboardStub() {}
21 virtual ~ClipboardStub() {}
22
[email protected]da09778b2013-02-27 10:06:1123 // Implementations must not assume the presence of |event|'s fields, nor that
24 // |event.data| is correctly encoded according to the specified MIME-type.
[email protected]e265ad72012-03-16 17:28:0325 virtual void InjectClipboardEvent(const ClipboardEvent& event) = 0;
26
27 private:
28 DISALLOW_COPY_AND_ASSIGN(ClipboardStub);
29};
30
31} // namespace protocol
32} // namespace remoting
33
34#endif // REMOTING_PROTOCOL_CLIPBOARD_STUB_H_