summaryrefslogtreecommitdiffstats
path: root/webkit/glue/plugins/pepper_graphics_2d.h
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-03 16:42:14 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-03 16:42:14 +0000
commita7f6c510125a01eebebcb2aa74b2c5139b4645a7 (patch)
treef81b417be59dab0de26add712d176047bf404f04 /webkit/glue/plugins/pepper_graphics_2d.h
parentab57a59d94280b432f728787fc2563227797d101 (diff)
downloadchromium_src-a7f6c510125a01eebebcb2aa74b2c5139b4645a7.zip
chromium_src-a7f6c510125a01eebebcb2aa74b2c5139b4645a7.tar.gz
chromium_src-a7f6c510125a01eebebcb2aa74b2c5139b4645a7.tar.bz2
Pull new PPAPI and update Browser interfaces to reflect new API.
Review URL: http://codereview.chromium.org/3602010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61330 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/plugins/pepper_graphics_2d.h')
-rw-r--r--webkit/glue/plugins/pepper_graphics_2d.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/webkit/glue/plugins/pepper_graphics_2d.h b/webkit/glue/plugins/pepper_graphics_2d.h
index 3af84ded..ff4cd16 100644
--- a/webkit/glue/plugins/pepper_graphics_2d.h
+++ b/webkit/glue/plugins/pepper_graphics_2d.h
@@ -43,11 +43,11 @@ class Graphics2D : public Resource {
// PPB_Graphics2D functions.
bool Describe(PP_Size* size, bool* is_always_opaque);
- bool PaintImageData(PP_Resource image,
+ void PaintImageData(PP_Resource image_data,
const PP_Point* top_left,
const PP_Rect* src_rect);
- bool Scroll(const PP_Rect* clip_rect, const PP_Point* amount);
- bool ReplaceContents(PP_Resource image);
+ void Scroll(const PP_Rect* clip_rect, const PP_Point* amount);
+ void ReplaceContents(PP_Resource image_data);
int32_t Flush(const PP_CompletionCallback& callback);
bool ReadImageData(PP_Resource image, const PP_Point* top_left);