Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(126)

Unified Diff: webkit/glue/plugins/pepper_device_context_2d.h

Issue 2925007: Update Chrome to pull latest PPAPI with new uses of point and size.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/client/plugin/pepper_entrypoints.cc ('k') | webkit/glue/plugins/pepper_device_context_2d.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/plugins/pepper_device_context_2d.h
===================================================================
--- webkit/glue/plugins/pepper_device_context_2d.h (revision 51996)
+++ webkit/glue/plugins/pepper_device_context_2d.h (working copy)
@@ -40,15 +40,15 @@
virtual DeviceContext2D* AsDeviceContext2D() { return this; }
// PPB_DeviceContext2D functions.
- bool Describe(int32_t* width, int32_t* height, bool* is_always_opaque);
+ bool Describe(PP_Size* size, bool* is_always_opaque);
bool PaintImageData(PP_Resource image,
- int32_t x, int32_t y,
+ const PP_Point* top_left,
const PP_Rect* src_rect);
- bool Scroll(const PP_Rect* clip_rect, int32_t dx, int32_t dy);
+ bool Scroll(const PP_Rect* clip_rect, const PP_Point* amount);
bool ReplaceContents(PP_Resource image);
int32_t Flush(const PP_CompletionCallback& callback);
- bool ReadImageData(PP_Resource image, int32_t x, int32_t y);
+ bool ReadImageData(PP_Resource image, const PP_Point* top_left);
// Assciates this device with the given plugin instance. You can pass NULL to
// clear the existing device. Returns true on success. In this case, a
« no previous file with comments | « remoting/client/plugin/pepper_entrypoints.cc ('k') | webkit/glue/plugins/pepper_device_context_2d.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698