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

Side by Side Diff: ui/gfx/native_widget_types.h

Issue 8566027: Cleanup: Remove forward declarations in ui, part 2. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 1 month 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/gfx/linux_util.h ('k') | ui/wayland/wayland_input_device.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 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_GFX_NATIVE_WIDGET_TYPES_H_ 5 #ifndef UI_GFX_NATIVE_WIDGET_TYPES_H_
6 #define UI_GFX_NATIVE_WIDGET_TYPES_H_ 6 #define UI_GFX_NATIVE_WIDGET_TYPES_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "ui/base/ui_export.h" 10 #include "ui/base/ui_export.h"
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 typedef struct _PangoFontDescription PangoFontDescription; 69 typedef struct _PangoFontDescription PangoFontDescription;
70 typedef struct _cairo cairo_t; 70 typedef struct _cairo cairo_t;
71 #endif 71 #endif
72 72
73 #if defined(USE_WAYLAND) 73 #if defined(USE_WAYLAND)
74 typedef struct _GdkPixbuf GdkPixbuf; 74 typedef struct _GdkPixbuf GdkPixbuf;
75 struct wl_egl_window; 75 struct wl_egl_window;
76 76
77 namespace ui { 77 namespace ui {
78 class WaylandWindow; 78 class WaylandWindow;
79 class WaylandCursor;
80 } 79 }
81 80
82 typedef struct _GdkRegion GdkRegion; 81 typedef struct _GdkRegion GdkRegion;
83 #elif defined(TOOLKIT_USES_GTK) 82 #elif defined(TOOLKIT_USES_GTK)
84 typedef struct _GdkCursor GdkCursor; 83 typedef struct _GdkCursor GdkCursor;
85 typedef union _GdkEvent GdkEvent; 84 typedef union _GdkEvent GdkEvent;
86 typedef struct _GdkPixbuf GdkPixbuf; 85 typedef struct _GdkPixbuf GdkPixbuf;
87 typedef struct _GdkRegion GdkRegion; 86 typedef struct _GdkRegion GdkRegion;
88 typedef struct _GtkWidget GtkWidget; 87 typedef struct _GtkWidget GtkWidget;
89 typedef struct _GtkWindow GtkWindow; 88 typedef struct _GtkWindow GtkWindow;
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 typedef unsigned long AcceleratedWidget; 252 typedef unsigned long AcceleratedWidget;
254 const AcceleratedWidget kNullAcceleratedWidget = 0; 253 const AcceleratedWidget kNullAcceleratedWidget = 0;
255 #else 254 #else
256 typedef void* AcceleratedWidget; 255 typedef void* AcceleratedWidget;
257 const AcceleratedWidget kNullAcceleratedWidget = NULL; 256 const AcceleratedWidget kNullAcceleratedWidget = NULL;
258 #endif 257 #endif
259 258
260 } // namespace gfx 259 } // namespace gfx
261 260
262 #endif // UI_GFX_NATIVE_WIDGET_TYPES_H_ 261 #endif // UI_GFX_NATIVE_WIDGET_TYPES_H_
OLDNEW
« no previous file with comments | « ui/gfx/linux_util.h ('k') | ui/wayland/wayland_input_device.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698