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

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

Issue 1546143002: Switch to standard integer types in components/, part 1 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
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 COMPONENTS_CLIPBOARD_CLIPBOARD_STANDALONE_IMPL_H_ 5 #ifndef COMPONENTS_CLIPBOARD_CLIPBOARD_STANDALONE_IMPL_H_
6 #define COMPONENTS_CLIPBOARD_CLIPBOARD_STANDALONE_IMPL_H_ 6 #define COMPONENTS_CLIPBOARD_CLIPBOARD_STANDALONE_IMPL_H_
7 7
8 #include <base/memory/scoped_ptr.h> 8 #include <stdint.h>
9
9 #include <string> 10 #include <string>
10 11
12 #include "base/macros.h"
13 #include "base/memory/scoped_ptr.h"
11 #include "components/clipboard/public/interfaces/clipboard.mojom.h" 14 #include "components/clipboard/public/interfaces/clipboard.mojom.h"
12 #include "mojo/public/cpp/bindings/strong_binding.h" 15 #include "mojo/public/cpp/bindings/strong_binding.h"
13 16
14 namespace clipboard { 17 namespace clipboard {
15 18
16 // Stub clipboard implementation. 19 // Stub clipboard implementation.
17 // 20 //
18 // 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
19 // 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
20 // 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
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 // The current clipboard state. This is what is read from. 56 // The current clipboard state. This is what is read from.
54 scoped_ptr<ClipboardData> clipboard_state_[kNumClipboards]; 57 scoped_ptr<ClipboardData> clipboard_state_[kNumClipboards];
55 mojo::StrongBinding<mojo::Clipboard> binding_; 58 mojo::StrongBinding<mojo::Clipboard> binding_;
56 59
57 DISALLOW_COPY_AND_ASSIGN(ClipboardStandaloneImpl); 60 DISALLOW_COPY_AND_ASSIGN(ClipboardStandaloneImpl);
58 }; 61 };
59 62
60 } // namespace clipboard 63 } // namespace clipboard
61 64
62 #endif // COMPONENTS_CLIPBOARD_CLIPBOARD_STANDALONE_IMPL_H_ 65 #endif // COMPONENTS_CLIPBOARD_CLIPBOARD_STANDALONE_IMPL_H_
OLDNEW
« no previous file with comments | « components/clipboard/clipboard_apptest.cc ('k') | components/clipboard/clipboard_standalone_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698