Chromium Code Reviews

Unified Diff: ppapi/api/ppb_graphics_2d.idl

Issue 1881603002: Added SetLayerTransform to PPAPI (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Cleaned up the code Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: ppapi/api/ppb_graphics_2d.idl
diff --git a/ppapi/api/ppb_graphics_2d.idl b/ppapi/api/ppb_graphics_2d.idl
index 56450f0c29d51ece6b0fb920c95aa067bb2febd5..c2607cc55eb094bfea851e79ebe54d1e7b02ae1c 100644
--- a/ppapi/api/ppb_graphics_2d.idl
+++ b/ppapi/api/ppb_graphics_2d.idl
@@ -281,6 +281,11 @@ interface PPB_Graphics2D {
[version=1.1]
float_t GetScale(
[in] PP_Resource resource);
-
+ [version=1.1]
+ PP_Bool SetLayerTransform(
+ [in] PP_Resource resource,
+ [in] float_t scale,
+ [in] PP_Point origin,
+ [in] PP_Point translate);
};

Powered by Google App Engine