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

Side by Side Diff: webrtc/base/window.h

Issue 2609783002: Reland of place basictypes.h with stdint.h for int_t types. (Closed)
Patch Set: add basictypes.h to systeminfo.cc Created 3 years, 11 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 | « webrtc/base/timeutils.h ('k') | webrtc/call/flexfec_receive_stream.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2004 The WebRTC Project Authors. All rights reserved. 2 * Copyright 2004 The WebRTC Project Authors. All rights reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
11 #ifndef WEBRTC_BASE_WINDOW_H_ 11 #ifndef WEBRTC_BASE_WINDOW_H_
12 #define WEBRTC_BASE_WINDOW_H_ 12 #define WEBRTC_BASE_WINDOW_H_
13 13
14 #include "webrtc/base/basictypes.h" 14 #include <stdint.h>
15
15 #include "webrtc/base/stringencode.h" 16 #include "webrtc/base/stringencode.h"
16 17
17 // Define platform specific window types. 18 // Define platform specific window types.
18 #if defined(WEBRTC_LINUX) && !defined(WEBRTC_ANDROID) 19 #if defined(WEBRTC_LINUX) && !defined(WEBRTC_ANDROID)
19 typedef unsigned long Window; // Avoid include <X11/Xlib.h>. 20 typedef unsigned long Window; // Avoid include <X11/Xlib.h>.
20 #elif defined(WEBRTC_WIN) 21 #elif defined(WEBRTC_WIN)
21 // We commonly include win32.h in webrtc/base so just include it here. 22 // We commonly include win32.h in webrtc/base so just include it here.
22 #include "webrtc/base/win32.h" // Include HWND, HMONITOR. 23 #include "webrtc/base/win32.h" // Include HWND, HMONITOR.
23 #elif defined(WEBRTC_MAC) && !defined(WEBRTC_IOS) 24 #elif defined(WEBRTC_MAC) && !defined(WEBRTC_IOS)
24 typedef unsigned int CGWindowID; 25 typedef unsigned int CGWindowID;
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 WE_RESTORE = 3, 117 WE_RESTORE = 3,
117 }; 118 };
118 119
119 inline std::string ToString(const WindowId& window) { 120 inline std::string ToString(const WindowId& window) {
120 return ToString(window.id()); 121 return ToString(window.id());
121 } 122 }
122 123
123 } // namespace rtc 124 } // namespace rtc
124 125
125 #endif // WEBRTC_BASE_WINDOW_H_ 126 #endif // WEBRTC_BASE_WINDOW_H_
OLDNEW
« no previous file with comments | « webrtc/base/timeutils.h ('k') | webrtc/call/flexfec_receive_stream.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698