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

Side by Side Diff: ui/gfx/x/x11_types.h

Issue 23460052: Move XID, XDisplay, GetXDisplay and a few other types to ui/gfx/x/x11_types.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 3 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
(Empty)
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef UI_GFX_X_X11_UTIL_H_
6 #define UI_GFX_X_X11_UTIL_H_
7
8 #include "ui/gfx/gfx_export.h"
9
10 typedef unsigned long XID;
11 typedef struct _XImage XImage;
12 typedef struct _XGC *GC;
13 typedef struct _XDisplay XDisplay;
14
15 namespace gfx {
16
17 // TODO(oshima|evan): This assume there is one display and doesn't work
18 // undef multiple displays/monitor environment. Remove this and change the
19 // chrome codebase to get the display from window.
20 GFX_EXPORT XDisplay* GetXDisplay();
21
22 } // namespace gfx
23
24 #endif // UI_GFX_X_X11_UTIL_H_
25
OLDNEW
« ui/base/x/x11_util.h ('K') | « ui/base/x/x11_util.cc ('k') | ui/gfx/x/x11_types.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698