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.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.h')
-rw-r--r-- | webkit/glue/webwidget.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/webkit/glue/webwidget.h b/webkit/glue/webwidget.h index 11c2803..8ee0b47 100644 --- a/webkit/glue/webwidget.h +++ b/webkit/glue/webwidget.h @@ -5,10 +5,10 @@ #ifndef WEBKIT_GLUE_WEBWIDGET_H__ #define WEBKIT_GLUE_WEBWIDGET_H__ +#include "base/gfx/platform_canvas.h" #include "base/ref_counted.h" namespace gfx { -class PlatformCanvasWin; class Rect; class Size; } @@ -45,7 +45,7 @@ class WebWidget : public base::RefCounted<WebWidget> { // multiple times once Layout has been called, assuming no other changes are // made to the WebWidget (e.g., once events are processed, it should be assumed // that another call to Layout is warranted before painting again). - virtual void Paint(gfx::PlatformCanvasWin* canvas, const gfx::Rect& rect) = 0; + virtual void Paint(gfx::PlatformCanvas* canvas, const gfx::Rect& rect) = 0; // Called to inform the WebWidget of an input event. // Returns true if the event has been processed, false otherwise. |