summaryrefslogtreecommitdiffstats
path: root/webkit/port
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/port
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/port')
-rw-r--r--webkit/port/platform/WidgetClientWin.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/webkit/port/platform/WidgetClientWin.h b/webkit/port/platform/WidgetClientWin.h
index d59c529..50b9445 100644
--- a/webkit/port/platform/WidgetClientWin.h
+++ b/webkit/port/platform/WidgetClientWin.h
@@ -5,6 +5,7 @@
#ifndef WidgetClientWin_H__
#define WidgetClientWin_H__
+#include "base/gfx/native_widget_types.h"
#include "WidgetClient.h"
class SkBitmap;
@@ -19,7 +20,9 @@ class Range;
class WidgetClientWin : public WidgetClient {
public:
// Returns the containing window for the Widget.
- virtual HWND containingWindow() = 0;
+ // TODO(pinkerton): this needs a better name, "window" is incorrect on other
+ // platforms.
+ virtual gfx::ViewHandle containingWindow() = 0;
// Invalidate a region of the widget's containing window.
virtual void invalidateRect(const IntRect& damagedRect) = 0;