diff options
author | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-04 21:08:49 +0000 |
---|---|---|
committer | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-04 21:08:49 +0000 |
commit | 12cfaa392ab53fc30ad41e884ba5cd3cf7251b55 (patch) | |
tree | 870c660d91c97d2bf6b1241c96b91df17b88045e /base | |
parent | d5c1af6b0da21c11e9327375d18fcd528023c7ad (diff) | |
download | chromium_src-12cfaa392ab53fc30ad41e884ba5cd3cf7251b55.zip chromium_src-12cfaa392ab53fc30ad41e884ba5cd3cf7251b55.tar.gz chromium_src-12cfaa392ab53fc30ad41e884ba5cd3cf7251b55.tar.bz2 |
Use gfx::NativeView instead of gfx::NativeWindow where appropriate. Switch to platform-specific types in the implementation files and change variable names to match the header. Based on cl 8783 by Evan Martin.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9171 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base')
-rw-r--r-- | base/gfx/native_widget_types.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/base/gfx/native_widget_types.h b/base/gfx/native_widget_types.h index 95e2292..3d4c046 100644 --- a/base/gfx/native_widget_types.h +++ b/base/gfx/native_widget_types.h @@ -47,6 +47,7 @@ class NSTextField; #endif // __OBJC__ #elif defined(OS_LINUX) typedef struct _GtkWidget GtkWidget; +typedef struct _GtkWindow GtkWindow; #endif namespace gfx { @@ -61,7 +62,7 @@ typedef NSWindow* NativeWindow; typedef NSTextField* NativeEditView; #elif defined(OS_LINUX) typedef GtkWidget* NativeView; -typedef GtkWidget* NativeWindow; +typedef GtkWindow* NativeWindow; typedef GtkWidget* NativeEditView; #else // null port. #error No known OS defined |