diff options
author | eseidel@chromium.org <eseidel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-20 20:59:09 +0000 |
---|---|---|
committer | eseidel@chromium.org <eseidel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-12-20 20:59:09 +0000 |
commit | 098ccbd71a12768efe6c7698ffb93896ed3780d2 (patch) | |
tree | c14b6188c006847c01b1c12b2bac99c984505ce8 /webkit/port/platform | |
parent | 0cb165a2ba40eb2c5b338ff183ce8ad1139eca18 (diff) | |
download | chromium_src-098ccbd71a12768efe6c7698ffb93896ed3780d2.zip chromium_src-098ccbd71a12768efe6c7698ffb93896ed3780d2.tar.gz chromium_src-098ccbd71a12768efe6c7698ffb93896ed3780d2.tar.bz2 |
Get rid of another base/ include by inlining the NSView/HWND/GtkWidget typdefs.
Review URL: http://codereview.chromium.org/13770
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7348 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/port/platform')
-rw-r--r-- | webkit/port/platform/chromium/PlatformWidget.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/webkit/port/platform/chromium/PlatformWidget.h b/webkit/port/platform/chromium/PlatformWidget.h index 5012eae..661999f 100644 --- a/webkit/port/platform/chromium/PlatformWidget.h +++ b/webkit/port/platform/chromium/PlatformWidget.h @@ -4,7 +4,6 @@ // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions are // met: -// // * Redistributions of source code must retain the above copyright // notice, this list of conditions and the following disclaimer. // * Redistributions in binary form must reproduce the above @@ -30,8 +29,10 @@ #ifndef PlatformWidget_h #define PlatformWidget_h -#include "base/gfx/native_widget_types.h" +// PlatformWidget is an opaque identifier corresponding to whatever native +// view type the embedder may use. PlatformWidget CANNOT be assumed to be +// a valid pointer. Some embedders may not use this identifier at all. -typedef gfx::NativeView PlatformWidget; +typedef void* PlatformWidget; #endif |