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

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

Issue 100145: WIP: X clipboard stuff (Closed)
Patch Set: Created 11 years, 7 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 | « no previous file | chrome/browser/browser_process_impl.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) 2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2008 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 BASE_GFX_NATIVE_WIDGET_TYPES_H_ 5 #ifndef BASE_GFX_NATIVE_WIDGET_TYPES_H_
6 #define BASE_GFX_NATIVE_WIDGET_TYPES_H_ 6 #define BASE_GFX_NATIVE_WIDGET_TYPES_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 10
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 @class NSTextField; 43 @class NSTextField;
44 #else 44 #else
45 class NSView; 45 class NSView;
46 class NSWindow; 46 class NSWindow;
47 class NSTextField; 47 class NSTextField;
48 #endif // __OBJC__ 48 #endif // __OBJC__
49 #elif defined(OS_LINUX) 49 #elif defined(OS_LINUX)
50 typedef struct _GtkWidget GtkWidget; 50 typedef struct _GtkWidget GtkWidget;
51 typedef struct _GtkWindow GtkWindow; 51 typedef struct _GtkWindow GtkWindow;
52 typedef struct _cairo_surface cairo_surface_t; 52 typedef struct _cairo_surface cairo_surface_t;
53 typedef unsigned long XID;
53 #endif 54 #endif
54 55
55 namespace gfx { 56 namespace gfx {
56 57
57 #if defined(OS_WIN) 58 #if defined(OS_WIN)
58 typedef HWND NativeView; 59 typedef HWND NativeView;
59 typedef HWND NativeWindow; 60 typedef HWND NativeWindow;
60 typedef HWND NativeEditView; 61 typedef HWND NativeEditView;
61 typedef HDC NativeDrawingContext; 62 typedef HDC NativeDrawingContext;
62 #elif defined(OS_MACOSX) 63 #elif defined(OS_MACOSX)
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 return reinterpret_cast<NativeViewId>(view); 104 return reinterpret_cast<NativeViewId>(view);
104 } 105 }
105 #elif defined(OS_LINUX) 106 #elif defined(OS_LINUX)
106 // Not inlined because it involves pulling too many headers. 107 // Not inlined because it involves pulling too many headers.
107 NativeViewId IdFromNativeView(NativeView view); 108 NativeViewId IdFromNativeView(NativeView view);
108 #endif // defined(OS_LINUX) 109 #endif // defined(OS_LINUX)
109 110
110 } // namespace gfx 111 } // namespace gfx
111 112
112 #endif // BASE_GFX_NATIVE_WIDGET_TYPES_H_ 113 #endif // BASE_GFX_NATIVE_WIDGET_TYPES_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/browser_process_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698