From 098ccbd71a12768efe6c7698ffb93896ed3780d2 Mon Sep 17 00:00:00 2001 From: "eseidel@chromium.org" Date: Sat, 20 Dec 2008 20:59:09 +0000 Subject: 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 --- webkit/port/platform/chromium/PlatformWidget.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'webkit/port/platform') 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 -- cgit v1.1