Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(361)

Side by Side Diff: components/arc/clipboard/clipboard_bridge.h

Issue 1495723004: Minimum implementation of ARC clipboard Bridge (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix the fakes Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2015 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 #ifndef COMPONENTS_ARC_CLIPBOARD_CLIPBOARD_BRIDGE_H_
6 #define COMPONENTS_ARC_CLIPBOARD_CLIPBOARD_BRIDGE_H_
7
8 #include "base/macros.h"
9 #include "components/arc/arc_bridge_service.h"
10
11 namespace arc {
12
13 class ArcBridgeService;
14
15 // The ClipboardBridge is responsible for sending clipboard content changes
16 // from Android to Chrome and vice versa.
17 class ClipboardBridge {
18 public:
19 virtual ~ClipboardBridge() {}
20
21 // Creates a new instance of ClipboardBridge. It will register an
22 // ClipboardObserver with the ArcBridgeService.
23 static scoped_ptr<ClipboardBridge> Create(
24 ArcBridgeService* arc_bridge_service);
25
26 protected:
27 ClipboardBridge() {}
28
29 private:
30 DISALLOW_COPY_AND_ASSIGN(ClipboardBridge);
31 };
32
33 } // namespace arc
34 #endif // COMPONENTS_ARC_CLIPBOARD_CLIPBOARD_BRIDGE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698