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

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

Issue 11967033: [CLOSED] In-browser software compositing (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix the lack SkCanvas::clear scissoring. Created 7 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 | Annotate | Revision Log
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 363 matching lines...) Expand 10 before | Expand all | Expand 10 after
404 private: 405 private:
405 ::Cursor cursor_; 406 ::Cursor cursor_;
406 Display* display_; 407 Display* display_;
407 408
408 DISALLOW_COPY_AND_ASSIGN(XScopedCursor); 409 DISALLOW_COPY_AND_ASSIGN(XScopedCursor);
409 }; 410 };
410 411
411 } // namespace ui 412 } // namespace ui
412 413
413 #endif // UI_BASE_X_X11_UTIL_H_ 414 #endif // UI_BASE_X_X11_UTIL_H_
OLDNEW
« no previous file with comments | « content/renderer/gpu/compositor_software_output_device_gl_adapter.cc ('k') | ui/compositor/compositor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698