| Index: components/arc/clipboard/clipboard_bridge.h
|
| diff --git a/components/arc/clipboard/clipboard_bridge.h b/components/arc/clipboard/clipboard_bridge.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..f92a11e0679fb6168735155ccae76e566eff6898
|
| --- /dev/null
|
| +++ b/components/arc/clipboard/clipboard_bridge.h
|
| @@ -0,0 +1,34 @@
|
| +// Copyright 2015 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef COMPONENTS_ARC_CLIPBOARD_CLIPBOARD_BRIDGE_H_
|
| +#define COMPONENTS_ARC_CLIPBOARD_CLIPBOARD_BRIDGE_H_
|
| +
|
| +#include "base/macros.h"
|
| +#include "components/arc/arc_bridge_service.h"
|
| +
|
| +namespace arc {
|
| +
|
| +class ArcBridgeService;
|
| +
|
| +// The ClipboardBridge is responsible for sending clipboard content changes
|
| +// from Android to Chrome and vice versa.
|
| +class ClipboardBridge {
|
| + public:
|
| + virtual ~ClipboardBridge() {}
|
| +
|
| + // Creates a new instance of ClipboardBridge. It will register an
|
| + // ClipboardObserver with the ArcBridgeService.
|
| + static scoped_ptr<ClipboardBridge> Create(
|
| + ArcBridgeService* arc_bridge_service);
|
| +
|
| + protected:
|
| + ClipboardBridge() {}
|
| +
|
| + private:
|
| + DISALLOW_COPY_AND_ASSIGN(ClipboardBridge);
|
| +};
|
| +
|
| +} // namespace arc
|
| +#endif // COMPONENTS_ARC_CLIPBOARD_CLIPBOARD_BRIDGE_H_
|
|
|