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

Side by Side Diff: services/ui/clipboard/clipboard_impl.h

Issue 2119963002: Move mus to //services/ui (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 5 months 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
« no previous file with comments | « services/ui/clipboard/BUILD.gn ('k') | services/ui/clipboard/clipboard_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COMPONENTS_MUS_CLIPBOARD_CLIPBOARD_IMPL_H_ 5 #ifndef SERVICES_UI_CLIPBOARD_CLIPBOARD_IMPL_H_
6 #define COMPONENTS_MUS_CLIPBOARD_CLIPBOARD_IMPL_H_ 6 #define SERVICES_UI_CLIPBOARD_CLIPBOARD_IMPL_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
11 11
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "components/mus/public/interfaces/clipboard.mojom.h"
14 #include "mojo/public/cpp/bindings/binding_set.h" 13 #include "mojo/public/cpp/bindings/binding_set.h"
14 #include "services/ui/public/interfaces/clipboard.mojom.h"
15 15
16 namespace mus { 16 namespace mus {
17 namespace clipboard { 17 namespace clipboard {
18 18
19 // Stub clipboard implementation. 19 // Stub clipboard implementation.
20 // 20 //
21 // Eventually, we'll actually want to interact with the system clipboard, but 21 // Eventually, we'll actually want to interact with the system clipboard, but
22 // that's hard today because the system clipboard is asynchronous (on X11), the 22 // that's hard today because the system clipboard is asynchronous (on X11), the
23 // ui::Clipboard interface is synchronous (which is what we'd use), mojo is 23 // ui::Clipboard interface is synchronous (which is what we'd use), mojo is
24 // asynchronous across processes, and the WebClipboard interface is synchronous 24 // asynchronous across processes, and the WebClipboard interface is synchronous
(...skipping 30 matching lines...) Expand all
55 // The current clipboard state. This is what is read from. 55 // The current clipboard state. This is what is read from.
56 std::unique_ptr<ClipboardData> clipboard_state_[kNumClipboards]; 56 std::unique_ptr<ClipboardData> clipboard_state_[kNumClipboards];
57 mojo::BindingSet<mojom::Clipboard> bindings_; 57 mojo::BindingSet<mojom::Clipboard> bindings_;
58 58
59 DISALLOW_COPY_AND_ASSIGN(ClipboardImpl); 59 DISALLOW_COPY_AND_ASSIGN(ClipboardImpl);
60 }; 60 };
61 61
62 } // namespace clipboard 62 } // namespace clipboard
63 } // namespace mus 63 } // namespace mus
64 64
65 #endif // COMPONENTS_MUS_CLIPBOARD_CLIPBOARD_IMPL_H_ 65 #endif // SERVICES_UI_CLIPBOARD_CLIPBOARD_IMPL_H_
OLDNEW
« no previous file with comments | « services/ui/clipboard/BUILD.gn ('k') | services/ui/clipboard/clipboard_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698