diff options
author | brettw@google.com <brettw@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-31 03:49:49 +0000 |
---|---|---|
committer | brettw@google.com <brettw@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-31 03:49:49 +0000 |
commit | 99c72200c2aa50f3d1befea0a7b357c31eb429cf (patch) | |
tree | 88ef1391af913990363734f08ca0194493505a67 /webkit/glue/webframe.h | |
parent | a5e2f667cecad6a1eea2b0ac51498d322b57db3d (diff) | |
download | chromium_src-99c72200c2aa50f3d1befea0a7b357c31eb429cf.zip chromium_src-99c72200c2aa50f3d1befea0a7b357c31eb429cf.tar.gz chromium_src-99c72200c2aa50f3d1befea0a7b357c31eb429cf.tar.bz2 |
Make ImageBuffer creation and handling conform to proper WebKit form rather than using tacked-on functions on GraphicsContext. Clean up the associated GraphicsContext objects.
Merge SkGraphicsContext, SkPaintContext, and PlatformContextSkia into one class, PlatformContextSkia. This tries to change no code related to this, the code in PlatformContextSkia is just a concatenation of those existing files, and hopefully doesn't need much review. This file is in the wrong style and is a terrible mess, I will clean it up in successive passes so it can be reviewed reasonably.
Review URL: http://codereview.chromium.org/8754
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4270 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webframe.h')
-rw-r--r-- | webkit/glue/webframe.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/webkit/glue/webframe.h b/webkit/glue/webframe.h index c8d73af..9484d3d 100644 --- a/webkit/glue/webframe.h +++ b/webkit/glue/webframe.h @@ -10,6 +10,7 @@ #include "base/basictypes.h" #include "base/ref_counted.h" #include "base/gfx/bitmap_platform_device.h" +#include "base/gfx/platform_canvas.h" #include "base/gfx/size.h" #include "webkit/glue/console_message_level.h" #include "webkit/glue/find_in_page_request.h" @@ -24,8 +25,8 @@ class WebTextInput; struct NPObject; namespace gfx { -class Size; class Rect; +class Size; } // TODO(darin): use GURL everywhere a URL string appears @@ -349,8 +350,7 @@ class WebFrame : public base::RefCounted<WebFrame> { virtual void GetPageRect(int page, gfx::Rect* page_size) const = 0; // Prints one page. |page| is 0-based. - virtual bool SpoolPage(int page, - PlatformContextSkia* context) = 0; + virtual bool SpoolPage(int page, gfx::PlatformCanvas* canvas) = 0; // Does this frame have an onunload or unbeforeunload event listener? virtual bool HasUnloadListener() = 0; |