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

Unified Diff: ppapi/proxy/graphics_2d_resource.h

Issue 1881603002: Added SetLayerTransform to PPAPI (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added Graphics2D 1.2 to histograms Created 4 years, 8 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 | « ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c ('k') | ppapi/proxy/graphics_2d_resource.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/graphics_2d_resource.h
diff --git a/ppapi/proxy/graphics_2d_resource.h b/ppapi/proxy/graphics_2d_resource.h
index 7c8fb69b50ba693f808106a4ca46b8091ed7ff22..3fa6b762bc72b63d57febb9e2b1935b5ecc86b7d 100644
--- a/ppapi/proxy/graphics_2d_resource.h
+++ b/ppapi/proxy/graphics_2d_resource.h
@@ -42,6 +42,9 @@ class PPAPI_PROXY_EXPORT Graphics2DResource
void ReplaceContents(PP_Resource image_data) override;
PP_Bool SetScale(float scale) override;
float GetScale() override;
+ PP_Bool SetLayerTransform(float scale,
+ const PP_Point* origin,
+ const PP_Point* translate) override;
int32_t Flush(scoped_refptr<TrackedCallback> callback) override;
bool ReadImageData(PP_Resource image, const PP_Point* top_left) override;
« no previous file with comments | « ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c ('k') | ppapi/proxy/graphics_2d_resource.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698