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

Side by Side Diff: remoting/host/linux/x_server_clipboard.h

Issue 1547473005: Switch to standard integer types in remoting/host/. (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
« no previous file with comments | « remoting/host/linux/x11_util.h ('k') | remoting/host/linux/x_server_clipboard.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // Don't include this file from any .h files because it pulls in some X headers. 5 // Don't include this file from any .h files because it pulls in some X headers.
6 6
7 #ifndef REMOTING_HOST_LINUX_X_SERVER_CLIPBOARD_H_ 7 #ifndef REMOTING_HOST_LINUX_X_SERVER_CLIPBOARD_H_
8 #define REMOTING_HOST_LINUX_X_SERVER_CLIPBOARD_H_ 8 #define REMOTING_HOST_LINUX_X_SERVER_CLIPBOARD_H_
9 9
10 #include <X11/Xatom.h> 10 #include <X11/Xatom.h>
11 #include <X11/Xlib.h> 11 #include <X11/Xlib.h>
12 12
13 #include <set> 13 #include <set>
14 #include <string> 14 #include <string>
15 15
16 #include "base/basictypes.h"
17 #include "base/callback.h" 16 #include "base/callback.h"
17 #include "base/macros.h"
18 #include "base/time/time.h" 18 #include "base/time/time.h"
19 19
20 namespace remoting { 20 namespace remoting {
21 21
22 // A class to allow manipulation of the X clipboard, using only X API calls. 22 // A class to allow manipulation of the X clipboard, using only X API calls.
23 // This class is not thread-safe, so all its methods must be called on the 23 // This class is not thread-safe, so all its methods must be called on the
24 // application's main event-processing thread. 24 // application's main event-processing thread.
25 class XServerClipboard { 25 class XServerClipboard {
26 public: 26 public:
27 // Called when new clipboard data has been received from the owner of the X 27 // Called when new clipboard data has been received from the owner of the X
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 140
141 // |callback| argument supplied to Init(). 141 // |callback| argument supplied to Init().
142 ClipboardChangedCallback callback_; 142 ClipboardChangedCallback callback_;
143 143
144 DISALLOW_COPY_AND_ASSIGN(XServerClipboard); 144 DISALLOW_COPY_AND_ASSIGN(XServerClipboard);
145 }; 145 };
146 146
147 } // namespace remoting 147 } // namespace remoting
148 148
149 #endif // REMOTING_HOST_LINUX_X_SERVER_CLIPBOARD_H_ 149 #endif // REMOTING_HOST_LINUX_X_SERVER_CLIPBOARD_H_
OLDNEW
« no previous file with comments | « remoting/host/linux/x11_util.h ('k') | remoting/host/linux/x_server_clipboard.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698