diff options
author | evanm@google.com <evanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-13 18:39:46 +0000 |
---|---|---|
committer | evanm@google.com <evanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-13 18:39:46 +0000 |
commit | 7560500adc415736cf47cef3c151f605d0750c14 (patch) | |
tree | 76d2078625749c1b6c445936971883b7fecdfd98 /base | |
parent | b03b09278bdea7a21868403de2ab027ef8e5b19b (diff) | |
download | chromium_src-7560500adc415736cf47cef3c151f605d0750c14.zip chromium_src-7560500adc415736cf47cef3c151f605d0750c14.tar.gz chromium_src-7560500adc415736cf47cef3c151f605d0750c14.tar.bz2 |
Basic GTK test shell: links in the SConscript and brings up a window with nonfunctioning UI.
Review URL: http://codereview.chromium.org/2983
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3299 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base')
-rw-r--r-- | base/gfx/native_widget_types.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/base/gfx/native_widget_types.h b/base/gfx/native_widget_types.h index f9623db..b711b27 100644 --- a/base/gfx/native_widget_types.h +++ b/base/gfx/native_widget_types.h @@ -19,7 +19,9 @@ class NSView; class NSWindow; class NSTextField; #endif // __OBJC__ -#endif // MACOSX +#elif defined(OS_LINUX) +typedef struct _GtkWidget GtkWidget; +#endif namespace gfx { @@ -31,6 +33,10 @@ typedef HWND EditViewHandle; typedef NSView *ViewHandle; typedef NSWindow *WindowHandle; typedef NSTextField *EditViewHandle; +#elif defined(OS_LINUX) +typedef GtkWidget* ViewHandle; +typedef GtkWidget* WindowHandle; +typedef GtkWidget* EditViewHandle; #else // null port. typedef void* ViewHandle; typedef void* WindowHandle; |