summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webwidget_delegate.h
diff options
context:
space:
mode:
authorpinkerton@google.com <pinkerton@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-29 13:53:02 +0000
committerpinkerton@google.com <pinkerton@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-29 13:53:02 +0000
commit5429458eae1d8df90434bf6cb05cc2292d187b65 (patch)
tree4c6ee4ed2c4c5e9ed9d0aabd87b6ffa93bb5a086 /webkit/glue/webwidget_delegate.h
parent6bc9ad9d75fff7583fe8592eb4587792897b41cc (diff)
downloadchromium_src-5429458eae1d8df90434bf6cb05cc2292d187b65.zip
chromium_src-5429458eae1d8df90434bf6cb05cc2292d187b65.tar.gz
chromium_src-5429458eae1d8df90434bf6cb05cc2292d187b65.tar.bz2
platform ifdefs for webview. Add platform_viewdefs to wrap things like HWNDs to keep APIs more crossplatform. Fix uses of PlatformCanvasWin to just use PlatformCanvas.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1528 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webwidget_delegate.h')
-rw-r--r--webkit/glue/webwidget_delegate.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/webkit/glue/webwidget_delegate.h b/webkit/glue/webwidget_delegate.h
index ecc21c5..faf4d0a 100644
--- a/webkit/glue/webwidget_delegate.h
+++ b/webkit/glue/webwidget_delegate.h
@@ -5,10 +5,9 @@
#ifndef WEBKIT_GLUE_WEBWIDGET_DELEGATE_H__
#define WEBKIT_GLUE_WEBWIDGET_DELEGATE_H__
+#include "base/gfx/native_widget_types.h"
#include "webkit/glue/window_open_disposition.h"
-typedef struct HWND__* HWND;
-
namespace gfx {
class Point;
class Rect;
@@ -20,8 +19,8 @@ struct WebPluginGeometry;
class WebWidgetDelegate {
public:
- // Returns the HWND in which the WebWidget is embedded.
- virtual HWND GetContainingWindow(WebWidget* webwidget) = 0;
+ // Returns the view in which the WebWidget is embedded.
+ virtual gfx::ViewHandle GetContainingWindow(WebWidget* webwidget) = 0;
// Called when a region of the WebWidget needs to be re-painted.
virtual void DidInvalidateRect(WebWidget* webwidget, const gfx::Rect& rect) = 0;