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

Side by Side Diff: ui/base/x/x11_util.h

Issue 12340015: [CLOSED] Big patch. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « ui/aura/window.cc ('k') | ui/compositor/compositor.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 #ifndef UI_BASE_X_X11_UTIL_H_ 5 #ifndef UI_BASE_X_X11_UTIL_H_
6 #define UI_BASE_X_X11_UTIL_H_ 6 #define UI_BASE_X_X11_UTIL_H_
7 7
8 // This file declares utility functions for X11 (Linux only). 8 // This file declares utility functions for X11 (Linux only).
9 // 9 //
10 // These functions do not require the Xlib headers to be included (which is why 10 // These functions do not require the Xlib headers to be included (which is why
(...skipping 10 matching lines...) Expand all
21 #include "ui/base/ui_export.h" 21 #include "ui/base/ui_export.h"
22 #include "ui/gfx/point.h" 22 #include "ui/gfx/point.h"
23 23
24 typedef unsigned long Atom; 24 typedef unsigned long Atom;
25 typedef unsigned long XID; 25 typedef unsigned long XID;
26 typedef unsigned long XSharedMemoryId; // ShmSeg in the X headers. 26 typedef unsigned long XSharedMemoryId; // ShmSeg in the X headers.
27 typedef struct _XDisplay Display; 27 typedef struct _XDisplay Display;
28 typedef unsigned long Cursor; 28 typedef unsigned long Cursor;
29 typedef struct _XcursorImage XcursorImage; 29 typedef struct _XcursorImage XcursorImage;
30 typedef struct _XImage XImage; 30 typedef struct _XImage XImage;
31 typedef struct _XGC *GC;
31 32
32 #if defined(TOOLKIT_GTK) 33 #if defined(TOOLKIT_GTK)
33 typedef struct _GdkDrawable GdkWindow; 34 typedef struct _GdkDrawable GdkWindow;
34 typedef struct _GtkWidget GtkWidget; 35 typedef struct _GtkWidget GtkWidget;
35 typedef struct _GtkWindow GtkWindow; 36 typedef struct _GtkWindow GtkWindow;
36 #endif 37 #endif
37 38
38 namespace gfx { 39 namespace gfx {
39 class Rect; 40 class Rect;
40 } 41 }
(...skipping 359 matching lines...) Expand 10 before | Expand all | Expand 10 after
400 private: 401 private:
401 ::Cursor cursor_; 402 ::Cursor cursor_;
402 Display* display_; 403 Display* display_;
403 404
404 DISALLOW_COPY_AND_ASSIGN(XScopedCursor); 405 DISALLOW_COPY_AND_ASSIGN(XScopedCursor);
405 }; 406 };
406 407
407 } // namespace ui 408 } // namespace ui
408 409
409 #endif // UI_BASE_X_X11_UTIL_H_ 410 #endif // UI_BASE_X_X11_UTIL_H_
OLDNEW
« no previous file with comments | « ui/aura/window.cc ('k') | ui/compositor/compositor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698