diff options
author | pinkerton@google.com <pinkerton@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-29 13:53:02 +0000 |
---|---|---|
committer | pinkerton@google.com <pinkerton@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-29 13:53:02 +0000 |
commit | 5429458eae1d8df90434bf6cb05cc2292d187b65 (patch) | |
tree | 4c6ee4ed2c4c5e9ed9d0aabd87b6ffa93bb5a086 /webkit/glue/webwidget_impl.h | |
parent | 6bc9ad9d75fff7583fe8592eb4587792897b41cc (diff) | |
download | chromium_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_impl.h')
-rw-r--r-- | webkit/glue/webwidget_impl.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/webkit/glue/webwidget_impl.h b/webkit/glue/webwidget_impl.h index a19f3ee..5c706a7 100644 --- a/webkit/glue/webwidget_impl.h +++ b/webkit/glue/webwidget_impl.h @@ -6,6 +6,7 @@ #define WEBKIT_GLUE_WEBWIDGET_IMPL_H__ #include "base/basictypes.h" +#include "base/gfx/native_widget_types.h" #include "base/gfx/point.h" #include "base/gfx/size.h" #include "webkit/glue/webwidget.h" @@ -36,7 +37,7 @@ class WebWidgetImpl : public WebWidget, public WebCore::WidgetClientWin { virtual void Resize(const gfx::Size& new_size); virtual gfx::Size GetSize() { return size(); } virtual void Layout(); - virtual void Paint(gfx::PlatformCanvasWin* canvas, const gfx::Rect& rect); + virtual void Paint(gfx::PlatformCanvas* canvas, const gfx::Rect& rect); virtual bool HandleInputEvent(const WebInputEvent* input_event); virtual void MouseCaptureLost(); virtual void SetFocus(bool enable); @@ -71,7 +72,7 @@ class WebWidgetImpl : public WebWidget, public WebCore::WidgetClientWin { ~WebWidgetImpl(); // WebCore::WidgetClientWin - virtual HWND containingWindow(); + virtual gfx::ViewHandle containingWindow(); virtual void invalidateRect(const WebCore::IntRect& damaged_rect); virtual void scrollRect(int dx, int dy, const WebCore::IntRect& clip_rect); virtual void popupOpened(WebCore::Widget* widget, |