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

Side by Side Diff: services/clipboard/clipboard_standalone_impl.h

Issue 1388413005: Move //mojo/services/X/public/... to //mojo/services/X/... (part 1). (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 2 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/clipboard/clipboard_apptest.cc ('k') | services/contacts/BUILD.gn » ('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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 SERVICES_CLIPBOARD_CLIPBOARD_STANDALONE_IMPL_H_ 5 #ifndef SERVICES_CLIPBOARD_CLIPBOARD_STANDALONE_IMPL_H_
6 #define SERVICES_CLIPBOARD_CLIPBOARD_STANDALONE_IMPL_H_ 6 #define SERVICES_CLIPBOARD_CLIPBOARD_STANDALONE_IMPL_H_
7 7
8 #include <base/memory/scoped_ptr.h> 8 #include <base/memory/scoped_ptr.h>
9 #include <string> 9 #include <string>
10 10
11 #include "mojo/public/cpp/bindings/strong_binding.h" 11 #include "mojo/public/cpp/bindings/strong_binding.h"
12 #include "mojo/services/clipboard/public/interfaces/clipboard.mojom.h" 12 #include "mojo/services/clipboard/interfaces/clipboard.mojom.h"
13 13
14 namespace clipboard { 14 namespace clipboard {
15 15
16 // Stub clipboard implementation. 16 // Stub clipboard implementation.
17 // 17 //
18 // Eventually, we'll actually want to interact with the system clipboard, but 18 // Eventually, we'll actually want to interact with the system clipboard, but
19 // that's hard today because the system clipboard is asynchronous (on X11), the 19 // that's hard today because the system clipboard is asynchronous (on X11), the
20 // ui::Clipboard interface is synchronous (which is what we'd use), mojo is 20 // ui::Clipboard interface is synchronous (which is what we'd use), mojo is
21 // asynchronous across processes, and the WebClipboard interface is synchronous 21 // asynchronous across processes, and the WebClipboard interface is synchronous
22 // (which is at least tractable). 22 // (which is at least tractable).
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 // The current clipboard state. This is what is read from. 56 // The current clipboard state. This is what is read from.
57 scoped_ptr<ClipboardData> clipboard_state_[kNumClipboards]; 57 scoped_ptr<ClipboardData> clipboard_state_[kNumClipboards];
58 mojo::StrongBinding<mojo::Clipboard> binding_; 58 mojo::StrongBinding<mojo::Clipboard> binding_;
59 59
60 DISALLOW_COPY_AND_ASSIGN(ClipboardStandaloneImpl); 60 DISALLOW_COPY_AND_ASSIGN(ClipboardStandaloneImpl);
61 }; 61 };
62 62
63 } // namespace clipboard 63 } // namespace clipboard
64 64
65 #endif // SERVICES_CLIPBOARD_CLIPBOARD_STANDALONE_IMPL_H_ 65 #endif // SERVICES_CLIPBOARD_CLIPBOARD_STANDALONE_IMPL_H_
OLDNEW
« no previous file with comments | « services/clipboard/clipboard_apptest.cc ('k') | services/contacts/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698